Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# π‘ House Price Predictor (Kaggle + Hugging Face)
|
| 2 |
+
|
| 3 |
+
This project is a complete machine learning pipeline for predicting house prices in Ames, Iowa, using structured data and transformer-based text embeddings. It was developed as part of the [Kaggle House Prices - Advanced Regression Techniques](https://www.kaggle.com/c/house-prices-advanced-regression-techniques) competition.
|
| 4 |
+
|
| 5 |
+
The model is published on the Hugging Face Hub:
|
| 6 |
+
π https://huggingface.co/DanteChapterMaster/house-price-predictor
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
## π¦ Project Highlights
|
| 11 |
+
|
| 12 |
+
- β
Exploratory Data Analysis (EDA)
|
| 13 |
+
- β
Feature Engineering from domain knowledge
|
| 14 |
+
- β
Model training: Ridge, Lasso, Random Forest, XGBoost, and Stacking
|
| 15 |
+
- β
NLP augmentation: BERT embeddings from generated property descriptions
|
| 16 |
+
- β
Full model pipeline with preprocessing (ColumnTransformer)
|
| 17 |
+
- β
Deployment-ready model saved with `joblib`
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## π Features
|
| 22 |
+
|
| 23 |
+
**Numerical Features:**
|
| 24 |
+
- `GrLivArea`, `TotalBsmtSF`, `GarageCars`, etc.
|
| 25 |
+
|
| 26 |
+
**Categorical Features:**
|
| 27 |
+
- `Neighborhood`, `HouseStyle`, etc. (one-hot encoded)
|
| 28 |
+
|
| 29 |
+
**Generated Features:**
|
| 30 |
+
- Log-transformed target
|
| 31 |
+
- Interaction terms
|
| 32 |
+
- Transformer-based embeddings from property descriptions
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## π€ Model Card
|
| 37 |
+
|
| 38 |
+
- **Type:** Regressor
|
| 39 |
+
- **Algorithm:** XGBoost in Scikit-learn `Pipeline`
|
| 40 |
+
- **Target:** `SalePrice` (log-transformed)
|
| 41 |
+
- **Evaluation:** Root Mean Squared Error (RMSE)
|