This project demonstrates the implementation of neural network models to predict house prices using TensorFlow/Keras. The project explores different neural network architectures and techniques to improve model performance.
The project uses a dataset containing house price information with 10 input features. Three different neural network models are implemented to compare their performance:
-
Simple Neural Network
- 2 hidden layers with 32 neurons each
- ReLU activation
- SGD optimizer
-
Deep Neural Network
- 4 hidden layers with 1000 neurons each
- ReLU activation
- Adam optimizer
-
Deep Neural Network with Dropout
- 4 hidden layers with 1000 neurons each
- Dropout layers (0.5) after each hidden layer
- ReLU activation
- Adam optimizer
- pandas
- scikit-learn
- tensorflow/keras
- matplotlib
The project uses housepricedata.csv which contains house-related features. The data is preprocessed using MinMaxScaler for normalization.
All models are trained with:
- Binary cross-entropy loss
- Accuracy metric
- 100 epochs
- Batch size of 32
- Train/Validation/Test split (70%/15%/15%)
The project includes visualization of:
- Model loss curves (training and validation)
- Model accuracy curves (training and validation)
These visualizations help in understanding model performance and identifying potential overfitting/underfitting issues.
Run the Jupyter notebook housepricedata_NN.ipynb to:
- Load and preprocess the data
- Train the three different models
- Visualize the results and compare model performance