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 Name | Deployed App | Presentation |
---|---|---|
Yassir ETA prediction | Gradio App on Huggingface | Tome Presentation |
dataset/
: Contains the dataset used for analysis, and predicted values.dev/
: Contains jupyter notebook with full end-to-end ML processtoolkit/
: Pipeline with ML model.gitignore
: Holds files to be ignored by Git.app.py
: Working Gradio app for predictionLICENSE
: Project license.README.md
: Project overview, links, highlights, and information.requirements.txt
: Required libraries & packages
You need to have Python 3
on your system. Then you can clone this repo and being at the repo's root :: repository_name> ...
- Clone this repository:
git clone https://github.com/Azie88/Estimated-Time-of-Arrival-ETA-Prediction.git
- 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
-
Go to your browser at the following address :
-
- Explore the Jupyter notebook for detailed steps and code execution.
- Check out the live running app on Huggingface Spaces.
- Check out the AI generated project Presentation made with the tone app.
Andrew Obando
Connect with me on LinkedIn: Andrew Obando
Feel free to star ⭐ this repository if you find it helpful!