Code Monkey home page Code Monkey logo

flightfareprediction-2021's Introduction

FlightFarePrediction-2021

This is an end to end project for predicting flight fare and deploying the model using and in heroku platform.

The link of the deployed app : https://flight-fare-prediction-2021.herokuapp.com

Screenshot (103)

Overview

This is a Flask web app which predicts fare of Flight ticket.

Motivation

I started to learn different Machine Learning model to understand it and was always fascinated and curious to get most out of it by applying to real world problems. I understood the mathematics behind all supervised models i.e for this problem problem I used a Regression model(Randon Forest Regressor) and also performed Hyperparameter optimization. Finally I applied it this problem.

Installation

The Code is written in Python 3.6. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt

Deployement on Heroku

Login or signup in order to create virtual app. You can either connect your github profile or download ctl to manually deploy this project. You can Login/Signup using the link: https://id.heroku.com/login

Directory Tree

├── static 
│   ├── css
├── template
│   ├── home.html
├── Procfile
├── README.md
├── app.py
├── flight_price.ipynb
├── flight_rf.pkl
├── requirements.txt

Technologies used

  1. Flask
  2. Gunicorn
  3. Scikit-Learn

Future Scope

1.Use multiple Algorithms to find a better algorithm with better performance.

2.Optimize Flask app.py

3.Improve the Front-End to make the app look more attractive and interactive.

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.