You are on page 1of 4

House Price Analysis

In this Screenshot I have import python libraries. After that I have load the “House price analysis”
Dataset.
After loading the dataset, we have to do ‘’Exploratory Data Analysis” (EDA) for describing every
variable data and analyse the data.

In screenshot we have done Data pre-processing “Label encoding” (Converting Categorical variables
data to numerical data).
After completion of Data pre-processing, we have done Data splitting into xtrain and ytrain. Then we
import the Machine learning model and fit into our data.

In this project we use machine leaning models those are Linear regression we got 74% accuracy,
Decision tree regressor we got 62% accuracy.
In this scrrenshot we use Gradient boosting regressor with this we got 98% accuracy. And below are
the Visualizations of accuracy comparisons.

You might also like