summaryrefslogtreecommitdiff
path: root/examples/plot_otda_d2.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plot_otda_d2.py')
-rw-r--r--examples/plot_otda_d2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plot_otda_d2.py b/examples/plot_otda_d2.py
index 70beb35..cf22c2f 100644
--- a/examples/plot_otda_d2.py
+++ b/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')