Public Repository

Last pushed: 5 months ago
Short Description
Best Trip Recommender API
Full Description

This container runs the Best Trip Recommender API for the public transport of a city. The API currently predicts the trip number of passengers and it's duration. It provides train and test endpoints for the embedded machine learning model.

How to use the container:

1: Download and extract the data used by the Best Trip Recommender API in the following link:
https://drive.google.com/file/d/0B3NoFHg_3tQrOHh3RHhXc2ZJOGs/view?usp=sharing
If you don't have permission to download, contact us by the following email:
nazareno@computacao.ufcg.edu.br

2: Download docker-compose file:
$ wget https://raw.githubusercontent.com/analytics-ufcg/best-trip-recommender/master/best_trip_recommender/docker-compose.yml

3: Download the example.env file:
$ wget https://raw.githubusercontent.com/analytics-ufcg/best-trip-recommender/master/best_trip_recommender/example.env

4: Copy this file to a .env file:
$ cp example.env .env

5: Use your favorite editor to change the .env file and update the variables.

6: Run the container:
$ docker-compose up

API Usage:

After you run the previous steps, check the following link in the API Usage session to see the usage.
https://github.com/analytics-ufcg/best-trip-recommender#api-usage

Docker Pull Command
Owner
eubrabigsea

Comments (0)