Giter VIP home page Giter VIP logo

neel-ds / fare-prediction Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 6.71 MB

Developed end-to-end taxi fare prediction using big data NYC Taxi Fare on Azure portal and achieved best performance by ensemble methods.

License: MIT License

Jupyter Notebook 78.10% HTML 21.84% Python 0.06%
apache-spark azure big-data big-data-analytics databricks mlops prediction delivery-service taxi-service transportation

fare-prediction's Introduction

Fare Prediction

The transportation industry is thriving in the hotspot city. Such companies are providing ridesharing services from door to door using algorithms or chunks of data to leverage the customers at a valuable price. Generally, those fares are dynamic and estimated considering the distance but the target fare should not be dependent only on trip distance. It must consider significant features like the demands, traffic, and potential area based on data from past years. So, the approach considers the service provider and customer to get a relative benefit over the competition. Likewise, the proposed method will include end-to-end development for real-world usage.

Evaluation and Conclusion

Model Name RMSE R2 Score
Linear Regression 6.64 54.94%
Decision Tree 5.20 71.86%
Random Forest 5.26 71.49%
Gradient Boosting 4.80 76.22%

The purpose of this project is to estimate those fare calculations, with a machine learning approach that could be fast enough to utilize while providing services to the real-time customer. The results of the regression showed that the proposed method has potential as far as different known quality metrics. Furthermore, I implemented feature scaling and the performance improved. In the deployment, the Gradient Boosting model performed well with 4.47 RMSE & R2 score of 79.22%. The model has been registered in the MLflow so it can be served in real-time as a REST endpoint which allows HTTPS requests and gives the output based on the input request by the client. Later models can be more robust and precise by utilizing real-time traffic data. To sum up, test evaluation and outright insights can be implemented in the food delivery chain or other product delivery services strategically as per the requirement and domain expertise.

Kindly read the project documentation file for getting started. For more details of the project, refer the detailed report file. To download the dataset here.

Copyrights © 2022 by Neel Patel. All rights are reserved.

fare-prediction's People

Contributors

neel-ds avatar vrajdesai78 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vrajdesai78

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.