{"id":27968588,"url":"https://github.com/ging/tinyml-mlops-fiware-barrier","last_synced_at":"2025-05-07T21:05:07.663Z","repository":{"id":220588911,"uuid":"752041833","full_name":"ging/tinyML-MLOps-Fiware-Barrier","owner":"ging","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-02T20:08:31.000Z","size":507,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-07T21:05:03.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ging.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-02T22:06:25.000Z","updated_at":"2025-01-05T00:57:12.000Z","dependencies_parsed_at":"2024-02-02T23:25:35.433Z","dependency_job_id":"204b366f-3842-4726-85ed-2cef2ab4a12a","html_url":"https://github.com/ging/tinyML-MLOps-Fiware-Barrier","commit_stats":null,"previous_names":["ging/tinyml-mlops-fiware-barrier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ging%2FtinyML-MLOps-Fiware-Barrier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ging%2FtinyML-MLOps-Fiware-Barrier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ging%2FtinyML-MLOps-Fiware-Barrier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ging%2FtinyML-MLOps-Fiware-Barrier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ging","download_url":"https://codeload.github.com/ging/tinyML-MLOps-Fiware-Barrier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954429,"owners_count":21830903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T21:05:07.093Z","updated_at":"2025-05-07T21:05:07.649Z","avatar_url":"https://github.com/ging.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FIWARE Machine Learning TinyML and MLOps - Barrier use case\n\nStart base infraestructure\n```\ndocker compose up -d\n```\n\n```\ncd airflow\ndocker compose up -d\n```\n\n## With Airflow as orchestrator\n\n- Access http://localhost:5000 to access MLFlow client\n\n- Access http://localhost:8080 to access the Airflow Web UI (user: airflow, password: airflow)\n\n- Initialize the dags:\n  - 1. `create_connection_dag` to create the connection to train server\n  - 2. `train_model` to train the model\n\n\nEvery 20 seconds the `urn:ngsi-ld:DensityDevice:1:Measurement:1` entity is updates, orion sends a notification to the predict system, who updates the `urn:ngsi-ld:DensityDevice:1:Prediction:1`\n\nTo get the entities:\n\n```\ncurl localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:DensityDevice:1:Measurement:1\n```\n\n```\ncurl localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:DensityDevice:1:Prediction:1\n```\n\n```\ncurl localhost:1026/ngsi-ld/v1/subscriptions\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fging%2Ftinyml-mlops-fiware-barrier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fging%2Ftinyml-mlops-fiware-barrier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fging%2Ftinyml-mlops-fiware-barrier/lists"}