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 } } }