title: Run Experiment Template Guide (REST)

Experiment Template Spec

The experiment is represented in JSON or YAML format.

Use existing experiment template to create a experiment

POST /api/v1/experiment/{template-name}

Example Request:

curl -X POST -H "Content-Type: application/json" -d '
{
    "params": {
        "learning_rate":"0.01",
        "batch_size":"150",
        "experiment_name":"newexperiment1"
    }
}
' http://127.0.0.1:32080/api/v1/experiment/tf-mnist

Example Request:

curl -X POST -H "Content-Type: application/json" -d '
{
    "params": {
        "experiment_name":"new-pytorch-mnist"
    }
}
' http://127.0.0.1:32080/api/v1/experiment/pytorch-mnist

Register experiment template and more info see Experiment Template API Reference.