Skip to content

Commit 86cd1ac

Browse files
committed
update jaccard formula
1 parent 0c34225 commit 86cd1ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/3-classification.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,13 +693,13 @@ \subsection{Jaccard Index}
693693
{
694694
$\displaystyle
695695
J(A, B) =
696-
\frac{\textcolor{nmlred}{|A \cap B|}}
697-
{\textcolor{nmlblue}{|A \cup B|}}
696+
\frac{\textcolor{nmlpurple}{|A \cap B|}}
697+
{\textcolor{nmlcyan}{|A \cup B|}}
698698
$
699699
}
700700
};
701-
\draw[-latex, nmlred, semithick] ($(a.south)+(1.5, 1.2)$) to[bend right=35] node[pos=1, left] {\color{nmlred} Intersection (common elements)} +(-0.9, .7);
702-
\draw[-latex, nmlblue, semithick] ($(a.south)+(2.5,0.04)$) to[bend left=35] node[pos=1, right] {\color{nmlblue} Union (all unique elements)} +(.9, -.7);
701+
\draw[-latex, nmlpurple, semithick] ($(a.south)+(1.2, 1.4)$) to[bend right=35] node[pos=1, left] {\color{nmlpurple} Intersection (common elements)} +(-0.9, .7);
702+
\draw[-latex, nmlcyan, semithick] ($(a.south)+(1.2,0.04)$) to[bend right=35] node[pos=1, right] {\color{nmlcyan} Union (all elements)} +(.9, -.7);
703703
}
704704
\end{center}
705705

0 commit comments

Comments
 (0)