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 c73dfb561d
Merge remote-tracking branch 'origin/main' into main
2 minutes ago
449d2a2618
Added dvc
2 weeks ago
5cee1374cc
Updated workflow
3 hours ago
34d35c8b79
Update data dvc
6 minutes ago
34d35c8b79
Update data dvc
6 minutes ago
gx
7397d977c9
Updated suite
4 days ago
73fb979ea8
Added dependency to pyproject.toml, added 'models' directory to gitignore
2 days ago
cd84b34492
Update data dvc
2 hours ago
src
9c4060e665
Updated api.py to fix CORS issues
2 minutes ago
00f1ef6e0e
Added tests for API endpoints, and added a job step to workflow, that runs the tests
2 weeks ago
34d35c8b79
Update data dvc
6 minutes ago
449d2a2618
Added dvc
2 weeks ago
73fb979ea8
Added dependency to pyproject.toml, added 'models' directory to gitignore
2 days ago
a061e7e048
Updated Dockerfile
4 hours 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 day ago
34d35c8b79
Update data dvc
6 minutes ago
73156b7f07
Added 'ROOT_DIR' and used it in scripts
1 month ago
534754f945
Updated pyproject and poetry.lock with new dependencies
16 hours ago
534754f945
Updated pyproject and poetry.lock with new dependencies
16 hours 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...