:orphan:
Text Classification
**********************
Examples for OOD detection on text.
The examples in this section depend on ``torchtext`` which you
can install with:
.. code-block:: shell
pip install torchtext==0.14.0
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/text/images/thumb/sphx_glr_newsgroups_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_text_newsgroups.py`
.. raw:: html
Newsgroups 20
.. raw:: html
.. only:: html
.. image:: /auto_examples/text/images/thumb/sphx_glr_newsgroups_oe_thumb.png
:alt:
:ref:`sphx_glr_auto_examples_text_newsgroups_oe.py`
.. raw:: html
Newsgroups Outlier Exposure
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples/text/newsgroups
/auto_examples/text/newsgroups_oe
.. only:: html
.. container:: sphx-glr-footer sphx-glr-footer-gallery
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download all examples in Python source code: text_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: text_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery