From eb08b77c4f8017cd8a3e12c4a4d8d11651ba3d08 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 15:50:44 +0200 Subject: [PATCH] [DOCS] Fixes style. --- ...taFrameResponseClassificationExample1.json | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample1.json b/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample1.json index 1cb082093f..f11f17604c 100644 --- a/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample1.json +++ b/specification/ml/evaluate_data_frame/examples/200_response/MlEvaluateDataFrameResponseClassificationExample1.json @@ -2,41 +2,41 @@ "summary": "A succesful response for evaluating a classification analysis job for an annotated index.", "description": "The `actual_class` contains the name of the class the analysis tried to predict. The `actual_class_doc_count` is the number of documents in the index belonging to the `actual_class`. The `predicted_classes` object contains the list of the predicted classes and the number of predictions associated with the class.", "value": { - "classification" : { - "multiclass_confusion_matrix" : { - "confusion_matrix" : [ + "classification": { + "multiclass_confusion_matrix": { + "confusion_matrix": [ { - "actual_class" : "cat", - "actual_class_doc_count" : 12, - "predicted_classes" : [ + "actual_class": "cat", + "actual_class_doc_count": 12, + "predicted_classes": [ { - "predicted_class" : "cat", - "count" : 12 + "predicted_class": "cat", + "count": 12 }, { - "predicted_class" : "dog", - "count" : 0 + "predicted_class": "dog", + "count": 0 } ], - "other_predicted_class_doc_count" : 0 + "other_predicted_class_doc_count": 0 }, { - "actual_class" : "dog", - "actual_class_doc_count" : 11, - "predicted_classes" : [ + "actual_class": "dog", + "actual_class_doc_count": 11, + "predicted_classes": [ { - "predicted_class" : "dog", - "count" : 7 + "predicted_class": "dog", + "count": 7 }, { - "predicted_class" : "cat", - "count" : 4 + "predicted_class": "cat", + "count": 4 } ], - "other_predicted_class_doc_count" : 0 + "other_predicted_class_doc_count": 0 } ], - "other_actual_class_count" : 0 + "other_actual_class_count": 0 } } }