A generic machine learning project to predict house prices based on features like bedrooms, bathrooms, size, and zip code
This project has been restructured for better organization:
app/: Contains the Flask application logic.main.py: The entry point for the web application.templates/: HTML templates for the frontend.
data/: Stores the datasets used for training and testing.final_dataset.csv: The processed dataset used by the application.Bengaluru_House_Data.csv,ParisHousing.csv, etc.: Raw datasets.
models/: Contains the serialized machine learning models.RidgeModel.pkl: The trained Ridge Regression model used for predictions.
notebooks/: Jupyter notebooks for data exploration and model training.House Price Prediction.ipynb: The notebook where the model was created.
- Clone the repository.
- Install the required dependencies:
pip install flask pandas scikit-learn
- Navigate to the
appdirectory (or run from root):python app/main.py
- Open your browser and navigate to
http://127.0.0.1:5000. - Enter the house details (bedrooms, bathrooms, size, zip code).
- Click "Predict Price" to see the estimated price.
- To retrain the model, check the
notebooks/directory. - To modify the web app, edit
app/main.pyorapp/templates/index.html.
If he (brother) didn’t tell me, I probably wouldn’t have changed it.
- Name: Aman Ranjan
- GitHub: https://github.com/ranjanport
Grateful for the push and motivation.
- GitHub: https://github.com/chandanvyas999
- LinkedIn: https://www.linkedin.com/in/chandan-vyas/