I was interested in Flight Airfare Prediction listings to help tourists find the right flight airfare based on their needs.
This Project is used to predict the flight prices. We will use Flight Price Dataset provided by Kaggle Flight Price. This dataset consists of 10683 records with 13 columns that explain about the flight in India by some Indian and foreign Airlines in 2019. We will analyze this dataset using Machine learning techniques in order to predict the flight ticket price based on the features provided in the columns of the dataset. We will begin the Data Science Life Cycle to process the data such as Cleaning the dataset, feature engineering, splitting dataset, feature selection, and hyperparameter tuning.
The main findings of the code can be found at the post available on my medium here.
-
Algorithms used
- Random Forest
- Extra Trees Regressor
-
Metric - Since the target variable is a continuous variable, regression evaluation metric RMSE (Root Mean Squared Error) and R2 Score (Coefficient of Determination) have been used.
Credited to Kaggle for availability of the data. You can find the License for the data and other descriptive information in the Kaggle available here. Otherwise, feel free to use the code here as you would like!