Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trustscore MNIST example #62

Merged
merged 4 commits into from
May 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/source/examples/trustscore_mnist.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "../../../examples/trustscore_mnist.ipynb"
}
3 changes: 2 additions & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

.. mdinclude:: landing.md
.. mdinclude:: landing.md

.. toctree::
:maxdepth: 1
Expand Down Expand Up @@ -39,6 +39,7 @@
examples/cem_mnist
examples/cem_iris
examples/trustscore_iris
examples/trustscore_mnist

.. toctree::
:maxdepth: 1
Expand Down
6 changes: 4 additions & 2 deletions doc/source/methods/TrustScores.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"\n",
"Trust scores can for instance be used as a warning flag for machine learning predictions. If the score drops below a certain value and there is disagreement between the model probabilities and the trust score, the prediction can be explained using techniques like anchors or contrastive explanations.\n",
"\n",
"Trust scores work best for low to medium dimensional feature spaces. When working with high dimensional observations like images, dimensionality reduction methods (e.g. auto-encoders or PCA) could be applied as a pre-processing step before computing the scores."
"Trust scores work best for low to medium dimensional feature spaces. When working with high dimensional observations like images, dimensionality reduction methods (e.g. auto-encoders or PCA) could be applied as a pre-processing step before computing the scores. This is demonstrated by the following example [notebook](../examples/trustscore_mnist.nblink)."
]
},
{
Expand Down Expand Up @@ -126,7 +126,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"[Trust Scores applied to Iris](../examples/trustscore_iris.nblink)"
"[Trust Scores applied to Iris](../examples/trustscore_iris.nblink)\n",
"\n",
"[Trust Scores applied to MNIST](../examples/trustscore_mnist.nblink)"
]
}
],
Expand Down
Loading