From 947f08ac2c7cb670653c8032e32d1149e4075126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Thu, 18 Apr 2024 16:13:09 +0200 Subject: [PATCH] [DOCS] Modifies style. --- ...MlEvaluateDataFrameResponseClassificationExample2.json | 6 +++--- .../MlEvaluateDataFrameRequestClassificationExample1.json | 8 ++++---- .../MlEvaluateDataFrameRequestClassificationExample2.json | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample2.json b/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample2.json index c7b36856ae..f7702fd424 100644 --- a/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample2.json +++ b/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample2.json @@ -1,9 +1,9 @@ { "summary": "A succesful response for evaluating a classification analysis job with the AUC ROC metrics for an annotated index.", "value": { - "classification" : { - "auc_roc" : { - "value" : 0.8941788639536681 + "classification": { + "auc_roc": { + "value": 0.8941788639536681 } } } diff --git a/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample1.json b/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample1.json index 93c5096794..32bac77108 100644 --- a/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample1.json +++ b/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample1.json @@ -4,11 +4,11 @@ "value": { "index": "animal_classification", "evaluation": { - "classification": { - "actual_field": "animal_class", - "predicted_field": "ml.animal_class_prediction", + "classification": { + "actual_field": "animal_class", + "predicted_field": "ml.animal_class_prediction", "metrics": { - "multiclass_confusion_matrix" : {} + "multiclass_confusion_matrix": {} } } } diff --git a/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample2.json b/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample2.json index 1780171624..b0020c6245 100644 --- a/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample2.json +++ b/specification/ml/evaluate_data_frame/examples/request/MlEvaluateDataFrameRequestClassificationExample2.json @@ -4,11 +4,11 @@ "value": { "index": "animal_classification", "evaluation": { - "classification": { - "actual_field": "animal_class", + "classification": { + "actual_field": "animal_class", "metrics": { - "auc_roc" : { - "class_name": "dog" + "auc_roc": { + "class_name": "dog" } } }