A machine learning project that predicts house prices using Linear Regression. The model is trained on a housing dataset and uses various property features to estimate house prices.
- Predicts house prices using Linear Regression
- Uses a real-world housing dataset (
Housing.csv) - Performs data preprocessing using Pandas
- Converts categorical data into numerical values using One-Hot Encoding
- Splits data into training and testing sets
- Evaluates model performance using R² Score
- Displays predicted house prices
- Python
- Pandas
- Scikit-learn
- Linear Regression
- Jupyter Notebook / Python IDE
House_Price_Prediction/
├── house_price_prediction.py
├── Housing.csv
├── images/
│ └── output.png
└── README.md
- Clone the repository
git clone git@github.com:vishakha-code27/house-price-prediction-python.git- Navigate to the project folder
cd house-price-prediction-python- Install required libraries
pip install pandas scikit-learn- Run the Python file
python house_price_prediction.pyThe model performance is measured using the R² Score, which evaluates how well the model explains variations in house prices.
The model displays:
- First 5 predicted house prices
- R² Score of the trained Linear Regression model
This project helped me learn:
- Data preprocessing using Pandas
- Handling categorical data
- Linear Regression implementation
- Model training and testing
- Machine learning evaluation metrics
- Working with real-world datasets
Vishakha Chavan
