search_run
Random search or successive halving over a parameter space with folds.
Flags
| Flag | Value |
|---|---|
| Kind | fit: learns a value from data |
| Rows | one result, not a table |
| Deterministic | yes |
| Order matters | no |
| Decomposable | no |
| Makes | a model value |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
table |
reference | yes | A value's reference. |
split |
reference | yes | A value's reference. |
response_format |
"concise" | "detailed" | no | The byte budget: 64 KiB concise, 512 KiB detailed. |
Example
Over the example tables reg; ${input:name} is an input's reference and ${verb} the value an earlier call made.
split_make {
"table": "${input:reg}",
"kind": "random",
"seed": 6
}
search_run {
"table": "${input:reg}",
"split": "${split_make}",
"model": {
"family": "ridge",
"target": "y",
"features": [
"f0",
"f1",
"f2",
"f3",
"f4"
]
},
"space": {
"alpha": {
"log_uniform": [
0.001,
100
]
}
},
"trials": 8,
"k": 3,
"seed": 6
}Result
searched and refitted
{
"ref": "sha256:d9c39fa074beb2e9fa6d2bc66d25df5727f45282f2dfde635714259fd6dd9b2f",
"kind": "model",
"search": "…"
}Diagnostics
A refusal comes back as ok: false with coded diagnostics; every code, with its fix, is on the diagnostics page. A parameter that does not match the schema above is ARG_INVALID, with the parameter's path.