Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
The recall formula wasn't rendering properly.
  • Loading branch information
daniel-m-campos committed Feb 15, 2024
1 parent 946b6a3 commit 570be63
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions notebooks/metrics_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,12 @@
"blood when the classifier predicted so or the fraction of people predicted to\n",
"have given blood out of the total population that actually did so.\n",
"\n",
"The former metric, known as the precision, is defined as TP / (TP + FP) and\n",
"The former metric, known as the precision, is defined as `TP / (TP + FP)` and\n",
"represents how likely the person actually gave blood when the classifier\n",
"predicted that they did. The latter, known as the recall, defined as TP / (TP\n",
"+ FN) and assesses how well the classifier is able to correctly identify\n",
"people who did give blood. We could, similarly to accuracy, manually compute\n",
"these values, however scikit-learn provides functions to compute these\n",
"predicted that they did. The latter, known as the recall, defined as \n",
"`TP / (TP + FN)` and assesses how well the classifier is able to correctly \n",
"identify people who did give blood. We could, similarly to accuracy, manually\n",
"compute these values, however scikit-learn provides functions to compute these\n",
"statistics."
]
},
Expand Down

0 comments on commit 570be63

Please sign in to comment.