@@ -930,18 +930,18 @@ produce an F-score that is not between precision and recall.
930930
931931To make this more explicit, consider the following notation:
932932
933- * :math: `y` the set of *predicted * :math: `(sample, label)` pairs
934- * :math: `\hat {y}` the set of *true * :math: `(sample, label)` pairs
933+ * :math: `y` the set of *true * :math: `(sample, label)` pairs
934+ * :math: `\hat {y}` the set of *predicted * :math: `(sample, label)` pairs
935935* :math: `L` the set of labels
936936* :math: `S` the set of samples
937937* :math: `y_s` the subset of :math: `y` with sample :math: `s`,
938938 i.e. :math: `y_s := \left \{(s', l) \in y | s' = s\right \}`
939939* :math: `y_l` the subset of :math: `y` with label :math: `l`
940940* similarly, :math: `\hat {y}_s` and :math: `\hat {y}_l` are subsets of
941941 :math: `\hat {y}`
942- * :math: `P(A, B) := \frac {\left | A \cap B \right |}{\left |A \right |}` for some
942+ * :math: `P(A, B) := \frac {\left | A \cap B \right |}{\left |\right |}` for some
943943 sets :math: `A` and :math: `B`
944- * :math: `R(A, B) := \frac {\left | A \cap B \right |}{\left |B \right |}`
944+ * :math: `R(A, B) := \frac {\left | A \cap B \right |}{\left |A \right |}`
945945 (Conventions vary on handling :math: `B = \emptyset `; this implementation uses
946946 :math: `R(A, B):=0 `, and similar for :math: `P`.)
947947* :math: `F_\beta (A, B) := \left (1 + \beta ^2 \right ) \frac {P(A, B) \times R(A, B)}{\beta ^2 P(A, B) + R(A, B)}`
0 commit comments