-
Install docker and docker compose.
-
Create conda environment
conda env create -f env_mac.yaml conda activate rendezvous_arch
-
Train
canary
andproduction
modelmake train-canary
make train-model
-
Deploy services
make up
Wait for several minutes until all services are ready.
-
Make an HTTP-GET request to
http://localhost:8000/ping
, should get{"ping": "pong"}
-
Make an HTTP-POST request to
localhost:8000/predict
with body:{ "sepalLength": 9, "sepalWidth": 10, "petalLength": 11, "petalWidth": 12 }
should get
{ "timestamp": 1644370787.021771, "messageId": "cec42337-49ad-4f19-a478-69a1ef480e8a", "modelInput": { "sepalLength": 9.0, "sepalWidth": 10.0, "petalLength": 11.0, "petalWidth": 12.0 }, "modelResult": { "modelName": "dt", "result": 2 } }
-
Create indices for
decoy-log
andscore-log
at Kibanahttp://localhost:5601
.
munhouiani/rendezvous-arch
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published