Professional Documents
Culture Documents
A PROJECT REPORT
Submitted by
JEROME J (312819104037)
MAY 2023
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Dr. L. Sharmila M.E., Ph.D Mrs. G. UMADEVI M.E.,
HEAD OF THE DEPARTMENT SUPERVISOR
Finally,We would like to thank our parent and our friend for their
encouragement and support without which we couldn’t have completed our
project on time.
ABSTRACT
The AR interface provides an intuitive and fun way to interact with the environment,
making it ideal for outdoor settings such as parks, tourist attractions, and historic sites.
The system is designed to be accessible to a variety of users, regardless of technical
experience, and can be easily integrated into existing websites or mobile applications.
The results of the user study show the effectiveness of the system in improving the
user's ability to navigate and find points of interest nearby. Overall, this web-based
AR location locator is an important step in the development of mobile AR web-based
applications that harness the power of the Web to provide innovative and immersive
experiences to users.
i
LIST OF FIGURES
ii
LIST OF ABBREVIATIONS
ABBREVIATIONS EXPANSION
PKL PICKLE FILE
ML Machine Learning
JS Java Script
iii
TABLE OF CONTENTS
ABSTRACT i
LIST OF FIGURES ii
1. INTRODUCTION
1.1 Domain Introduction 1
1.2 Project Introduction 3
2. LITERATURE REVIEW
2.1 General 5
2.2 Review of Literature 5
3. SYSTEM ANALYSIS AND DESIGN
3.1 Introduction 7
3.2 Characteristics 8
3.3 Where it is used? 9
3.4 System Design 10
3.4.1 Architectural Diagram 10
3.5 UML Diagram 11
4. SYSTEM SPECIFICATIONS
4.1 Requirement Analysis 12
4.2 Hardware Specifications 12
4.3 Software Specification 13
4.3.1 HTML 14
4.3.2 CSS 15
4.3.3 Python 16
5. MODULE EXPLANATION
5.1 List of Modules 17
5.1.1 Creating an index page 17
5.1.2 Training the data 17
5.1.3 Obtaining the pickle file 17
5.1.4 Building the final application 18
5.2 User Interface Module 18
5.3 Output Module 18
6. TESTING
6.1 Testing 19
6.2 Test Cases 23
6.3 Test Log 25
8. USER MANUAL 27
9. CONCLUSION 29
APPENDIX (Coding)(Output) 27
REFERENCES 49
CHAPTER 1
INTRODUCTION
1
Machine learning comes in a variety of forms, including reinforcement learning,
unsupervised learning, semi-supervised learning, and supervised learning. In
supervision, an algorithm learns predictions based on labelled instances after being
trained on correctly extracted, labelled data. Unsupervised learning, on the other hand,
entails teaching an algorithm on unlabeled data in which the algorithm is tasked with
identifying patterns or relationships in the unlabeled data.
Among other things, machine learning is frequently used for tasks including
fraud detection, anomaly detection, predictive analytics, natural language processing,
picture and speech recognition, and recommendation systems. This entails gathering
and preparing data, creating and testing models, and optimising them for success.
Machine learning does, however, create ethical concerns about privacy, data in
algorithms, and the effects on business and society. To ensure that the advantages of
this technology are achieved while reducing possible hazards, responsible and ethical
machine learning use is crucial.
2
1.2 PROJECT INTRODUCTION:
A machine learning effort called the Flight Fare Prediction System seeks to
forecast aircraft ticket costs using relevant attributes and previous data. To predict trip
costs for planning, budgeting, and making wise decisions, this method is available to
travelers, travel companies, and airlines.
While the accuracy of the predictions significantly rely on the quality of the
data used for training and prediction, the project will also put a focus on data quality
and integrity. To guarantee that the data used for training and prediction is valid and
trustworthy, data preprocessing techniques like data cleaning, addressing missing
values, and feature scaling will be employed.
The Flight Fare Prediction System has a number of possible uses, including
3
helping consumers plan their travel budgets, assisting travel agencies in providing
their clients with competitive pricing, and assisting airlines with pricing strategies and
revenue management. By using machine learning to precisely estimate flight fares and
improve decision-making, the system has the potential to offer useful insights and
advantages to the travel sector.
The expected result of this project is to develop a reliable and accurate flight
speed prediction system that can provide users with flight rates based on relevant
parameters. Systems will be evaluated based on forecast accuracy, model
performance, and usability. Ethical considerations such as handling personal data and
ensuring fairness in assumptions are also considered in the project.
4
CHAPTER 2
LITERATURE SURVEY
2.1 GENERAL
The most important step in software development is the literature review.
Determine time, economy, and company capacity factors before installing
equipment. The next step is to choose the operating system and language that you
can use to install the device when these requirements are met. Once developers
start building a device, they need a lot of outside help. You can find this support
online, in books, or from senior programmers. For the proposed system, the
factors mentioned above are considered before designing the system.
SURVEY-1:
SURVEY-2:
5
Description: This paper proposes an ensemble approach that combines
multiple machine learning algorithms, including decision trees, gradient
boosting, and linear regression, to predict flight fares. The study also
explores feature selection techniques and evaluates the performance of the
ensemble model using metrics such as RMSE and mean absolute percentage
error (MAPE).
SURVEY-3:
SURVEY-4:
Title: Hybrid Model for Flight Fare Prediction using Machine Learning and Time
Series Analysis
6
CHAPTER 3
3.1 INTRODUCTION
• A software programme called a "flight fare prediction system" forecasts
the cost of airline tickets using machine learning methods. This method
may forecast future pricing for a specific route or destination by examining
historical data, current market patterns, and other pertinent criteria.
• A flight fare prediction system can be helpful for travel agencies, airlines,
and other travel-related organisations in addition to benefiting individual
travellers. These companies may improve their pricing strategies, boost
income, and better serve the demands of their clients by giving them
information into price trends and patterns.
• A flight pricing prediction system is, all things considered, a useful tool for
anyone trying to cut costs on air travel or enhance their commercial
operations in the travel sector.
7
3.2 CHARACTERISTICS:
The following are some of the main components of the airfare forecasting
system:
Real-time updates: To make sure that forecast prices are as current as possible, the
system offers real-time updates.
Multiple Airlines and Routes: The system is able to estimate costs for a number of
airlines and routes, giving customers a wide range of options.
Accuracy: Based on historical data, market trends, and other important variables, the
system is intended to offer accurate projections.
Mobility: The system is mobile-friendly, making it simple for travelers to access price
8
estimates while on the go.
Several situations call for the use of a flight fare prediction system, including:
Travel Agencies: Travel agencies can utilize airline fare prediction systems to accurately
advise their clients about airfares and assist them in making decisions about booking
tickets.
Airlines: By offering customers competitive tickets, airlines can use flight fare prediction
systems to optimize their pricing strategies, boost revenue, and enhance customer
happiness.
Online travel agencies: Online travel agencies can utilize flight fare prediction algorithms
to give clients real-time pricing details and assist them in locating the cheapest flight offers.
Individual Travelers: To obtain the greatest airfare prices and make their trip
preparations more efficient, individual travelers can use flight fare prediction tools.
In general, everyone trying to cut costs on air travel or enhance their company operations
in the travel industry uses aircraft fare prediction tools.
9
3.4 SYSTEM DESIGN:
10
3.5 UML DIAGRAM:
11
CHAPTER 4
SYSTEM SPECIFICATIONS
12
.
• Processor-Intel
• Ram-4GB
• Hard disk-260GB
• Keyboard
• Mouse
• HTML
• CSS
• Python
13
4.3.1 HTML
Web development - Developers use HTML code to design how browsers display
web page elements such as text, hyperlinks, and media files.
Internet Navigation - Users can easily navigate and link between related pages
and websites because HTML is widely used to display hyperlinks.
Web document - HTML allows you to organize and format documents similar
to Microsoft Word.
The fact that HTML cannot develop dynamic functionality means that
it is not regarded as a programming language. It is now regarded as the accepted
web standard. The HTML specification is updated frequently by the World Wide
Web Consortium (W3C).
14
4.3.2 CSS
CSS stands for Cascading Style Sheets. It is a language style sheet used to
describe the look and feel of a document written in a markup language. It provides
additional features for HTML. It is commonly used with HTML to style web pages and
user interfaces. It also works with any XML document, including plain XML, SVG, and
XUL.
CSS is used in most web applications along with HTML and JavaScript to create user
interfaces for web pages and user interfaces for many mobile applications.
1. Solves big problems - Before CSS, specifications such as font, color, background
style, element alignment, border, and size had to be repeated on every web page. It's
a long process. For example: If you are developing a large website where font and
color information is added to each page, this will be a long and expensive process.
CSS was designed to solve this problem. It is a W3C recommendation.
2. Saves a lot of time - CSS style definitions are stored in external CSS files, so the
entire web page can be changed by changing just one file.
3. Provides more attributes - CSS provides more detailed properties than simple
HTML to define the look and feel of a web page.
15
4.3.3. PYTHON
• Python has a straightforward syntax that is simple to learn even for complete
beginners.
• Python does not require compilation before execution; instead, each line of the
code is read and then executed. Testing and debugging code is now simpler and
quicker as a result.
• Python is dynamically typed, which enables variables to hold values of any data
type and allows for runtime type changes.
16
CHAPTER 5
MODULE EXPLANATION
We will be creating an index webpage using HTML and CSS since we’re
creating a web application.
17
5.1.4 BUILDING THE FINAL APPLICATION
As we have created an index home page using HTML and CSS and
trained the existing data using machine learning algorithms and obtained the
trained model as a pickle file, now we must build our main application to import
and use the trained data and to run the whole application on the web.
18
CHAPTER 6
TESTING
Activities:
Unit Testing
Integration Testing
System Testing
User Acceptance Test
TESTING LEVELS
Functional Testing
Functional testing is a type of testing that verifies that each function of the
software works according to the requirements specification. These tests mainly
involve black box testing and do not deal with application source code. Each
operation of the system is tested by providing the appropriate input, checking the
output, and comparing the actual output with the expected output. Testing can be done
manually or through automation.
19
Examples of Functional Testing Types.
Unit testing
Smoke testing
User Acceptance
Integration Testing
Regression testing
Non-Functional Testing
Performance Testing
Stress Testing
Scalability
Usability Testing
Load Testing
20
DIFFERENT STAGES OF TESTING
Unit Testing
Integration Testing
System Testing
Any project can be broken down into usable parts for a complete job. A
test strategy is then implemented for each of these sections. Component testing
helps identify potential faults in individual components, so faulty components
can be identified and repaired.
22
6.1 TEST CASES Table 6.1 Test cases design
2 S102 To make sure Open any Write the The index The
that the user of the required set page index
is creating a desired of codes to must be page is
main index IDE. import AR loaded loaded
page using scripts and properly. properly.
HTML. GPS
entities.
23
3 S103 To make Open the Download The folder The created
sure that the created and copy must have folder has
user has folder in file the existing the the existing
imported explorer. data to the existing data when
the existing created data in the it’s opened
data in the folder. created in the IDE.
folder to folder
train the when it’s
model. opened in
the IDE.
24
6.2 TEST LOG Table 6.2 Test log
PASS
2 S102 To create an index web page using HTML
and CSS.
PASS
3 S103 To search and obtain existing data to train the
model.
PASS
5 S105 To obtain the trained model as a pickle
file.
25
CHAPTER 7
Flight Fare Prediction system is something for travelers who are looking
to cut costs on their airfare, flight fare prediction systems can be a useful tool. When
making a flight reservation, it's crucial to take into account a variety of aspects,
including the timing of the booking, the airline's track record for on-time arrivals, and
the overall convenience of the flight schedule.
26
CHAPTER 8
USER MANUAL
Installing Python
Step 2: Ensure that the Install for all user radio button is pressed.
Step 4: A new Python 3.8 setup pop-up window will appear Select Destination
Step 8: Use the default customization, which selects the Python Interpreter and
all its libraries (about 50 Mb).
Step 11: A new Python 3.8 setup pop-up window will appear.
27
Installing Anaconda Navigator
Step 2: After downloading, click on the .exe file, an Anaconda Navigator Setup
pop-up will appear.
Step 3: Accept the Terms and Conditions along with End User License Agreement.
Step 5: Let remain of the default configurations preset in the navigator setup.
Step 8: Now the Anaconda Navigator is installed and is ready for use.
Step 1: Download the latest Visual Studio Code.exe or .zip(extract) from the
internet.
Step 2: After downloading, click on the .exe file, and a Setup pop-up will appear.
Step 3: Accept the Terms and Conditions along with End User License
Step 5: Let remain of the default configurations be pre-set in the IDE setup.
Step 8: Now the Visual Studio Code IDE is installed and is ready for use.
28
CHAPTER 9
CONCLUSION
6.1 CONCLUSION
Overall, flight fare prediction systems can be a valuable tool in the travel
industry, providing travelers with useful information to make informed decisions
about their trips.
29
APPENDIX (CODING)(OUTPUT)
CODING:
INDEX PAGE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flight Price Prediction</title>
</head>
<body>
<br><br><br>
<div class="container">
30
<form action="\predict" method="post">
<div class="row">
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Departure Date</h5>
<!-- Departure -->
<input type="datetime-local" name="Dep_Time" id="Dep_Time"
required="required">
</div>
</div>
</div>
<br>
<br>
<br>
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Arrival Date</h5>
<!-- Arrival -->
<input type="datetime-local" name="Arrival_Time"
id="Arrival_Time" required="required">
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<div class="row">
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<!-- Source -->
<h5 class="card-title">Source</h5>
<select name="Source" id="Source" required="required">
<option value="Delhi">Delhi</option>
<option value="Kolkata">Kolkata</option>
<option value="Mumbai">Mumbai</option>
<option value="Chennai">Chennai</option>
</select>
</div>
</div>
</div>
31
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Destination</h5>
<!-- Destination -->
<select name="Destination" id="Destination"
required="required">
<option value="Cochin">Cochin</option>
<option value="Delhi">Delhi</option>
<option value="New Delhi">Chennai</option>
<option value="Hyderabad">Hyderabad</option>
<option value="Kolkata">Kolkata</option>
</select>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<div class="row">
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Stoppage(s)</h5>
<!-- Total Stops -->
<select name="Total_stops" id="Total_stops"
required="required">
<option value="0">Non-Stop</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
</div>
</div>
<div class="col-sm-6">
<div class="card">
<div class="card-body">
<h5 class="card-title">Airline</h5>
<!-- Airline -->
<select name="Airline" id="Airline" required="required">
<option value="Jet Airways">Jet Airways</option>
<option value="IndiGo">IndiGo</option>
<option value="Air India">Air India</option>
32
<option value="Multiple carriers">Multiple
carriers</option>
<option value="SpiceJet">SpiceJet</option>
<option value="Vistara">Vistara</option>
<option value="Air Asia">Air Asia</option>
<option value="GoAir">GoAir</option>
<option value="Multiple carriers Premium
economy">Multiple carriers Premium economy
</option>
<option value="Jet Airways Business">Jet Airways
Business</option>
<option value="Vistara Premium economy">Vistara
Premium economy</option>
<option value="Trujet">Trujet</option>
</select>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<!-- Submit -->
<input type="submit" value="Submit" class="btn btn-secondary">
</form>
<br>
<br>
<h3>{{ prediction_text }}</h3>
<br>
<br>
33
integrity="sha384-
OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/5f3f547070.js"
crossorigin="anonymous"></script>
In the above code, we have created an index page using HTML to lead
the main page.
body {
background-color: #75e9a1;
text-align: center;
}
.navbar {
background-color: #205266;
}
a {
color: #f0f5f4;
}
a:hover {
color: #f0f0f0;
}
34
35
36
37
38
39
MAIN APPLICATION FILE:
app = Flask(__name__)
40
model = pickle.load(open("rf_reg.pkl", "rb"))
@app.route("/")
@cross_origin()
def home():
return render_template("home.html")
# Date_of_Journey
date_dep = request.form["Dep_Time"]
Day_of_Journey = int(pd.to_datetime(date_dep, format="%Y-%m-%dT%H:%M").day)
Month_of_Journey = int(pd.to_datetime(date_dep, format ="%Y-%m-
%dT%H:%M").month)
# print("Journey Date : ",Journey_day, Journey_month)
# Departure
Dep_hr = int(pd.to_datetime(date_dep, format ="%Y-%m-%dT%H:%M").hour)
Dep_min = int(pd.to_datetime(date_dep, format ="%Y-%m-%dT%H:%M").minute)
# print("Departure : ",Dep_hour, Dep_min)
# Arrival
date_arr = request.form["Arrival_Time"]
Arrival_hr = int(pd.to_datetime(date_arr, format ="%Y-%m-%dT%H:%M").hour)
Arrival_min = int(pd.to_datetime(date_arr, format ="%Y-%m-%dT%H:%M").minute)
# print("Arrival : ", Arrival_hour, Arrival_min)
# Duration
Duration_hrs = abs(Arrival_hr - Dep_hr)
Duration_mins = abs(Arrival_min - Dep_min)
# print("Duration : ", dur_hour, dur_min)
# Total Stops
Total_stops = int(request.form["Total_stops"])
# print(Total_stops)
# Airline
# AIR ASIA = 0 (not in column)
Airline=request.form['Airline']
if(Airline=='Jet Airways'):
Jet_Airways = 1
IndiGo = 0
Air_India = 0
41
Multiple_carriers = 0
SpiceJet = 0
Vistara = 0
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
elif (Airline=='IndiGo'):
Jet_Airways = 0
IndiGo = 1
Air_India = 0
Multiple_carriers = 0
SpiceJet = 0
Vistara = 0
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
elif (Airline=='SpiceJet'):
Jet_Airways = 0
IndiGo = 0
42
Air_India = 0
Multiple_carriers = 0
SpiceJet = 1
Vistara = 0
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
elif (Airline=='Vistara'):
Jet_Airways = 0
IndiGo = 0
Air_India = 0
Multiple_carriers = 0
SpiceJet = 0
Vistara = 1
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
elif (Airline=='GoAir'):
Jet_Airways = 0
IndiGo = 0
Air_India = 0
Multiple_carriers = 0
SpiceJet = 0
Vistara = 0
GoAir = 1
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
elif (Airline=='Trujet'):
Jet_Airways = 0
IndiGo = 0
Air_India = 0
Multiple_carriers = 0
SpiceJet = 0
Vistara = 0
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 1
else:
Jet_Airways = 0
IndiGo = 0
Air_India = 0
Multiple_carriers = 0
SpiceJet = 0
Vistara = 0
GoAir = 0
Multiple_carriers_Premium_economy = 0
Jet_Airways_Business = 0
Vistara_Premium_economy = 0
Trujet = 0
44
Source = request.form["Source"]
if (Source == 'Delhi'):
s_Delhi = 1
s_Kolkata = 0
s_Mumbai = 0
s_Chennai = 0
else:
s_Delhi = 0
s_Kolkata = 0
s_Mumbai = 0
s_Chennai = 0
Destination= request.form["Destination"]
if (Destination == 'Cochin'):
d_Cochin = 1
d_Delhi = 0
d_New_Delhi = 0
d_Hyderabad = 0
d_Kolkata = 0
else:
d_Cochin = 0
d_Delhi = 0
d_New_Delhi = 0
d_Hyderabad = 0
d_Kolkata = 0
prediction=model.predict([[
Total_stops,
Day_of_Journey,
Month_of_Journey,
Dep_hr,
Dep_min,
Arrival_hr,
Arrival_min,
Duration_hrs,
Duration_mins,
Air_India,
GoAir,
IndiGo,
Jet_Airways,
Jet_Airways_Business,
Multiple_carriers,
Multiple_carriers_Premium_economy,
SpiceJet,
Trujet,
Vistara,
Vistara_Premium_economy,
s_Chennai,
s_Delhi,
s_Kolkata,
s_Mumbai,
46
d_Cochin,
d_Delhi,
d_Hyderabad,
d_Kolkata,
d_New_Delhi
]])
output=round(prediction[0],2)
return render_template("home.html")
if __name__ == "__main__":
app.run(debug=True, use_reloader=False)
47
OUTPUT:
48
REFERENCES:
• https://towardsdatascience.com/flight-price-prediction-using-machine-learning-
474fae06441c
• https://www.analyticsvidhya.com/blog/2022/01/flight-fare-prediction-using-
machine-learning/
• https://www.ijraset.com/research-paper/flight-fare-prediction-system-using-ml
• https://www.ibm.com/in-en/topics/linear-regression#:~:text=Resources-
,What%20is%20linear%20regression%3F,is%20called%20the%20independent%2
0variable.
• https://scikit-
learn.org/stable/modules/generated/sklearn.ensemble.RandomForestRegressor.htm
l#:~:text=A%20random%20forest%20regressor.,accuracy%20and%20control%20
over%2Dfitting.
• https://www.saedsayad.com/decision_tree_reg.htm#:~:text=Decision%20tree%20
builds%20regression%20or,decision%20nodes%20and%20leaf%20nodes.
• https://easychair.org/publications/preprint/htzQ
• https://medium.com/geekculture/flight-fare-prediction-93da3958eb95
• https://www.datascience2000.in/2021/12/flight-fare-prediction-using-
machine.html
• https://www.ijser.in/archives/v10i11/SE221105023044.pdf
• https://ieeexplore.ieee.org/document/9716563
• https://ijariie.com/AdminUploadPdf/Flight_price_prediction_using_ml_ijariie1941
1.pdf
49
International Journal of Research
Publication and Reviews
( Open Access, Peer Reviewed, International Journal)
(A+ Grade, Impact Factor5.536)
ISSN 2582-7421 Sr. No: IJRPR 55177
This certificate is awarded to Mrs. Uma Devi G, and certifies the acceptance
for publication of research paper entitled “Flight Fare Prediction System” in
50
“International Journal of Research Publication and Reviews”, Volume 4, Issue
5, 2023 .
51
System” in “International Journal of Research Publication and Reviews”,
Volume 4, Issue 5, 2023.
52
“International Journal of Research Publication and Reviews”, Volume 4, Issue
5, 2023 .
This certificate is awarded to Deepak Ram R, and certifies the acceptance for
publication of research paper entitled “Flight Fare Prediction System” in
53
“International Journal of Research Publication and Reviews”, Volume 4, Issue
5, 2023.
ABSTRACT:
The Flight Fare Prediction System is a comprehensive solution aimed at accurately forecasting flight ticket prices, providing travelers with valuable insights for better
planning and decision-making. With the exponential growth of the airline industry and the increasing complexity of fare structures, predicting flight fares has become
a challenging task. This system leverages machine learning algorithms and historical flight data to generate accurate fare predictions. The system utilizes a vast dataset
comprising historical flight fares, including factors such as travel dates, destinations, airlines, departure times, and various other relevant variables. By analyzing this
data using advanced machine learning techniques, the system learns patterns and relationships, enabling it to make reliable predictions about future flight fares. The
Flight Fare Prediction System employs a combination of regression algorithms and ensemble methods to achieve high accuracy in its predictions. It considers various
factors that impact ticket prices, including seasonality, market demand, fuel costs, competition, and other dynamic variables. The integration of real-time data updates
ensures that the predictions remain up-to-date and reflect the latest market trends.
I. INTRODUCTION
The Flight Fare Prediction System is a machine learning initiative that aims to estimate aircraft ticket costs using
relevant features and past data. This strategy is provided to travellers, travel firms, and airlines to anticipate trip
costs for planning, budgeting, and making sensible selections.
The purpose of this project is to create a dependable machine-learning model for predicting flight expenses by
considering numerous characteristics such as travel class, airline, departure and arrival destinations, travel dates,
and other pertinent information. To train the algorithm, a vast amount of historical flight data, such as ticket
pricing and other such attributes, will be employed. .
By Users of the Flight Fare Prediction System will have access to a user-friendly interface by entering their travel
information and receiving an estimated flight fare. The system will assess the input data and make precise
predictions using feature engineering, data preprocessing, and machine learning methods. Relevant evaluation
criteria will be utilised to ensure that the model is correct and reliable. and associated qualities. While the
accuracy of the predictions is heavily dependent on the quality of the data used for training and prediction, the
project will also prioritise data quality and integrity. Data preprocessing techniques like as data cleaning,
addressing missing values, and feature scaling will be utilised to ensure that the data used for training and
prediction is legitimate and trustworthy.
The Flight Fare Prediction System can help consumers plan their travel budgets, assist travel agencies in
delivering competitive pricing to their clients, and assist airlines with pricing strategies and revenue management.
The method has the potential to provide useful insights and benefits to the travel industry by applying machine
learning to precisely estimate airline fares and improve decision-making.
This project's goal is to create a dependable and accurate flight speed prediction system that can give users with
flight rates depending on important parameters. Forecast accuracy, model performance, and usability will be used
to evaluate systems. The project takes into account ethical aspects such as handling personal data and maintaining
fairness in assumptions.
Finally, the Flight Fare Prediction System is a machine learning project with the purpose of developing a system
that can accurately predict trip expenses based on prior data and relevant qualities. The technology has the
54
potential to improve decision-making in the travel industry and provide valuable data and benefits to travellers,
travel agencies, and airlines.
research paper proposes a flight fare prediction model using machine learning techniques such as regression
algorithms and time-series analysis. The study explores various factors influencing ticket prices and
compares the performance of different algorithms in predicting fare trends.
B. Flight Fare Prediction using Historical Data and Machine Learning Techniques" by A. Kumar, et al. (2019):
The paper presents a flight fare prediction system that combines historical flight data and machine learning
algorithms to forecast ticket prices. It analyzes factors such as departure time, travel duration, and airline
popularity to generate accurate fare predictions. The study compares the performance of different
algorithms and discusses the potential for improving prediction accuracy.
C. "Airline Fare Prediction Using Machine Learning" by A. L. Rodrigues, et al. (2020): This work focuses on
predicting airline fares using machine learning techniques. The study considers various parameters,
including airline popularity, route distance, and historical fare data, to train a predictive model. The authors
explore the performance of different algorithms and discuss the implications of their findings for fare
prediction accuracy.
D. "Predicting Airfare Using Machine Learning Techniques" by S. Aruna, et al. (2020): The paper presents a
comparative analysis of different machine learning algorithms for predicting airfare. The study considers
factors such as seasonality, time of booking, and flight class to develop a prediction model. The authors
evaluate the performance of regression algorithms, including linear regression, support vector regression,
and random forest regression.
E. "Flight Fare Prediction Using Ensemble Learning Techniques” by M.Sharma, et al. (2021): This research
focuses on the application of ensemble learning techniques for flight fare prediction. The study combines
multiple machine learning models, including decision trees, random forests, and gradient boosting, to
improve prediction accuracy. The authors compare the performance of individual models and ensemble
methods to identify the most effective approach.
F. “Flight Fare Prediction using Machine Learning Techniques” by K. Kumar and team (2017). This study
compares the performance of various machine learning techniques, including decision trees, support vector
machines, k-nearest neighbors, and random forests for flight fare prediction. This study also employs
features engineering techniques to extract relevant features from flight data and evaluates the models using
metrics such as mean squared error (MSE) and R-squared.
55
Fig1: FLOW DIAGRAM OF THE PROPOSED
IV. MODULES
Modules include:
a. User Interface
b. Training Data
d. Application Building
e. Output
[1]. "Predicting Airline Ticket Prices Using Historical Data" Authors: R. B. Patterson and R. M. Patel
Published in: International Journal of Computer Applications, Vol. 52, No. 5, 2012.
[2]. Flight Fare Prediction using Historical Data and Machine Learning Techniques" Authors: A. Kumar, et
al. Published in: Proceedings of the 3rd International Conference on Computer, Communication, and
Signal Processing, 2019.
[3]. "Flight Fare Prediction Using Machine Learning Techniques" Authors: S. G. Sonawane and A. N.
Kadam Published in: International Journal of Advanced Research in Computer Science and Software
Engineering, Vol. 7, Issue 7, 2017.
[4]. "Airline Fare Prediction Using Machine Learning" Authors: A. L. Rodrigues, et al. Published in:
Proceedings of the International Conference on Data Engineering and Communication Technology,
2020.
[5]. "Flight Fare Prediction Using Machine Learning Techniques" Authors: R. N. Sahoo, B. Mishra, and S. P.
Dash Published in: Proceedings of the 3rd International Conference on Computational Intelligence in
Data Science (ICCIDS), 2019. DOI: 10.1109/ICCIDS.2019.9010314
[6]. "Predicting Airfare using Machine Learning Algorithms" Authors: K. Gupta and S. Agarwal Published
in: International Journal of Advanced Research in Computer Science and Software Engineering, Vol. 9,
Issue 3, 2019.
[7]. "Airfare Prediction with Deep Learning" Authors: A. Bansal, M. Shukla, S. Parthiban, and B. Sundarraj
Published in: 2020 International Conference on Electronics and Sustainable Communication Systems
(ICESC)
[8]. "Flight Price Prediction using Machine Learning Techniques" Authors: S. Chatterjee, A. Saini, and P.
Sharma Published in: International Journal of Computer Applications, Vol. 172, No. 8, 2017. DOI:
10.5120/ijca2017913795.
[9]. "Predicting Flight Prices using Machine Learning Algorithms" Authors: S. Verma and A. Gupta
Published in: International Journal of Computer Applications, Vol. 117, No. 15, 2015. DOI:
10.5120/ijca2015907272
[10]. "Airfare Prediction using Machine Learning Techniques" Authors: S. Kumar, V. Bajaj, and S. Joshi
Published in: International Journal of Computer Applications, Vol. 91, No. 8, 2014. DOI:
10.5120/16084-9437
[11]. "Airline Ticket Fare Prediction using Machine Learning Techniques" Authors: A. Sharma and S.
Verma Published in: 2020 11th International Conference on Computing, Communication and
Networking Technologies (ICCCNT) DOI: 10.1109/ICCCNT45670.2020.9226029
[12]. "Flight Fare Prediction using Machine Learning Techniques and Feature Selection" Authors: R. R.
Saravana Kumar, M. S. Siva, and S. P. Shantharajah Published in: 2020 International Conference on
Inventive Research in Computing Applications (ICIRCA) DOI:
10.1109/ICIRCA48642.2020.9169227
[13]. "Predicting Airfare using Machine Learning Algorithms" Authors: R. Varghese, S. Jacob, and S. J. Aby
Published in: 2019 International Conference on Communication and Signal Processing (ICCSP) DOI:
10.1109/ICCSP.2019.8698027
[14]. "Flight Fare Prediction using Machine Learning Algorithms" Authors: M. M. Aboul Hassan, A. M. El-
Sayed, and A. A. Fergany Published in: 2018 9th Cairo International Biomedical Engineering
Conference (CIBEC) DOI: 10.1109/CIBEC.2018.8743157
[15]. "Airfare Prediction: A Deep Learning Approach" Authors: H. Nguyen, A. Nguyen, and K. Nguyen
Published in: 2018 International Conference on Advanced Computing and Applications (ACOMP) DOI:
10.1109/ACOMP.2018.00008
[16]. "Airfare Prediction System using Machine Learning Techniques" Authors: N. Arifin, S. Hartono, and
N. P. D. Simamora Published in: 2017 2nd International Conferences on Information Technology,
Information Systems and Electrical Engineering (ICITISEE) DOI: 10.1109/ICITISEE.2017.8256920
[17]. "Predicting Flight Fares using Machine Learning Techniques" Authors: P. Kaushik and M. Kaur
Published in: 2016 International Conference on Computing, Communication and Automation (ICCCA)
DOI: 10.1109/CCAA.2016.7813906
[18]. "Machine Learning Approaches for Airfare Prediction" Authors: M. Gupta and A. Goyal Published in:
2015 International Conference on
Green Computing and Internet of Things (ICGCIoT) DOI: 10.1109/ICGCIoT.2015.7380513
57