Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 852 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 852 Bytes

MiCADO - Scaling Optimizer with Machine Learning Support

Start program

From project root run
python optimizer.py --cfg path/to_config_file

Test REST API

POST /optimizer/init
Initialize optimizer with the neccessary constants.
curl -X POST http://127.0.0.1:5000/optimizer/init --data-binary @test_files/optimizer_constants.yaml

GET /optimizer/training_data
Download zipped training data that contains both neural network and linear regression data.
curl -X GET http://127.0.0.1:5000/optimizer/training_data

POST /optimizer/sample
Send a new training sample.
curl -X POST http://127.0.0.1:5000/optimizer/sample --data-binary @test_files/metrics_sample_example.yaml

GET /optimizer/advice
Get scaling advice.
curl -X GET http://127.0.0.1:5000/optimizer/advice