Update README.md
Browse files
README.md
CHANGED
|
@@ -1,93 +1,38 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
datasets:
|
| 4 |
-
- house-prices-advanced-regression-techniques
|
| 5 |
tags:
|
| 6 |
- regression
|
| 7 |
-
- linear-regression
|
| 8 |
-
- scikit-learn
|
| 9 |
-
- tabular-data
|
| 10 |
- house-price-prediction
|
| 11 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
metrics:
|
| 13 |
- r2
|
| 14 |
- rmse
|
| 15 |
-
license: mit
|
| 16 |
model-index:
|
| 17 |
-
- name: House Price
|
| 18 |
results:
|
| 19 |
- task:
|
| 20 |
-
type: regression
|
| 21 |
-
name:
|
| 22 |
dataset:
|
| 23 |
-
name: House
|
| 24 |
-
type:
|
| 25 |
metrics:
|
| 26 |
-
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
# 🏡 House Price Prediction Model (India)
|
| 33 |
-
|
| 34 |
-
A regression model trained on Kaggle's House Prices dataset to predict sale prices of residential homes in India based on features like square footage, location, and number of bedrooms.
|
| 35 |
-
|
| 36 |
---
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|----------------|----------------------|
|
| 42 |
-
| **Model type** | Linear Regression |
|
| 43 |
-
| **Framework** | Scikit-learn |
|
| 44 |
-
| **Language** | Python |
|
| 45 |
-
| **Task** | Regression |
|
| 46 |
-
| **License** | MIT or Apache-2.0 |
|
| 47 |
|
| 48 |
---
|
| 49 |
|
| 50 |
-
## 📊 Intended Use
|
| 51 |
-
|
| 52 |
-
This model is built for **educational and experimental use**. It demonstrates the use of basic machine learning techniques like:
|
| 53 |
-
|
| 54 |
-
- Linear Regression
|
| 55 |
-
- Feature Engineering
|
| 56 |
-
- Data Cleaning
|
| 57 |
-
- Model Evaluation (RMSE, R²)
|
| 58 |
-
|
| 59 |
-
---
|
| 60 |
-
|
| 61 |
-
## 📂 Dataset
|
| 62 |
-
|
| 63 |
-
- **Source**: [Kaggle House Prices – Advanced Regression Techniques](https://www.kaggle.com/competitions/house-prices-advanced-regression-techniques)
|
| 64 |
-
- **Features Used** (example subset):
|
| 65 |
-
- `GrLivArea` – Above ground living area
|
| 66 |
-
- `OverallQual` – Overall material and finish quality
|
| 67 |
-
- `YearBuilt` – Original construction year
|
| 68 |
-
- `GarageCars` – Number of cars in garage
|
| 69 |
-
- `TotalBsmtSF` – Total basement area
|
| 70 |
-
|
| 71 |
-
---
|
| 72 |
-
|
| 73 |
-
## ⚙️ How to Use
|
| 74 |
-
|
| 75 |
-
```python
|
| 76 |
-
import joblib
|
| 77 |
-
import pandas as pd
|
| 78 |
-
|
| 79 |
-
# Load trained model
|
| 80 |
-
model = joblib.load("house_price_model.pkl")
|
| 81 |
-
|
| 82 |
-
# Create input features
|
| 83 |
-
input_data = pd.DataFrame({
|
| 84 |
-
"GrLivArea": [1500],
|
| 85 |
-
"OverallQual": [7],
|
| 86 |
-
"YearBuilt": [2005],
|
| 87 |
-
"GarageCars": [2],
|
| 88 |
-
"TotalBsmtSF": [800]
|
| 89 |
-
})
|
| 90 |
-
|
| 91 |
-
# Make prediction
|
| 92 |
-
predicted_price = model.predict(input_data)
|
| 93 |
-
print(predicted_price)
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- regression
|
|
|
|
|
|
|
|
|
|
| 5 |
- house-price-prediction
|
| 6 |
+
- tabular
|
| 7 |
+
- sklearn
|
| 8 |
+
- hyderabad
|
| 9 |
+
- real-estate
|
| 10 |
+
datasets:
|
| 11 |
+
- your-username/your-dataset-name
|
| 12 |
metrics:
|
| 13 |
- r2
|
| 14 |
- rmse
|
|
|
|
| 15 |
model-index:
|
| 16 |
+
- name: Hyderabad House Price Predictor
|
| 17 |
results:
|
| 18 |
- task:
|
| 19 |
+
type: tabular-regression
|
| 20 |
+
name: House Price Prediction
|
| 21 |
dataset:
|
| 22 |
+
name: Hyderabad House Price Dataset
|
| 23 |
+
type: your-username/your-dataset-name
|
| 24 |
metrics:
|
| 25 |
+
- name: R² Score
|
| 26 |
+
type: r2
|
| 27 |
+
value: 0.85 # Replace with your actual result
|
| 28 |
+
- name: Root Mean Squared Error (RMSE)
|
| 29 |
+
type: rmse
|
| 30 |
+
value: 3.42 # Replace with your actual result
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
---
|
| 32 |
|
| 33 |
+
# 🏠 Hyderabad House Price Prediction Model
|
| 34 |
|
| 35 |
+
This model predicts housing prices in **Hyderabad, India** based on features such as area, location, number of bedrooms. It was trained on a custom dataset containing over 3,600 features extracted and engineered from a real estate dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
---
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|