End-to-End Neural Network Solution for Ames Housing Price Predictions
- Robust Data Preprocessing: Automated missing value handling & feature engineering
- Deep Neural Architecture: 4-layer ANN with dropout regularization
- Optimized Training: Early stopping & learning rate scheduling
- Comprehensive Evaluation: MAE = $15,616.84 | R² = 0.92
- Production-Ready: Full pipeline from raw data to predictions
- Installation
- Model Architecture
- Performance Metrics
- Key Visualizations
- Contributing
- License
- Contact Information
git clone https://github.com/barisgudul/ANN-RealEstate-Regression.git
cd ANN-RealEstate-Regression
Model: "Sequential"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
dense (Dense) (None, 128) 28928
dropout (Dropout) (None, 128) 0
dense_1 (Dense) (None, 64) 8256
dense_2 (Dense) (None, 32) 2080
dense_3 (Dense) (None, 1) 33
=================================================================
Total params: 39,297
Trainable params: 39,297
Non-trainable params: 0
Metric | Training | Validation | Test Set |
---|---|---|---|
MAE (USD) | 12,916 | 18,000 | 15,617 |
R² Score | 0.91 | 0.88 | 0.92 |
Training Time/epoch | 7ms | - | - |
Key Insights:
- 🏆 Best Performance: 15,617 MAE on Test Set (≈ 6.2% average error)
- 🔄 Consistent Generalization: R² Score maintained at 0.92 on unseen data
- ⚡ Efficient Training: 7ms/epoch (NVIDIA T4 GPU acceleration)
- ➖ N/A: Validation not tracked for training time
Analysis:
- Shows strong correlation between predicted and actual home values (R² = 0.92)
- Red dashed line represents perfect predictions
- Majority of points cluster tightly around the ideal line
- Key Insight: Model performs best in $100k-$300k price range
Analysis:
- 68% of predictions within ±$15k of actual values
- Error distribution follows near-normal pattern
- Long tail indicates rare larger errors up to $50k
- Key Insight: 95% of predictions have <$25k absolute error
Analysis:
- Consistent performance across sale years 2010-2023
- No significant time-based bias detected
- Red trend line shows stable error patterns (slope = 0.07)
- Key Insight: Model maintains temporal generalization capability
We welcome contributions! Here's how to participate:
-
Create Feature Branch
git checkout -b feature/AmazingFeature
-
Commit Changes
git commit -m 'Add some AmazingFeature' -m 'Detailed description of changes'
-
Push to Branch
git push origin feature/AmazingFeature
Permissions:
✅ Free academic/research use
✅ Modification and redistribution
❌ Commercial use requires written consent
Full license terms available in LICENSE file.