This project implements a house price prediction system using Linear Regression. It is built as an end-to-end machine-learning project using Flask.
The goal of this project is to predict the price of houses based on various features such as location, total square feet area, number of bathrooms, and number of bedrooms.
- Predicts house prices based on input features.
- Provides a web interface to interact with the prediction model.
- Uses a Linear Regression algorithm for prediction.
- Implements an end-to-end machine learning project.
The project is structured as follows:
app.py
: Flask web application for serving predictions.model/
: Directory containing trained model and preprocessing objects.dataset/
: Directory containing the dataset used for training.templates/
: HTML templates for the web interface.
-
Clone the repository:
git clone https://github.com/kindo-tk/house_price_prediction.git
-
Navigate to the project directory:
cd .\house_price_prediction\
-
Create a virtual environment:
python -m venv .venv
-
Activate the virtual environment:
.venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask application:
python app.py
- Access the web application by navigating to http://localhost:5000 in your web browser.
- Enter the required details such as location, total square feet area, number of bathrooms, and number of bedrooms.
- Click on the "Predict Price" button to get the predicted house price.
- Python
- Flask
- HTML/CSS
- Bootstrap
- scikit-learn
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries or feedback, please contact: