Giter Site home page Giter Site logo

flight-fare's Introduction

Flight Fare Prediction

This project aims to solve the problem of predicting the predicting the Flight Fare price, using Sklearn's supervised machine learning techniques. It is a classification problem and predictions are carried out on dataset, Several regression techniques have been studied, including XGboost and Random forests of decision trees.

๐Ÿ’ฟ Installing

  1. Environment setup.
conda create --prefix venv python=3.9 -y
conda activate venv/
  1. Install Requirements and setup
pip install -r requirements.txt
  1. Run Application
Flask

๐Ÿ”ง Built with

  • Flask
  • Python 3.9
  • Machine learning
  • ๐Ÿฆ Industrial Use Cases

Models Used

  • Linear Regression

  • Lasso Regression

  • Ridge Regression

  • K-Neighbors Regressor

  • Decision Tree

  • Random Forest Regressor

  • XGBRegressor

  • CatBoosting Regressor

  • AdaBoost Regressor

  • GridSearchCV is used for Hyperparameter Optimization in the pipeline.

  • Any modification has to be done in Inside Config.yaml which can be done in route /update_model_config

flightFare is the main package folder which contains

Artifact : Stores all artifacts created from running the application

Components : Contains all components of Machine Learning Project

  • DataIngestion
  • DataValidation
  • DataTransformations
  • ModelTrainer
  • ModelEvaluation
  • ModelPusher

Frontend to show Artifact, Experiment, Model Training, Saved Models, logs which can be accessed from the developer

Routes for An API:

/predict
  • Predict Route for User to predict

Example Input For Prediction: "Airline" : "Jet Airways",
"Date_of_Journey" : "9/10/2019",
"Source" : "Banglore",
"Destination" : "Cochin",
"Dep_Time" : "20:25",
"Arrival_Time" : "04:25",
"Duration" : "19h",
"Total_Stops" : 1,

Custom Logger and Exceptions are used in the Project for better debugging purposes.

Conclusion

  • This Project can be used in real-life by Users to predict the Flight Price

flight-fare's People

Contributors

wasimmadha avatar

Stargazers

Panuganti Arun Kumar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.