Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
kristjansuligoj a68639275e
Update train_and_evaluate_models.yml
3 days ago
449d2a2618
Added dvc
1 month ago
a68639275e
Update train_and_evaluate_models.yml
3 days ago
c07ac9a0a0
Update data dvc
3 days ago
110fef4e97
Update data dvc
3 days ago
gx
7397d977c9
Updated suite
2 weeks ago
73fb979ea8
Added dependency to pyproject.toml, added 'models' directory to gitignore
1 week ago
d137ea8273
Update data dvc
3 days ago
src
f633d18cc2
Updated client
1 week ago
00f1ef6e0e
Added tests for API endpoints, and added a job step to workflow, that runs the tests
1 month ago
b5bfde705f
Update data dvc
3 days ago
449d2a2618
Added dvc
1 month ago
73fb979ea8
Added dependency to pyproject.toml, added 'models' directory to gitignore
1 week ago
4af27fc265
Update Dockerfile
5 days ago
30254febc0
Updated README.md and added test-api-data.json, so user can test the API
1 month ago
ec38ae9248
Updated project structure and Dockerfile
1 week ago
c07ac9a0a0
Update data dvc
3 days ago
73156b7f07
Added 'ROOT_DIR' and used it in scripts
1 month ago
534754f945
Updated pyproject and poetry.lock with new dependencies
1 week ago
534754f945
Updated pyproject and poetry.lock with new dependencies
1 week ago
Storage Buckets
Data Pipeline
Legend
DVC Managed File
Git Managed File
Metric
Stage File
External File

README.md

You have to be logged in to leave a comment. Sign In

IIS - MBajk prediction app

Description

This app uses a RNN model to predict available bike stands at a specific stop, based on data on previous days.

Requirements

  • Poetry
  • Python >= 3.9

Dependencies

This project uses Poetry for dependency management. Poetry takes care of installing all the necessary dependencies for running the application.

Installation

  1. 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.

  2. Clone this repository:

    git clone https://github.com/kristjansuligoj/iis-vaja.git
    
  3. Navigate to the project directory:

    cd iis-vaja
    
  4. Install project dependencies:

    poetry install
    

Usage

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.

Making Predictions

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.

Testing the API

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.

Tip!

Press p or to see the previous file or, n or to see the next file

About

No description

Collaborators 1

Comments

Loading...