This project uses a linear regression model to predict house prices based on house size.
home_prices_prediction.ipynb
: Jupyter notebook containing the code for data preprocessing, model training, evaluation, and saving the model.house_price_model.pkl
: Saved model file.README.md
: Project documentation.
- Python 3.x
- pandas
- numpy
- matplotlib
- scikit-learn
- joblib
-
Clone the repository:
git clone https://github.com/emiliomonteluna/house-price-prediction.git cd house-price-prediction
-
Install the required packages:
pip install -r requirements.txt
-
Run the Jupyter notebook to train the model and save it:
jupyter notebook home_prices_prediction.ipynb
-
The model will be saved as
house_price_model.pkl
.