summaryrefslogtreecommitdiff
path: root/docs/source/auto_examples/plot_otda_d2.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-05-30 09:58:51 +0200
committerRémi Flamary <remi.flamary@gmail.com>2018-05-30 09:58:51 +0200
commitb5e45bbc83fd8cd8c1634a78f2f983d1cf28af73 (patch)
tree965b01f0313ff5ac2c2013239adda48f767ba992 /docs/source/auto_examples/plot_otda_d2.py
parent90e42f32bdf0dd06667edaf172c51f4d4fce2c8b (diff)
update examples and notebooks
Diffstat (limited to 'docs/source/auto_examples/plot_otda_d2.py')
-rw-r--r--docs/source/auto_examples/plot_otda_d2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/auto_examples/plot_otda_d2.py b/docs/source/auto_examples/plot_otda_d2.py
index 70beb35..cf22c2f 100644
--- a/docs/source/auto_examples/plot_otda_d2.py
+++ b/docs/source/auto_examples/plot_otda_d2.py
@@ -29,8 +29,8 @@ import ot.plot
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)
# Cost matrix
M = ot.dist(Xs, Xt, metric='sqeuclidean')