Skip to content

Commit c4e186c

Browse files
committed
1 parent 41db1bd commit c4e186c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

q2_sample_classifier/visuals.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ def _plot_confusion_matrix(y_test, y_pred, classes, normalize, palette,
167167
predictions.loc["Overall Accuracy"] = ""
168168
predictions.loc["Baseline Accuracy"] = ""
169169
predictions.loc["Accuracy Ratio"] = ""
170-
predictions.loc["Overall Accuracy"]["Overall Accuracy"] = accuracy
171-
predictions.loc["Baseline Accuracy"]["Overall Accuracy"] = basline_accuracy
172-
predictions.loc["Accuracy Ratio"]["Overall Accuracy"] = accuracy_ratio
170+
predictions.loc["Overall Accuracy", "Overall Accuracy"] = accuracy
171+
predictions.loc["Baseline Accuracy", "Overall Accuracy"] = basline_accuracy
172+
predictions.loc["Accuracy Ratio", "Overall Accuracy"] = accuracy_ratio
173173

174174
return predictions, confusion
175175

0 commit comments

Comments
 (0)