Project by Géraldine Bengsch (Third Upgrad Assignment)
This project uses Regularisation to build a polynomial regression model for the prediction of the actual value of the prospective properties and decide whether to invest in them or not.
- Which variables are significant in predicting the price of a house
- How well the variables describe the price of a house
The project contains:
- Data Analysis notebook
- A folder containing images used (Visualisations are my own, picture is from Unsplash)
- The data set
train.csv
- The data dictionary
datainfo.txt
- Answers to the Subjective Questions in pdf format
SubjectiveQuestions.pdf
-
General information: A US bike-sharing provider BoomBikes has recently suffered considerable dips in their revenues due to the ongoing Corona pandemic. The company is finding it very difficult to sustain in the current market scenario
-
Background: A US-based housing company named Surprise Housing has decided to enter the Australian market. The company uses data analytics to purchase houses at a price below their actual values and flip them on at a higher price. For the same purpose, the company has collected a data set from the sale of houses in Australia.
-
Business problem: Aim is to model the price of houses with the available independent variables. This model will then be used by the management to understand how exactly the prices vary with the variables. They can accordingly manipulate the strategy of the firm and concentrate on areas that will yield high returns. Further, the model will be a good way for management to understand the pricing dynamics of a new market.
- perform EDA to understand various variables
- check correlation between the variables
- clean the data structure
- drop unneccessary variables
- create dummy variables for all categorical features
- divide the data to train and test
- perform scaling
- divide data into dependent and independent variables
- create linear regression model with no Regularisation
- create models using Ridge and Lasso Regularisation
- create additional models model using mixed approach (RFE & VIF/p-Value) and apply Ridge Regularisation
- report the final model
Please see the notebook for more detailed insights.
GrLivArea
is by far the most important predictor- The top variables are intuitive.
- Lasso is the chosen model for the final model, because it creates a simple model with the top features.
Created by @GeriNZ - feel free to contact me!
Student at UpGrad: Master of Science in ML and AI
© 2022