From fe67d055f55e0452ba9c49211d56ca22324ba9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Thu, 8 Oct 2020 17:05:04 +0200 Subject: [PATCH] [DOCS] Adds huber and msle metrics to Evaluate API example calls (#63414) --- .../df-analytics/apis/evaluate-dfanalytics.asciidoc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/reference/ml/df-analytics/apis/evaluate-dfanalytics.asciidoc b/docs/reference/ml/df-analytics/apis/evaluate-dfanalytics.asciidoc index a7c51235e3a..e72b7f974cc 100644 --- a/docs/reference/ml/df-analytics/apis/evaluate-dfanalytics.asciidoc +++ b/docs/reference/ml/df-analytics/apis/evaluate-dfanalytics.asciidoc @@ -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": {} } } }