Downloads · 30 days
0
netzer97/kc-house-price-regression
kc-house-price-regression is a machine learning model from netzer97. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Video (4–6 minutes): https://drive.google.com/file/d/1oWxT0g7jjDvenXWFa0v7emERjK2phe/view?usp=sharing
Downloads · 30 days
0
Access
Public
Updated Dec 20, 2025
Repo size
63.1 MB
Likes
0
Public
Click a slice to open those files.
.pkl62.8 MB · 92%
From the Hugging Face model README
Video (4–6 minutes): https://drive.google.com/file/d/1oWxT0g7jjDvenX_WFa0v7emERj_K2phe/view?usp=sharing
This project predicts residential house prices in King County, Washington using supervised machine learning. Two related tasks were addressed:
The workflow emphasizes exploratory analysis, feature engineering, model comparison, and evaluation, while carefully avoiding data leakage throughout the pipeline.
The dataset contains information about residential properties sold in King County.
log(price) for improved stability)EDA was used to understand distributions and major drivers of price.
Key findings:
Price distribution:

Several engineered features were created to improve model performance:
yr_built)The following regression models were trained and compared:
Selected model (Winner): Ridge Regression — chosen for strong predictive performance and stability from regularization.
Predicted vs. Actual (Ridge):

Saved artifact:
winning_regression_model.pklThe regression target was converted into a binary classification problem using a median split (train-only median).
The following models were trained and compared:
Evaluation used:
Selected model (Winner): Random Forest Classifier — best overall performance with fewer critical errors.
Confusion Matrix (selected model):

Saved artifact:
winning_classification_model.pklwinning_regression_model.pkl – final regression modelwinning_classification_model.pkl – final classification model.ipynb)README.md