DOC add blank line for RST rendering
@@ -237,6 +237,7 @@ def confusion_matrix(y_true, y_pred, labels=None, sample_weight=None):
[1, 0, 2]])
In the binary case, we can extract true positives, etc as follows:
+
>>> tn, fp, fn, tp = confusion_matrix([0, 1, 0, 1], [1, 1, 1, 0]).ravel()
>>> (tn, fp, fn, tp)
(0, 2, 1, 1)
