Spaces:
Running
Running
Download backend/contract/invalid_model_settings.json from nhamid289/decision_boundary-dev: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/spaces/nhamid289/decision_boundary-dev/resolve/main/backend/contract/invalid_model_settings.json
- Command line
-
hf download hf://spaces/nhamid289/decision_boundary-dev/backend/contract/invalid_model_settings.json
-
curl -L -o invalid_model_settings.json https://huggingface.co/spaces/nhamid289/decision_boundary-dev/resolve/main/backend/contract/invalid_model_settings.json
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" } | |
| } | |
| } | |
| } | |