Are you sure you want to delete this access key?
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
Legend |
---|
DVC Managed File |
Git Managed File |
Metric |
Stage File |
External File |
This app uses a RNN model to predict available bike stands at a specific stop, based on data on previous days.
This project uses Poetry for dependency management. Poetry takes care of installing all the necessary dependencies for running the application.
Make sure you have Poetry installed. You can check by running the following command:
poetry --version
If not installed, follow the Poetry installation guide to install Poetry.
Clone this repository:
git clone https://github.com/kristjansuligoj/iis-vaja.git
Navigate to the project directory:
cd iis-vaja
Install project dependencies:
poetry install
To run the API, use the following command:
poetry run api
Once the API is running, it exposes an endpoint at http://0.0.0.0:5000/predict/mbajk
.
To get a prediction, send a POST request to the endpoint with previous data points. You can use tools like cURL, Postman, or any HTTP client library.
An example of the raw body that should be sent for testing the API can be found in /data/test/test-api-data.json
. You can use this sample data to verify that the API is functioning correctly.
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?