[DOCS] Fixes indentation in inference processor code snippet (#51252)
This commit is contained in:
parent
6b5b26a595
commit
30d1587ad5
|
@ -27,7 +27,7 @@ include::common-options.asciidoc[]
|
||||||
"model_id": "flight_delay_regression-1571767128603",
|
"model_id": "flight_delay_regression-1571767128603",
|
||||||
"target_field": "FlightDelayMin_prediction_infer",
|
"target_field": "FlightDelayMin_prediction_infer",
|
||||||
"field_mappings": {},
|
"field_mappings": {},
|
||||||
"inference_config": {"regression": {}},
|
"inference_config": { "regression": {} },
|
||||||
"model_info_field": "ml"
|
"model_info_field": "ml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -73,10 +73,10 @@ Specifies the field to which the top classes are written. Defaults to
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
"inference_config": {
|
"inference_config": {
|
||||||
“regression”: {
|
"regression": {
|
||||||
“results_field”: “my_regression”
|
"results_field": "my_regression"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
// NOTCONSOLE
|
// NOTCONSOLE
|
||||||
|
@ -90,10 +90,10 @@ object.
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
{
|
{
|
||||||
"inference_config": {
|
"inference_config": {
|
||||||
“classification”: {
|
"classification": {
|
||||||
“num_top_classes”: 2,
|
"num_top_classes": 2,
|
||||||
“results_field”: “prediction”,
|
"results_field": "prediction",
|
||||||
“top_classes_results_field”: “probabilities”
|
"top_classes_results_field": "probabilities"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue