Skip to content

janaadarwish/House-Price-Prediction-Kaggle-Submission-ML-Competitions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🏑 House Price Prediction – Kaggle Submission Exercise-Machine-Learning-Competitions

This project uses machine learning to predict house sale prices using the Iowa Home Prices Dataset. It was created as part of the Kaggle Intro to Machine Learning course.

πŸ“‚ Project Structure

train.csv – Training data used to build the model

test.csv – Test data used to generate predictions

notebook.ipynb – Jupyter notebook containing all steps (data prep, modeling, evaluation)

submission.csv – Final predictions ready for Kaggle submission

🧠 Approach

Load & Explore Data – Selected key features like:

LotArea, YearBuilt, 1stFlrSF, 2ndFlrSF, FullBath, BedroomAbvGr, TotRmsAbvGrd

Split Dataset – Used train_test_split to create training/validation sets.

Train Model – Started with a DecisionTreeRegressor, then improved accuracy using RandomForestRegressor.

Evaluate Model – Used Mean Absolute Error (MAE) to compare models.

Train on Full Data – Trained the best model (RandomForestRegressor) on all available data.

Make Predictions – Predicted on the test.csv dataset and saved results as submission.csv.

πŸ“Š Results Model Validation MAE Decision Tree (Default) ~28,000 Decision Tree (Tuned) ~24,000 Random Forest ~18,000 βœ… πŸš€ How to Reproduce

Clone this repo or open the notebook in Kaggle.

Run all cells in order to generate submission.csv.

Go to Data tab β†’ submission.csv β†’ Submit to send results to the competition leaderboard.

πŸ† Competition Link

πŸ”— Kaggle Competition – Home Data for ML Course

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published