[DOCS] Adds huber and msle metrics to Evaluate API example calls (#63414)

This commit is contained in:
István Zoltán Szabó 2020-10-08 17:05:04 +02:00
parent 85cd8e4868
commit fe67d055f5
1 changed files with 9 additions and 3 deletions

View File

@ -315,7 +315,9 @@ POST _ml/data_frame/_evaluate
"predicted_field": "ml.price_prediction", <4>
"metrics": {
"r_squared": {},
"mse": {}
"mse": {},
"msle": {"offset": 10},
"huber": {"delta": 1.5}
}
}
}
@ -352,7 +354,9 @@ POST _ml/data_frame/_evaluate
"predicted_field": "ml.G3_prediction", <3>
"metrics": {
"r_squared": {},
"mse": {}
"mse": {},
"msle": {},
"huber": {}
}
}
}
@ -391,7 +395,9 @@ POST _ml/data_frame/_evaluate
"predicted_field": "ml.G3_prediction", <3>
"metrics": {
"r_squared": {},
"mse": {}
"mse": {},
"msle": {},
"huber": {}
}
}
}