Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 84d671e

Browse files
committed
fixing equations
1 parent 60ce9ae commit 84d671e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Machine Learning/Class Assigment Objectives/classification-class-assignment-objective.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -513,20 +513,20 @@
513513
"\n",
514514
"For `maximize_minimum_recall` we estimate a threshold $k$ using an optimization procedure and compute:\n",
515515
"$$\n",
516-
"\\text{class_score}(\\text{class 0}) = \\left\\{\\notag\n",
517-
"\\begin{eqnarray*} \\\\\n",
516+
"\\text{class_score}(\\text{class 0}) = \\left\\{\n",
517+
"\\begin{eqnarray*} \n",
518518
" \\frac{k}{1.0-k}\\cdot \\text{probability}(\\text{class 0}) & \\text{ if k < 0.5}, \\notag\\\\\n",
519519
" \\text{probability}(\\text{class 0}) & \\text{ else.} \\notag\n",
520-
"\\end{eqnarray*}\\notag\n",
520+
"\\end{eqnarray*}\n",
521521
"\\right.\n",
522522
"$$\n",
523523
"$$\n",
524-
"\\text{class_score}(\\text{class 1}) = \\left\\{\\notag\n",
525-
"\\begin{eqnarray*} \\\\\n",
524+
"\\text{class_score}(\\text{class 1}) = \\left\\{\n",
525+
"\\begin{eqnarray*} \n",
526526
" \\text{probability}(\\text{class 1}) & \\text{ if k < 0.5}, \\notag\\\\\n",
527527
" \\frac{1.0-k}{k}\\cdot \\text{probability}(\\text{class 1}) & \\text{ else.} \\notag\n",
528528
"\\end{eqnarray*}\n",
529-
"\\right.\\notag\n",
529+
"\\right.\n",
530530
"$$\n",
531531
"\n",
532532
"As a result, we would assign different classes for some data points especially from the minority class:"

0 commit comments

Comments
 (0)