Kaggle Ames House Pricing Competition

Posted on Jan 8, 2023

Kaggle’s Ames House Pricing Competition is a data science competition that encourages participants to develop predictive models to accurately predict the sale price of houses in Ames, Iowa. The competition provides participants with a dataset of 79 features and 1460 housing prices from 2006 to 2010. The dataset includes information on the size of the house, its location, the number of bedrooms and bathrooms, the age of the house, and various other features.

Before model application, data cleansing was performed to improve the usability of different modeling techniques. Investigation was done on multiple numerical and categorical values to assess its correlation to sales price. Some of the most linear and applicable numerical variables were overall quality, greater living area, 1st floor square footage, and age of property. Some categorical standouts were neighborhood, building types, and garage types.

After constructing a revised dataset include positive linear numerical features and categorical standouts, it was time to test and train our data. Some of the modeling techniques used were linear regression, decision trees, random forest, gradient boosting, and support vector machine regression.

Results were concluded by estimating prediction accuracy and cross validation score. Cross-validation is a model validation technique for assessing how the results of a statistical analysis will generalize to an independent data set. It is mainly used in settings where the goal is prediction, and one wants to estimate how accurately a predictive model will perform in practice. In a cross-validation procedure, a data set is partitioned into complementary subsets, and the model is trained using one subset and tested on the other.Β 

Gradient boosting led to the best cross validation scores and highest accuracy. Β Achieving 85% accuracy in predicting home prices Β and a .9 in cross validation scores (1 being the highest rating). Why did gradient boosting work so well? Gradient boosting works by combining multiple weak models to minimize differences between datapoints and its plotted regression line to output its predictions. In a dataset with somemissing values, feature outliers, and categorical values to take into consideration, gradient boosting performs great given these occurrences.

Some room for improvement in this project could be more versatile feature engineering. More outliers could've been removed, different features lists could've been included in model preparation, and feature engineering techniques such as combinations of square footage, living areas, and etc could've been created. It's also possible to include different regression techniques like hierarchal regression which mixed models could've performed with nested data at different levels.

 

About Author

Erjon

Hey everyone, my name is Erjon Brucaj and I originally studied chemical engineer. I worked as an engineer for a few years before decided it wasn't the career path for me. I've always enjoyed developing solutions to problems...
View all posts by Erjon >

Leave a Comment

No comments found.

View Posts by Categories


Our Recent Popular Posts


View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI