Project Suggestions: Regression of Ames Housing Data and Kaggle Challenge

Data science is not a linear process. In this project, in particular, you will likely find that EDA, data cleaning, and exploratory visualizations will constantly feed back into each other. Here’s an example:

  1. During basic EDA, you identify many missing values in a column/feature.
  2. You consult the data dictionary and use domain knowledge to decide what is meant by this missing feature.
  3. You impute a reasonable value for the missing value.
  4. You plot the distribution of your feature.
  5. You realize what you imputed has negatively impacted your data quality.
  6. You cycle back, re-load your clean data, re-think your approach, and find a better solution.

Then you move on to your next feature. There are dozens of features in this dataset.

Figuring out programmatically concise and repeatable ways to clean and explore your data will save you a lot of time.

The outline below does not necessarily cover every single thing that you will want to do in your project. You may choose to do some things in a slightly different order. Many students choose to work in a single notebook for this project. Others choose to separate sections out into separate notebooks. Check with your local instructor for their preference and further suggestions.

EDA

Data Cleaning

Exploratory Visualizations

Pre-processing

Modeling

Inferential Visualizations

Business Recommendations

Example Directory Structure

Here’s how you might structure a project with multiple notebooks.

project-name
|__ code
|   |__ 01_EDA_and_Cleaning.ipynb   
|   |__ 02_Preprocessing_and_Feature_Engineering.ipynb   
|   |__ 03_Model_Benchmarks.ipynb
|   |__ 04_Model_Tuning.ipynb  
|   |__ 05_Production_Model_and_Insights.ipynb
|   |__ 06_Kaggle_Submissions.ipynb   
|__ data
|   |__ train.csv
|   |__ test.csv
|   |__ submission_lasso.csv
|   |__ submission_ridge.csv
|__ images
|   |__ coefficients.png
|   |__ neighborhoods.png
|   |__ predictions.png
|__ presentation.pdf
|__ README.md