<<<<<<< HEAD
This is a Flask-based web application that predicts house prices based on user inputs such as:
- Number of Bedrooms 🛏️
- Number of Bathrooms 🚿
- Size in Square Feet 📏
- Location 📍
- Median Income (in Lakhs ₹)
The application uses a Machine Learning Model trained on an open-source housing dataset (California) to provide accurate price predictions.
Follow these steps to set up the project on your local machine.
git clone https://github.com/https://github.com/jd20000/House_Prediction/house-price-prediction.git
cd house-price-prediction
A virtual environment helps isolate dependencies. Run:
python -m venv venv
Activate it:
- Windows:
venv\Scripts\activate
- Mac/Linux:
source venv/bin/activate
Install the required libraries from requirements.txt
:
pip install -r requirements.txt
If the model file house_price_model.pkl
is missing, run:
python model_training.py
This will train the model and save it inside the model/
directory.
python app.py
The app will start on http://127.0.0.1:5000/.
If another project is running on this port, change it:
python app.py --port 5001
Go to:
👉 http://127.0.0.1:5000/
Enter house details and get the predicted price in Indian Rupees (₹).
deactivate
We use Linear Regression, a simple yet effective ML algorithm for price prediction.
- The model takes in various features like
size
,bedrooms
,location
,median income
, etc. - It learns the relationship between these features and house prices.
- When new inputs are given, it predicts the most likely price based on past data.
Feature | Meaning |
---|---|
Median Income | Average annual income of residents in Lakhs (₹1 Lakh = 1.0) |
House Age | How old the house is (in years) 🏠 |
Average Rooms | Average number of rooms per house in the area 📏 |
Average Occupancy | Number of people living per house 👨👩👧👦 |
This project is open-source. Feel free to modify and enhance it! 🚀
If you'd like to contribute, feel free to submit a pull request. 😊
For any queries, contact Jay - 📧 [email protected]
=======
This is a Flask-based web application that predicts house prices based on input features using a machine learning model.
- User inputs features like median income, house age, average rooms, and average occupancy.
- The machine learning model predicts house prices in Indian Rupees (₹).
- Simple and easy-to-use web interface.
- Clone the repository:
git clone https://github.com/your-repo/house-price-prediction.git
0a3c4e7 (Initial commit with existing README)