An open API service indexing awesome lists of open source software.

https://github.com/omara32/house-price-prediction-using-sklearn

House price prediction using sklearn's linear regression model
https://github.com/omara32/house-price-prediction-using-sklearn

house-price-prediction linear-regression python regression sklearn visualization

Last synced: 6 months ago
JSON representation

House price prediction using sklearn's linear regression model

Awesome Lists containing this project

README

          

# Housing Price Prediction with scikit-learn

This project demonstrates the use of **scikit-learn** for building a linear regression model to predict housing prices. The dataset is preprocessed by detecting and removing outliers using the Interquartile Range (IQR) method. After the outliers are removed, the model’s performance is evaluated using common regression metrics.

## Features:
- **Outlier Detection**
- **Data Preprocessing**:
- **Model Training**
- **Model Evaluation**:
- Mean Squared Error (MSE)
- Mean Absolute Error (MAE)
- R-squared (R²)
- **Visualization**:
- Scatter plot of predicted vs. actual sale prices.
- Box plots showing the distribution of features after outlier removal.

## Dependencies:
- `pandas`
- `numpy`
- `scikit-learn`
- `seaborn`
- `matplotlib`

Database Used: House Prices from Kaggle.