summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_otda_mapping.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/auto_examples/plot_otda_mapping.rst')
-rw-r--r--docs/source/auto_examples/plot_otda_mapping.rst55
1 files changed, 30 insertions, 25 deletions
diff --git a/docs/source/auto_examples/plot_otda_mapping.rst b/docs/source/auto_examples/plot_otda_mapping.rst
index 1e3a709..1d95fc6 100644
--- a/docs/source/auto_examples/plot_otda_mapping.rst
+++ b/docs/source/auto_examples/plot_otda_mapping.rst
@@ -49,11 +49,11 @@ Generate data
theta = 2 * np.pi / 20
noise_level = 0.1
- Xs, ys = ot.datasets.get_data_classif(
+ Xs, ys = ot.datasets.make_data_classif(
'gaussrot', n_source_samples, nz=noise_level)
- Xs_new, _ = ot.datasets.get_data_classif(
+ Xs_new, _ = ot.datasets.make_data_classif(
'gaussrot', n_source_samples, nz=noise_level)
- Xt, yt = ot.datasets.get_data_classif(
+ Xt, yt = ot.datasets.make_data_classif(
'gaussrot', n_target_samples, theta=theta, nz=noise_level)
# one of the target mode changes its variance (no linear mapping)
@@ -136,26 +136,26 @@ Instantiate the different transport algorithms and fit them
It. |Loss |Delta loss
--------------------------------
- 0|4.231423e+03|0.000000e+00
- 1|4.217955e+03|-3.182835e-03
- 2|4.217580e+03|-8.885864e-05
- 3|4.217451e+03|-3.043162e-05
- 4|4.217368e+03|-1.978325e-05
- 5|4.217312e+03|-1.338471e-05
- 6|4.217307e+03|-1.000290e-06
+ 0|4.299275e+03|0.000000e+00
+ 1|4.290443e+03|-2.054271e-03
+ 2|4.290040e+03|-9.389994e-05
+ 3|4.289876e+03|-3.830707e-05
+ 4|4.289783e+03|-2.157428e-05
+ 5|4.289724e+03|-1.390941e-05
+ 6|4.289706e+03|-4.051054e-06
It. |Loss |Delta loss
--------------------------------
- 0|4.257004e+02|0.000000e+00
- 1|4.208978e+02|-1.128168e-02
- 2|4.205168e+02|-9.052112e-04
- 3|4.203566e+02|-3.810681e-04
- 4|4.202570e+02|-2.369884e-04
- 5|4.201844e+02|-1.726132e-04
- 6|4.201341e+02|-1.196461e-04
- 7|4.200941e+02|-9.525441e-05
- 8|4.200630e+02|-7.405552e-05
- 9|4.200377e+02|-6.031884e-05
- 10|4.200168e+02|-4.968324e-05
+ 0|4.326465e+02|0.000000e+00
+ 1|4.282533e+02|-1.015416e-02
+ 2|4.279473e+02|-7.145955e-04
+ 3|4.277941e+02|-3.580104e-04
+ 4|4.277069e+02|-2.039229e-04
+ 5|4.276462e+02|-1.418698e-04
+ 6|4.276011e+02|-1.054172e-04
+ 7|4.275663e+02|-8.145802e-05
+ 8|4.275405e+02|-6.028774e-05
+ 9|4.275191e+02|-5.005886e-05
+ 10|4.275019e+02|-4.021935e-05
Plot transported samples
@@ -208,11 +208,13 @@ Plot transported samples
-**Total running time of the script:** ( 0 minutes 0.970 seconds)
+**Total running time of the script:** ( 0 minutes 0.795 seconds)
-.. container:: sphx-glr-footer
+.. only :: html
+
+ .. container:: sphx-glr-footer
.. container:: sphx-glr-download
@@ -225,6 +227,9 @@ Plot transported samples
:download:`Download Jupyter notebook: plot_otda_mapping.ipynb <plot_otda_mapping.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>`_