Skip to content

Commit b85cfa4

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 0b978cb86f2fd23bef9940cf04254cbd05d2a661
1 parent 889e779 commit b85cfa4

File tree

1,360 files changed

+4689
-4705
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,360 files changed

+4689
-4705
lines changed
Binary file not shown.

dev/_downloads/40f4aad91af595a370d7582e3a23bed7/plot_roc.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"cell_type": "markdown",
250250
"metadata": {},
251251
"source": [
252-
"## One-vs-One multiclass ROC\n\nThe One-vs-One (OvO) multiclass strategy consists in fitting one classifier\nper class pair. Since it requires to train `n_classes` * (`n_classes` - 1) / 2\nclassifiers, this method is usually slower than One-vs-Rest due to its\nO(`n_classes`^2) complexity.\n\nIn this section, we demonstrate the macro-averaged AUC using the OvO scheme\nfor the 3 possible combinations in the `iris_dataset`: \"setosa\" vs\n\"versicolor\", \"versicolor\" vs \"virginica\" and \"virginica\" vs \"setosa\". Notice\nthat micro-averaging is not defined for the OvO scheme.\n\n### ROC curve using the OvO macro-average\n\nIn the OvO scheme, the first step is to identify all possible unique\ncombinations of pairs. The computation of scores is done by treating one of\nthe elements in a given pair as the positive class and the other element as\nthe negative class, then re-computing the score by inversing the roles and\ntaking the mean of both scores.\n\n"
252+
"## One-vs-One multiclass ROC\n\nThe One-vs-One (OvO) multiclass strategy consists in fitting one classifier\nper class pair. Since it requires to train `n_classes` * (`n_classes` - 1) / 2\nclassifiers, this method is usually slower than One-vs-Rest due to its\nO(`n_classes` ^2) complexity.\n\nIn this section, we demonstrate the macro-averaged AUC using the OvO scheme\nfor the 3 possible combinations in the `iris_dataset`: \"setosa\" vs\n\"versicolor\", \"versicolor\" vs \"virginica\" and \"virginica\" vs \"setosa\". Notice\nthat micro-averaging is not defined for the OvO scheme.\n\n### ROC curve using the OvO macro-average\n\nIn the OvO scheme, the first step is to identify all possible unique\ncombinations of pairs. The computation of scores is done by treating one of\nthe elements in a given pair as the positive class and the other element as\nthe negative class, then re-computing the score by inversing the roles and\ntaking the mean of both scores.\n\n"
253253
]
254254
},
255255
{

0 commit comments

Comments
 (0)