This repository contains my first and a simple machine learning model that predicts house prices based on the area of the house using a linear regression algorithm.
In this project, we train a linear regression model on a dataset of house prices. The model is then used to predict the prices of other houses based on their areas.
homePricesData.csv: Contains the area and corresponding prices of different houses, used for training the model.homePricePrediction.csv: Contains the areas of houses for which we want to predict the prices.
pandasfor handling datasetsnumpyfor numerical operationsscikit-learnfor machine learning algorithms (linear regression)matplotlibfor data visualization
- Load and Visualize Data: We load the dataset and visualize it using a scatter plot to see the relationship between house area and price.

- Train the Model: We train a linear regression model using the areas and prices.

- Make Predictions: The model is then used to predict the prices of houses based on their areas from another dataset.

- Save Predictions: The predicted prices are added as a new column in the dataset.
