Skip to content

Creating an ML model to predict the estimated time of arrival at the dropoff point for a single journey on a ride-hailing app.

License

Notifications You must be signed in to change notification settings

Azie88/Estimated-Time-of-Arrival-ETA-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Estimated Time of Arrival (ETA) Prediction

App (1)

Creating an ML model to predict the estimated time of arrival at the dropoff point for a single journey on a ride-hailing app.

Project Summary 📄

Project Name Deployed App Presentation
Yassir ETA prediction Gradio App on Huggingface Tome Presentation

Project Structure 📂

  • dataset/: Contains the dataset used for analysis, and predicted values.
  • dev/: Contains jupyter notebook with full end-to-end ML process
  • toolkit/: Pipeline with ML model
  • .gitignore: Holds files to be ignored by Git.
  • app.py: Working Gradio app for prediction
  • LICENSE: Project license.
  • README.md: Project overview, links, highlights, and information.
  • requirements.txt: Required libraries & packages

Getting Started🏁

You need to have Python 3 on your system. Then you can clone this repo and being at the repo's root :: repository_name> ...

  1. Clone this repository: git clone https://github.com/Azie88/Estimated-Time-of-Arrival-ETA-Prediction.git
  2. On your IDE, create A Virtual Environment and Install the required packages for the project:
  • Windows:

      python -m venv venv; 
      venv\Scripts\activate; 
      python -m pip install -q --upgrade pip; 
      python -m pip install -qr requirements.txt  
    
  • Linux & MacOs:

      python3 -m venv venv; 
      source venv/bin/activate; 
      python -m pip install -q --upgrade pip; 
      python -m pip install -qr requirements.txt  
    

The two long command-lines have the same structure. They pipe multiple commands using the symbol ; but you can manually execute them one after the other.

  • Create the Python's virtual environment that isolates the required libraries of the project to avoid conflicts;
  • Activate the Python's virtual environment so that the Python kernel & libraries will be those of the isolated environment;
  • Upgrade Pip, the installed libraries/packages manager to have the up-to-date version that will work correctly;
  • Install the required libraries/packages listed in the requirements.txt file so that they can be imported into the python script and notebook without any issue.

NB: For MacOs users, please install Xcode if you have an issue.

  • Run the Gradio app (being at the repository root):

    Gradio:

    For development

    gradio app.py
    

    For normal deployment/execution

    python app.py  
    
  1. Explore the Jupyter notebook for detailed steps and code execution.
  2. Check out the live running app on Huggingface Spaces.
  3. Check out the AI generated project Presentation made with the tone app.

Gradio App Screenshots

Gradio App 1 Gradio App  2

Author✍️

Andrew Obando

Connect with me on LinkedIn: Andrew Obando


Feel free to star ⭐ this repository if you find it helpful!

About

Creating an ML model to predict the estimated time of arrival at the dropoff point for a single journey on a ride-hailing app.

Topics

Resources

License

Stars

Watchers

Forks