Importing the required libraries
import numpy as np
import pandas as pd
import matplotlib .pyplot as plt
import seaborn as sns
Reading the data
Checking the shape of dataset
The dataset is too large and null values values are less than 1% so we can drop them
Checking for the shape after dropping the null values
Converting the datetime columns from string format into datetime format
Creating the duration feature
Converting categorical features into numerical values called encoding
Converting Nominal categorical features into numeric values by using oneHotEncoding technique
Converting Ordinal categorical features into numeric values by using LabelEncoder technique
Dropping un neccessary columns
All the above steps were repeted for testing data also
Finding the feature importance by using Heatmap and ExtratreeRegressor
Importing the model from sklearn
Training the model with training data
test the model with test data
creating pickle file for model
Creating the app using Streamlit
Deploying the app