This project aims to predict housing prices based on various features such as area, number of bedrooms, bathrooms, parking spaces, and more. We use a dataset containing these attributes and apply a Linear Regression model to make predictions.
Table of Contents Introduction Dataset Requirements Installation Exploratory Data Analysis (EDA) Data Preprocessing Model Building Evaluation Conclusion Introduction Predicting housing prices is a crucial aspect of the real estate market. This project builds a Linear Regression model to predict the price of a house based on factors like area, bedrooms, bathrooms, and more. This notebook demonstrates data preprocessing, feature selection, and model evaluation.
Dataset The dataset used in this project consists of the following 13 features:
Price: Price of the house.
Area: Total area of the house (in square feet).
Bedrooms: Number of bedrooms.
Bathrooms: Number of bathrooms.
Stories: Number of stories in the house.
Mainroad: Whether the house is connected to a main road (Yes/No).
Guestroom: Whether the house has a guestroom (Yes/No).
Basement: Whether the house has a basement (Yes/No).
Hotwaterheating: Whether the house has hot water heating (Yes/No).
Airconditioning: Whether the house has air conditioning (Yes/No).
Parking: Number of parking spaces available.
Prefarea: Whether the house is in a preferred area (Yes/No).
Furnishing status: Furnishing status of the house (Fully Furnished, Semi-Furnished, Unfurnished).
The following libraries are required to run the notebook:
pandas numpy matplotlib seaborn scikit-learn
This project demonstrates how to apply linear regression to predict housing prices. The model can be further improved by tuning hyperparameters, adding more features, or experimenting with other regression models.