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