-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: pyemd to POT for EMD computation in
wmdistance
(#3327)
* PERF: switch from pyemd to POT for EMD computation * Adapt citations * Adapt dependency * Adapt tests * Update cache for gallery Co-authored-by: TLouf <loufthomas@gmail.com>
- Loading branch information
Showing
32 changed files
with
866 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
|
||
|
||
.. _sphx_glr_auto_examples_core: | ||
|
||
Core Tutorials: New Users Start Here! | ||
------------------------------------- | ||
|
||
If you're new to gensim, we recommend going through all core tutorials in order. | ||
Understanding this functionality is vital for using gensim effectively. | ||
|
||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnails"> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="This tutorial introduces Documents, Corpora, Vectors and Models: the basic concepts and terms n..."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/core/images/thumb/sphx_glr_run_core_concepts_thumb.png | ||
:alt: Core Concepts | ||
|
||
:ref:`sphx_glr_auto_examples_core_run_core_concepts.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">Core Concepts</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrates transforming text into a vector space representation."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/core/images/thumb/sphx_glr_run_corpora_and_vector_spaces_thumb.png | ||
:alt: Corpora and Vector Spaces | ||
|
||
:ref:`sphx_glr_auto_examples_core_run_corpora_and_vector_spaces.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">Corpora and Vector Spaces</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Introduces transformations and demonstrates their use on a toy corpus."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/core/images/thumb/sphx_glr_run_topics_and_transformations_thumb.png | ||
:alt: Topics and Transformations | ||
|
||
:ref:`sphx_glr_auto_examples_core_run_topics_and_transformations.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">Topics and Transformations</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrates querying a corpus for similar documents."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/core/images/thumb/sphx_glr_run_similarity_queries_thumb.png | ||
:alt: Similarity Queries | ||
|
||
:ref:`sphx_glr_auto_examples_core_run_similarity_queries.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">Similarity Queries</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
/auto_examples/core/run_core_concepts | ||
/auto_examples/core/run_corpora_and_vector_spaces | ||
/auto_examples/core/run_topics_and_transformations | ||
/auto_examples/core/run_similarity_queries | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
|
||
|
||
.. _sphx_glr_auto_examples_howtos: | ||
|
||
How-to Guides: Solve a Problem | ||
------------------------------ | ||
|
||
These **goal-oriented guides** demonstrate how to **solve a specific problem** using gensim. | ||
|
||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnails"> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrates simple and quick access to common corpora and pretrained models."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/howtos/images/thumb/sphx_glr_run_downloader_api_thumb.png | ||
:alt: How to download pre-trained models and corpora | ||
|
||
:ref:`sphx_glr_auto_examples_howtos_run_downloader_api.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">How to download pre-trained models and corpora</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="How to author documentation for Gensim."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc_thumb.png | ||
:alt: How to Author Gensim Documentation | ||
|
||
:ref:`sphx_glr_auto_examples_howtos_run_doc.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">How to Author Gensim Documentation</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Shows how to reproduce results of the "Distributed Representation of Sentences and Documents" p..."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/howtos/images/thumb/sphx_glr_run_doc2vec_imdb_thumb.png | ||
:alt: How to reproduce the doc2vec 'Paragraph Vector' paper | ||
|
||
:ref:`sphx_glr_auto_examples_howtos_run_doc2vec_imdb.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">How to reproduce the doc2vec 'Paragraph Vector' paper</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbcontainer" tooltip="Demonstrates how you can visualize and compare trained topic models."> | ||
|
||
.. only:: html | ||
|
||
.. image:: /auto_examples/howtos/images/thumb/sphx_glr_run_compare_lda_thumb.png | ||
:alt: How to Compare LDA Models | ||
|
||
:ref:`sphx_glr_auto_examples_howtos_run_compare_lda.py` | ||
|
||
.. raw:: html | ||
|
||
<div class="sphx-glr-thumbnail-title">How to Compare LDA Models</div> | ||
</div> | ||
|
||
|
||
.. raw:: html | ||
|
||
</div> | ||
|
||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
/auto_examples/howtos/run_downloader_api | ||
/auto_examples/howtos/run_doc | ||
/auto_examples/howtos/run_doc2vec_imdb | ||
/auto_examples/howtos/run_compare_lda | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.