summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_otda_semi_supervised.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_otda_semi_supervised.rst')
-rw-r--r--docs/source/auto_examples/plot_otda_semi_supervised.rst17
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/source/auto_examples/plot_otda_semi_supervised.rst b/docs/source/auto_examples/plot_otda_semi_supervised.rst
index dc05ed0..2ed7819 100644
--- a/docs/source/auto_examples/plot_otda_semi_supervised.rst
+++ b/docs/source/auto_examples/plot_otda_semi_supervised.rst
@@ -46,8 +46,8 @@ Generate data
n_samples_source = 150
n_samples_target = 150
- Xs, ys = ot.datasets.get_data_classif('3gauss', n_samples_source)
- Xt, yt = ot.datasets.get_data_classif('3gauss2', n_samples_target)
+ Xs, ys = ot.datasets.make_data_classif('3gauss', n_samples_source)
+ Xt, yt = ot.datasets.make_data_classif('3gauss2', n_samples_target)
@@ -218,11 +218,13 @@ Fig 3 : plot transported samples
-**Total running time of the script:** ( 0 minutes 0.714 seconds)
+**Total running time of the script:** ( 0 minutes 0.256 seconds)
-.. container:: sphx-glr-footer
+.. only :: html
+
+ .. container:: sphx-glr-footer
.. container:: sphx-glr-download
@@ -235,6 +237,9 @@ Fig 3 : plot transported samples
:download:`Download Jupyter notebook: plot_otda_semi_supervised.ipynb <plot_otda_semi_supervised.ipynb>`
-.. rst-class:: sphx-glr-signature
- `Generated by Sphinx-Gallery <http://sphinx-gallery.readthedocs.io>`_
+.. only:: html
+
+ .. rst-class:: sphx-glr-signature
+
+ `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_