From 8aacd8218cd447946f7ef5420259e0f48301dce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Dupr=C3=A9?= Date: Sun, 3 Nov 2024 13:12:49 +0100 Subject: [PATCH] Refactoring documentation api (#77) * Refactoring documentation api * fix link --- _doc/api/classique.rst | 14 ------ _doc/api/datasets.rst | 27 ---------- _doc/api/datasets/data/index.rst | 9 ++++ _doc/api/datasets/data_helper.rst | 7 +++ _doc/api/datasets/documentation.rst | 7 +++ _doc/api/datasets/enedis.rst | 7 +++ _doc/api/datasets/gpd_helper.rst | 7 +++ _doc/api/datasets/index.rst | 28 +++++++++++ _doc/api/datasets/wines.rst | 7 +++ _doc/api/examples/classiques.rst | 7 +++ _doc/api/examples/construction_classique.rst | 7 +++ _doc/api/examples/index.rst | 19 +++++++ _doc/api/examples/numpysex.rst | 7 +++ _doc/api/ext_test_case.rst | 7 +++ _doc/api/faq/faq_exception.rst | 7 +++ _doc/api/faq/faq_geo.rst | 7 +++ _doc/api/faq/faq_numpy.rst | 7 +++ _doc/api/faq/faq_python.rst | 7 +++ _doc/api/faq/index.rst | 20 ++++++++ _doc/api/faqs.rst | 27 ---------- _doc/api/index.rst | 38 +++++++------- _doc/api/numpysex.rst | 5 -- _doc/api/practice/index.rst | 20 ++++++++ _doc/api/practice/rues_paris.rst | 3 +- _doc/api/practice/tsp_bresenham.rst | 3 +- _doc/api/practice/tsp_kohonen.rst | 3 +- _doc/api/practice/tsp_kruskal.rst | 3 +- _doc/api/tools.rst | 53 -------------------- _doc/api/tools/blockdiag_helper.rst | 7 +++ _doc/api/tools/data_helper.rst | 7 +++ _doc/api/tools/display/index.rst | 18 +++++++ _doc/api/tools/display/pygame_helper.rst | 7 +++ _doc/api/tools/display/video_helper.rst | 7 +++ _doc/api/tools/graphviz_helper.rst | 7 +++ _doc/api/tools/helpers.rst | 7 +++ _doc/api/tools/index.rst | 28 +++++++++++ _doc/api/tools/profiling.rst | 7 +++ _doc/api/video/index.rst | 18 +++++++ _doc/api/video/tsp_kohonen.rst | 6 --- _doc/api/video/tsp_kohonen_pygame.rst | 7 +++ _doc/api/video/tsp_kruskal.rst | 6 --- _doc/api/video/tsp_kruskal_pygame.rst | 7 +++ _doc/c_ml/regclass.rst | 2 +- _doc/conf.py | 1 + teachpyx/ext_test_case.py | 2 +- 45 files changed, 344 insertions(+), 163 deletions(-) delete mode 100644 _doc/api/classique.rst delete mode 100644 _doc/api/datasets.rst create mode 100644 _doc/api/datasets/data/index.rst create mode 100644 _doc/api/datasets/data_helper.rst create mode 100644 _doc/api/datasets/documentation.rst create mode 100644 _doc/api/datasets/enedis.rst create mode 100644 _doc/api/datasets/gpd_helper.rst create mode 100644 _doc/api/datasets/index.rst create mode 100644 _doc/api/datasets/wines.rst create mode 100644 _doc/api/examples/classiques.rst create mode 100644 _doc/api/examples/construction_classique.rst create mode 100644 _doc/api/examples/index.rst create mode 100644 _doc/api/examples/numpysex.rst create mode 100644 _doc/api/ext_test_case.rst create mode 100644 _doc/api/faq/faq_exception.rst create mode 100644 _doc/api/faq/faq_geo.rst create mode 100644 _doc/api/faq/faq_numpy.rst create mode 100644 _doc/api/faq/faq_python.rst create mode 100644 _doc/api/faq/index.rst delete mode 100644 _doc/api/faqs.rst delete mode 100644 _doc/api/numpysex.rst create mode 100644 _doc/api/practice/index.rst delete mode 100644 _doc/api/tools.rst create mode 100644 _doc/api/tools/blockdiag_helper.rst create mode 100644 _doc/api/tools/data_helper.rst create mode 100644 _doc/api/tools/display/index.rst create mode 100644 _doc/api/tools/display/pygame_helper.rst create mode 100644 _doc/api/tools/display/video_helper.rst create mode 100644 _doc/api/tools/graphviz_helper.rst create mode 100644 _doc/api/tools/helpers.rst create mode 100644 _doc/api/tools/index.rst create mode 100644 _doc/api/tools/profiling.rst create mode 100644 _doc/api/video/index.rst delete mode 100644 _doc/api/video/tsp_kohonen.rst create mode 100644 _doc/api/video/tsp_kohonen_pygame.rst delete mode 100644 _doc/api/video/tsp_kruskal.rst create mode 100644 _doc/api/video/tsp_kruskal_pygame.rst diff --git a/_doc/api/classique.rst b/_doc/api/classique.rst deleted file mode 100644 index 470191e0..00000000 --- a/_doc/api/classique.rst +++ /dev/null @@ -1,14 +0,0 @@ -examples.construction_classique -=============================== - -teachpyx.examples.classiques -++++++++++++++++++++++++++++ - -.. automodule:: teachpyx.examples.classiques - :members: - -teachpyx.examples.construction_classique -++++++++++++++++++++++++++++++++++++++++ - -.. automodule:: teachpyx.examples.construction_classique - :members: diff --git a/_doc/api/datasets.rst b/_doc/api/datasets.rst deleted file mode 100644 index ef8e7c7e..00000000 --- a/_doc/api/datasets.rst +++ /dev/null @@ -1,27 +0,0 @@ -=============== -Jeux de données -=============== - -Cartographie -============ - -.. autofunction:: teachpyx.datasets.get_naturalearth_cities - -.. autofunction:: teachpyx.datasets.get_naturalearth_lowres - -.. autofunction:: teachpyx.datasets.load_enedis_dataset - -Classification -============== - -.. autofunction:: teachpyx.datasets.load_wines_dataset - -Outils -====== - -.. autofunction:: teachpyx.datasets.data_helper.get_data_folder - -Régression -========== - -.. autofunction:: teachpyx.datasets.load_wine_dataset diff --git a/_doc/api/datasets/data/index.rst b/_doc/api/datasets/data/index.rst new file mode 100644 index 00000000..5818ea22 --- /dev/null +++ b/_doc/api/datasets/data/index.rst @@ -0,0 +1,9 @@ + +teachpyx.datasets.data +====================== + + + +.. automodule:: teachpyx.datasets.data + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/data_helper.rst b/_doc/api/datasets/data_helper.rst new file mode 100644 index 00000000..6aefd3be --- /dev/null +++ b/_doc/api/datasets/data_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.datasets.data_helper +============================= + +.. automodule:: teachpyx.datasets.data_helper + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/documentation.rst b/_doc/api/datasets/documentation.rst new file mode 100644 index 00000000..43d79143 --- /dev/null +++ b/_doc/api/datasets/documentation.rst @@ -0,0 +1,7 @@ + +teachpyx.datasets.documentation +=============================== + +.. automodule:: teachpyx.datasets.documentation + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/enedis.rst b/_doc/api/datasets/enedis.rst new file mode 100644 index 00000000..3eb7637c --- /dev/null +++ b/_doc/api/datasets/enedis.rst @@ -0,0 +1,7 @@ + +teachpyx.datasets.enedis +======================== + +.. automodule:: teachpyx.datasets.enedis + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/gpd_helper.rst b/_doc/api/datasets/gpd_helper.rst new file mode 100644 index 00000000..4e895aa6 --- /dev/null +++ b/_doc/api/datasets/gpd_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.datasets.gpd_helper +============================ + +.. automodule:: teachpyx.datasets.gpd_helper + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/index.rst b/_doc/api/datasets/index.rst new file mode 100644 index 00000000..3313dd97 --- /dev/null +++ b/_doc/api/datasets/index.rst @@ -0,0 +1,28 @@ + +teachpyx.datasets +================= + + +.. toctree:: + :maxdepth: 1 + :caption: submodules + + + data/index + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + data_helper + documentation + enedis + gpd_helper + wines + + +.. automodule:: teachpyx.datasets + :members: + :no-undoc-members: diff --git a/_doc/api/datasets/wines.rst b/_doc/api/datasets/wines.rst new file mode 100644 index 00000000..ac99712a --- /dev/null +++ b/_doc/api/datasets/wines.rst @@ -0,0 +1,7 @@ + +teachpyx.datasets.wines +======================= + +.. automodule:: teachpyx.datasets.wines + :members: + :no-undoc-members: diff --git a/_doc/api/examples/classiques.rst b/_doc/api/examples/classiques.rst new file mode 100644 index 00000000..4a523857 --- /dev/null +++ b/_doc/api/examples/classiques.rst @@ -0,0 +1,7 @@ + +teachpyx.examples.classiques +============================ + +.. automodule:: teachpyx.examples.classiques + :members: + :no-undoc-members: diff --git a/_doc/api/examples/construction_classique.rst b/_doc/api/examples/construction_classique.rst new file mode 100644 index 00000000..14cd0db6 --- /dev/null +++ b/_doc/api/examples/construction_classique.rst @@ -0,0 +1,7 @@ + +teachpyx.examples.construction_classique +======================================== + +.. automodule:: teachpyx.examples.construction_classique + :members: + :no-undoc-members: diff --git a/_doc/api/examples/index.rst b/_doc/api/examples/index.rst new file mode 100644 index 00000000..c1ca0a5f --- /dev/null +++ b/_doc/api/examples/index.rst @@ -0,0 +1,19 @@ + +teachpyx.examples +================= + + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + classiques + construction_classique + numpysex + + +.. automodule:: teachpyx.examples + :members: + :no-undoc-members: diff --git a/_doc/api/examples/numpysex.rst b/_doc/api/examples/numpysex.rst new file mode 100644 index 00000000..8d74b71d --- /dev/null +++ b/_doc/api/examples/numpysex.rst @@ -0,0 +1,7 @@ + +teachpyx.examples.numpysex +========================== + +.. automodule:: teachpyx.examples.numpysex + :members: + :no-undoc-members: diff --git a/_doc/api/ext_test_case.rst b/_doc/api/ext_test_case.rst new file mode 100644 index 00000000..14cd323b --- /dev/null +++ b/_doc/api/ext_test_case.rst @@ -0,0 +1,7 @@ + +teachpyx.ext_test_case +====================== + +.. automodule:: teachpyx.ext_test_case + :members: + :no-undoc-members: diff --git a/_doc/api/faq/faq_exception.rst b/_doc/api/faq/faq_exception.rst new file mode 100644 index 00000000..6e55433d --- /dev/null +++ b/_doc/api/faq/faq_exception.rst @@ -0,0 +1,7 @@ + +teachpyx.faq.faq_exception +========================== + +.. automodule:: teachpyx.faq.faq_exception + :members: + :no-undoc-members: diff --git a/_doc/api/faq/faq_geo.rst b/_doc/api/faq/faq_geo.rst new file mode 100644 index 00000000..eaf00fd2 --- /dev/null +++ b/_doc/api/faq/faq_geo.rst @@ -0,0 +1,7 @@ + +teachpyx.faq.faq_geo +==================== + +.. automodule:: teachpyx.faq.faq_geo + :members: + :no-undoc-members: diff --git a/_doc/api/faq/faq_numpy.rst b/_doc/api/faq/faq_numpy.rst new file mode 100644 index 00000000..388865e0 --- /dev/null +++ b/_doc/api/faq/faq_numpy.rst @@ -0,0 +1,7 @@ + +teachpyx.faq.faq_numpy +====================== + +.. automodule:: teachpyx.faq.faq_numpy + :members: + :no-undoc-members: diff --git a/_doc/api/faq/faq_python.rst b/_doc/api/faq/faq_python.rst new file mode 100644 index 00000000..36b3754c --- /dev/null +++ b/_doc/api/faq/faq_python.rst @@ -0,0 +1,7 @@ + +teachpyx.faq.faq_python +======================= + +.. automodule:: teachpyx.faq.faq_python + :members: + :no-undoc-members: diff --git a/_doc/api/faq/index.rst b/_doc/api/faq/index.rst new file mode 100644 index 00000000..5b24bacc --- /dev/null +++ b/_doc/api/faq/index.rst @@ -0,0 +1,20 @@ + +teachpyx.faq +============ + + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + faq_exception + faq_geo + faq_numpy + faq_python + + +.. automodule:: teachpyx.faq + :members: + :no-undoc-members: diff --git a/_doc/api/faqs.rst b/_doc/api/faqs.rst deleted file mode 100644 index e39bed77..00000000 --- a/_doc/api/faqs.rst +++ /dev/null @@ -1,27 +0,0 @@ -faq -=== - -teachpyx.faq.faq_python -+++++++++++++++++++++++ - -.. automodule:: teachpyx.faq.faq_python - :members: - -teachpyx.faq.faq_exception -++++++++++++++++++++++++++ - -.. automodule:: teachpyx.faq.faq_exception - :members: - -teachpyx.faq.faq_geo -++++++++++++++++++++ - -.. automodule:: teachpyx.faq.faq_geo - :members: - -teachpyx.faq.faq_numpy -++++++++++++++++++++++ - -.. automodule:: teachpyx.faq.faq_numpy - :members: - diff --git a/_doc/api/index.rst b/_doc/api/index.rst index 1244d5ce..d271fe58 100644 --- a/_doc/api/index.rst +++ b/_doc/api/index.rst @@ -1,29 +1,29 @@ -Code inclus dans cette librairie -================================ -.. toctree:: - :caption: Constructions classiques +teachpyx +======== - classique - datasets - tools .. toctree:: - :caption: Fonctions illustrant des solutions + :maxdepth: 1 + :caption: submodules - practice/rues_paris - practice/tsp_bresenham - practice/tsp_kohonen - practice/tsp_kruskal -.. toctree:: - :caption: Animations + examples/index + video/index + tools/index + faq/index + practice/index + datasets/index - video/tsp_kohonen - video/tsp_kruskal .. toctree:: - :caption: FAQ + :maxdepth: 1 + :caption: modules + + + ext_test_case + - numpysex - faqs +.. automodule:: teachpyx + :members: + :no-undoc-members: diff --git a/_doc/api/numpysex.rst b/_doc/api/numpysex.rst deleted file mode 100644 index 9dcd1eaf..00000000 --- a/_doc/api/numpysex.rst +++ /dev/null @@ -1,5 +0,0 @@ -examples.numpysex -================= - -.. automodule:: teachpyx.examples.numpysex - :members: diff --git a/_doc/api/practice/index.rst b/_doc/api/practice/index.rst new file mode 100644 index 00000000..a2e23a63 --- /dev/null +++ b/_doc/api/practice/index.rst @@ -0,0 +1,20 @@ + +teachpyx.practice +================= + + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + rues_paris + tsp_bresenham + tsp_kohonen + tsp_kruskal + + +.. automodule:: teachpyx.practice + :members: + :no-undoc-members: diff --git a/_doc/api/practice/rues_paris.rst b/_doc/api/practice/rues_paris.rst index 790963f2..999536a0 100644 --- a/_doc/api/practice/rues_paris.rst +++ b/_doc/api/practice/rues_paris.rst @@ -1,6 +1,7 @@ -============================ + teachpyx.practice.rues_paris ============================ .. automodule:: teachpyx.practice.rues_paris :members: + :no-undoc-members: diff --git a/_doc/api/practice/tsp_bresenham.rst b/_doc/api/practice/tsp_bresenham.rst index be757107..fe345c3d 100644 --- a/_doc/api/practice/tsp_bresenham.rst +++ b/_doc/api/practice/tsp_bresenham.rst @@ -1,6 +1,7 @@ -=============================== + teachpyx.practice.tsp_bresenham =============================== .. automodule:: teachpyx.practice.tsp_bresenham :members: + :no-undoc-members: diff --git a/_doc/api/practice/tsp_kohonen.rst b/_doc/api/practice/tsp_kohonen.rst index 28009711..858e1c43 100644 --- a/_doc/api/practice/tsp_kohonen.rst +++ b/_doc/api/practice/tsp_kohonen.rst @@ -1,6 +1,7 @@ -============================= + teachpyx.practice.tsp_kohonen ============================= .. automodule:: teachpyx.practice.tsp_kohonen :members: + :no-undoc-members: diff --git a/_doc/api/practice/tsp_kruskal.rst b/_doc/api/practice/tsp_kruskal.rst index a85f353a..4bf9933e 100644 --- a/_doc/api/practice/tsp_kruskal.rst +++ b/_doc/api/practice/tsp_kruskal.rst @@ -1,6 +1,7 @@ -============================= + teachpyx.practice.tsp_kruskal ============================= .. automodule:: teachpyx.practice.tsp_kruskal :members: + :no-undoc-members: diff --git a/_doc/api/tools.rst b/_doc/api/tools.rst deleted file mode 100644 index f5119299..00000000 --- a/_doc/api/tools.rst +++ /dev/null @@ -1,53 +0,0 @@ -tools -===== - -decompress_zip -++++++++++++++ - -.. autofunction:: teachpyx.tools.decompress_zip - -download_and_unzip -++++++++++++++++++ - -.. autofunction:: teachpyx.tools.download_and_unzip - -draw_diagram -++++++++++++ - -.. autofunction:: teachpyx.tools.draw_diagram - -draw_graph_graphviz -+++++++++++++++++++ - -.. autofunction:: teachpyx.tools.graphviz_helper.draw_graph_graphviz - -total_size -++++++++++ - -.. autofunction:: teachpyx.tools.total_size - -profiling -+++++++++ - -.. automodule:: teachpyx.tools.profiling - :members: - -run_graphviz -++++++++++++ - -.. autofunction:: teachpyx.tools.graphviz_helper.run_graphviz - -run_subprocess -++++++++++++++ - -.. autofunction:: teachpyx.tools.graphviz_helper.run_subprocess - -video -+++++ - -.. automodule:: teachpyx.tools.display.pygame_helper - :members: - -.. automodule:: teachpyx.tools.display.video_helper - :members: - diff --git a/_doc/api/tools/blockdiag_helper.rst b/_doc/api/tools/blockdiag_helper.rst new file mode 100644 index 00000000..8515c91f --- /dev/null +++ b/_doc/api/tools/blockdiag_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.blockdiag_helper +=============================== + +.. automodule:: teachpyx.tools.blockdiag_helper + :members: + :no-undoc-members: diff --git a/_doc/api/tools/data_helper.rst b/_doc/api/tools/data_helper.rst new file mode 100644 index 00000000..70d41195 --- /dev/null +++ b/_doc/api/tools/data_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.data_helper +========================== + +.. automodule:: teachpyx.tools.data_helper + :members: + :no-undoc-members: diff --git a/_doc/api/tools/display/index.rst b/_doc/api/tools/display/index.rst new file mode 100644 index 00000000..6e55e292 --- /dev/null +++ b/_doc/api/tools/display/index.rst @@ -0,0 +1,18 @@ + +teachpyx.tools.display +====================== + + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + pygame_helper + video_helper + + +.. automodule:: teachpyx.tools.display + :members: + :no-undoc-members: diff --git a/_doc/api/tools/display/pygame_helper.rst b/_doc/api/tools/display/pygame_helper.rst new file mode 100644 index 00000000..0ca298be --- /dev/null +++ b/_doc/api/tools/display/pygame_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.display.pygame_helper +==================================== + +.. automodule:: teachpyx.tools.display.pygame_helper + :members: + :no-undoc-members: diff --git a/_doc/api/tools/display/video_helper.rst b/_doc/api/tools/display/video_helper.rst new file mode 100644 index 00000000..7c214938 --- /dev/null +++ b/_doc/api/tools/display/video_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.display.video_helper +=================================== + +.. automodule:: teachpyx.tools.display.video_helper + :members: + :no-undoc-members: diff --git a/_doc/api/tools/graphviz_helper.rst b/_doc/api/tools/graphviz_helper.rst new file mode 100644 index 00000000..85ee0a3a --- /dev/null +++ b/_doc/api/tools/graphviz_helper.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.graphviz_helper +============================== + +.. automodule:: teachpyx.tools.graphviz_helper + :members: + :no-undoc-members: diff --git a/_doc/api/tools/helpers.rst b/_doc/api/tools/helpers.rst new file mode 100644 index 00000000..a83a7310 --- /dev/null +++ b/_doc/api/tools/helpers.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.helpers +====================== + +.. automodule:: teachpyx.tools.helpers + :members: + :no-undoc-members: diff --git a/_doc/api/tools/index.rst b/_doc/api/tools/index.rst new file mode 100644 index 00000000..257b2b81 --- /dev/null +++ b/_doc/api/tools/index.rst @@ -0,0 +1,28 @@ + +teachpyx.tools +============== + + +.. toctree:: + :maxdepth: 1 + :caption: submodules + + + display/index + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + blockdiag_helper + data_helper + graphviz_helper + helpers + profiling + + +.. automodule:: teachpyx.tools + :members: + :no-undoc-members: diff --git a/_doc/api/tools/profiling.rst b/_doc/api/tools/profiling.rst new file mode 100644 index 00000000..291a9c0b --- /dev/null +++ b/_doc/api/tools/profiling.rst @@ -0,0 +1,7 @@ + +teachpyx.tools.profiling +======================== + +.. automodule:: teachpyx.tools.profiling + :members: + :no-undoc-members: diff --git a/_doc/api/video/index.rst b/_doc/api/video/index.rst new file mode 100644 index 00000000..80ef9c23 --- /dev/null +++ b/_doc/api/video/index.rst @@ -0,0 +1,18 @@ + +teachpyx.video +============== + + + +.. toctree:: + :maxdepth: 1 + :caption: modules + + + tsp_kohonen_pygame + tsp_kruskal_pygame + + +.. automodule:: teachpyx.video + :members: + :no-undoc-members: diff --git a/_doc/api/video/tsp_kohonen.rst b/_doc/api/video/tsp_kohonen.rst deleted file mode 100644 index 288c6f73..00000000 --- a/_doc/api/video/tsp_kohonen.rst +++ /dev/null @@ -1,6 +0,0 @@ - -================================= -teachpyx.video.tsp_kohonen_pygame -================================= - -.. autofunction:: teachpyx.video.tsp_kohonen_pygame.pygame_simulation diff --git a/_doc/api/video/tsp_kohonen_pygame.rst b/_doc/api/video/tsp_kohonen_pygame.rst new file mode 100644 index 00000000..7360ffc6 --- /dev/null +++ b/_doc/api/video/tsp_kohonen_pygame.rst @@ -0,0 +1,7 @@ + +teachpyx.video.tsp_kohonen_pygame +================================= + +.. automodule:: teachpyx.video.tsp_kohonen_pygame + :members: + :no-undoc-members: diff --git a/_doc/api/video/tsp_kruskal.rst b/_doc/api/video/tsp_kruskal.rst deleted file mode 100644 index 6fe78907..00000000 --- a/_doc/api/video/tsp_kruskal.rst +++ /dev/null @@ -1,6 +0,0 @@ - -========================== -teachpyx.video.tsp_kruskal -========================== - -.. autofunction:: teachpyx.video.tsp_kruskal_pygame.pygame_simulation diff --git a/_doc/api/video/tsp_kruskal_pygame.rst b/_doc/api/video/tsp_kruskal_pygame.rst new file mode 100644 index 00000000..a0e582a3 --- /dev/null +++ b/_doc/api/video/tsp_kruskal_pygame.rst @@ -0,0 +1,7 @@ + +teachpyx.video.tsp_kruskal_pygame +================================= + +.. automodule:: teachpyx.video.tsp_kruskal_pygame + :members: + :no-undoc-members: diff --git a/_doc/c_ml/regclass.rst b/_doc/c_ml/regclass.rst index 4432c493..f7a65b2e 100644 --- a/_doc/c_ml/regclass.rst +++ b/_doc/c_ml/regclass.rst @@ -30,7 +30,7 @@ composants. `_ Ce jeu de données peut également être téléchargé avec la fonction -:func:`load_wines_dataset `. +:func:`load_wines_dataset `. Découverte du machine learning ============================== diff --git a/_doc/conf.py b/_doc/conf.py index f0d05084..aaff294b 100644 --- a/_doc/conf.py +++ b/_doc/conf.py @@ -280,6 +280,7 @@ "Regression with confidence interval": "https://sdpython.github.io/doc/mlinsights/dev/auto_examples/plot_regression_confidence_interval.html", "relu": "https://en.wikipedia.org/wiki/Rectifier_(neural_networks)", "ROC": "https://fr.wikipedia.org/wiki/Courbe_ROC", + "rst": "https://fr.wikipedia.org/wiki/ReStructuredText", "scikit-learn": "https://scikit-learn.org/stable/index.html", "scipy": "https://scipy.org/", "sérialisation": "https://fr.wikipedia.org/wiki/S%C3%A9rialisation", diff --git a/teachpyx/ext_test_case.py b/teachpyx/ext_test_case.py index dde0057e..730f6168 100644 --- a/teachpyx/ext_test_case.py +++ b/teachpyx/ext_test_case.py @@ -68,7 +68,7 @@ def measure_time( .. runpython:: :showcode: - from onnx_extended.ext_test_case import measure_time + from teachpyx.ext_test_case import measure_time from math import cos res = measure_time(lambda: cos(0.5))