0% found this document useful (0 votes)
8 views10 pages

Flight Fare Prediction

The document outlines the development of a machine learning application for predicting flight fares using RandomForestRegressor based on parameters like Source, Destination, and Airline. It details the objectives, data collection methods, and benefits of the automated system compared to the current manual process. The proposed web application aims to provide users with quick and reliable fare predictions, enhancing their decision-making for travel planning.

Uploaded by

tyagishilpi008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views10 pages

Flight Fare Prediction

The document outlines the development of a machine learning application for predicting flight fares using RandomForestRegressor based on parameters like Source, Destination, and Airline. It details the objectives, data collection methods, and benefits of the automated system compared to the current manual process. The proposed web application aims to provide users with quick and reliable fare predictions, enhancing their decision-making for travel planning.

Uploaded by

tyagishilpi008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Flight Fare

Prediction
A Machine Learning Application for Predicting Flight Prices.
Aim
1 Objective
To develop a machine learning model that predicts the fares of flights based on various parameters such as
Source, Destination, Stops, and Airline.
Objectives
Objective 1 Objective 2 Objective 3 Objective 4

Scrape flight fare data Perform Data Cleaning, Train a machine Develop a web
from the 'Ease My Trip' Data Wrangling, and learning model using application using Flask
website using Exploratory Data RandomForestRegressor to provide an interface
BeautifulSoup. Analysis to understand for accurate fare for users to interact and
the dataset. predictions. get predictions.
Technology Used

Programming Language Web Scraping Tool Machine Learning Library


Python 3.10 BeautifulSoup Scikit-learn

Algorithm Web Framework


RandomForestRegressor Flask
Existing System
Manual Effort Limitations

Currently, users manually check multiple travel websites - Time-consuming process.


to compare and find the best flight prices.
- Prices are dynamic and fluctuate frequently.

- No predictive insights on future fare trends.


Proposed System
Automated Fare Prediction Advantages

- Utilizes machine learning to predict flight fares based - Saves time and effort for users.
on historical data and various parameters.
- Provides predictive insights on flight fares.

- Offers a user-friendly web interface to get predictions


easily.
Data Collection and
Preprocessing

1 Data Source
Ease My Trip

2 Data Collection Method


Web scraping using BeautifulSoup

3 Preprocessing Steps
- Data Cleaning: Handling missing values, removing
duplicates.

- Data Wrangling: Converting data types, feature


extraction.

- Exploratory Data Analysis: Understanding data


distributions, correlations, and trends.
Machine Learning Model
Model Used Why RandomForest? Model Training

RandomForestRegressor - Handles non-linear data well. - Train-test split for validation.

- Reduces overfitting by averaging - Hyperparameter tuning to


multiple decision trees. optimize model performance.

- High accuracy in regression


tasks.
Web Application
Development
Framework Used
1 Flask

Features
- User-friendly interface.
2
- Input fields for Source, Destination, Stops, and Airline.

- Displays predicted fare instantly.

User Flow
- User inputs flight details.
3
- Model predicts fare based on input parameters.

- Predicted fare is displayed to the user.


Conclusion
Outcome Benefits Future Work

Developed a robust and accurate - Provides users with a quick and - Integrate more features like date,
flight fare prediction model using reliable way to predict flight fares. seasonality, and real-time data for
RandomForestRegressor. improved accuracy.
- Enhances decision-making for
users planning trips by forecasting - Expand the model to predict
ticket prices. fares for multiple airlines and
routes.

You might also like