Giter VIP home page Giter VIP logo

cab-fare-prediction's Introduction

Cab-Fare-Prediction

GitHub folder contains:

  1. R code of project in ‘.R format’: Cab Fare Prediction Using R.R
  2. Python code of project in ‘.ipynb format’: Cab Fare Prediction Using Python.ipynb
  3. Project report: Cab Fare Prediction.pdf
  4. Problem Statement.pdf
  5. Saved Model trained on entire training dataset from python: cab_fare_xgboost_model.rar
  6. Saved Model trained on entire training dataset from python: final_Xgboost_model_using_R.rar
  7. Predictions on test dataset in csv format:predictions_xgboost.csv

Problem Statement

The objective of this Project is to Predict Cab Fare amount based upon following data attributes in the dataset are as follows:

pickup_datetime - timestamp value indicating when the cab ride started.
pickup_longitude - float for longitude coordinate of where the cab ride started.
pickup_latitude - float for latitude coordinate of where the cab ride started.
dropoff_longitude - float for longitude coordinate of where the cab ride ended.
dropoff_latitude - float for latitude coordinate of where the cab ride ended.
passenger_count - an integer indicating the number of passengers in the cab ride.

It is a regression Problem.

All the steps implemented in this project

  1. Data Pre-processing.
  2. Data Visualization.
  3. Outlier Analysis.
  4. Missing value Analysis.
  5. Feature Selection.
  • Correlation analysis.
  • Chi-Square test.
  • Analysis of Variance(Anova) Test
  • Multicollinearity Test.
  1. Feature Scaling.
  • Normalization.
  1. Splitting into Train and Validation Dataset.
  2. Hyperparameter Optimization.
  3. Model Development I. Linear Regression II. Ridge Regression III. Lasso Regression IV. Decision Tree V. Random Forest
  4. Improve Accuracy a) Algorithm Tuning b) Ensembles------XGBOOST For Regression Finalize Model a) Predictions on validation dataset b) Create standalone model on entire training dataset c) Save model for later use
  5. Python Code

cab-fare-prediction's People

Contributors

akshaypatil7 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.