AI Assignment 2
AI Assignment 2
In the last assignment, you have done the Exploratory Data Analysis ( EDA), In this
complete the next steps/tasks that are mentioned below.
Dataset link:
https://www.kaggle.com/datasets/mohamedafsal007/house-price-dataset-of-india
Dataset Description:
This dataset seems to contain information about houses, their characteristics, and their
prices. The columns in the dataset are:
● Date: the date when the data was collected.
● Number of bedrooms: the number of bedrooms in the house.
● Number of bathrooms: the number of bathrooms in the house.
● Living area: the living area of the house.
● Lot area: the area of the lot on which the house is built.
● Number of floors: the number of floors in the house.
● Waterfront present: whether or not the house has a waterfront.
● The number of views: the number of times the house was viewed by potential
buyers.
● Condition of the house: the condition of the house on a scale of 1 to 5.
● Grade of the house: the grade of the house on a scale of 1 to 13.
● Area of the house (excluding basement): the area of the house excluding the
basement.
● Area of the basement: the area of the basement.
● Built Year: the year when the house was built.
● Renovation Year: the year when the house was last renovated.
● Postal Code: the postal code of the area where the house is located.
● Latitude: the latitude of the location of the house.
● Longitude: the longitude of the location of the house.
● Living area renovation: the living area of the house after renovation.
● Lot area renovation: the area of the lot on which the house is built after
renovation.
● Number of schools nearby: the number of schools located near the house.
● Distance from the airport: the distance between the house and the nearest
airport.
● Price: the price of the house.
● Label: the range of values that the column 'Price' falls within.
● Count: the number of houses that fall within the price range specified in the
'Label' column.
The dataset also contains additional information for some of the columns, such as
converting the 'number of bedrooms' column to an integer data type and removing the
'Date' column.
Tasks: