decision_boundary-dev / backend /contract /invalid_model_settings.json
nhamid289's picture
Deploy decision boundary: new layout, dataset picker, model settings and results
f586f77 verified
Raw History Blame Contribute Delete
532 Bytes
{
"description": "A setting outside its allowed range is a user error, shown to the student",
"calls": {
"handle_set_dataset": {
"args": {
"inputs": [[-1.0, 1.0], [1.0, -1.0]],
"outputs": ["Black", "Light Orange"]
},
"result": null
},
"handle_set_model_config": {
"args": { "type": "knn", "params": { "n_neighbors": 50 } },
"result": null
},
"handle_build_model": {
"error": { "kind": "user", "message": "Neighbours must be between 1 and 30" }
}
}
}