summaryrefslogtreecommitdiff
path: root/examples/plot_otda_d2.py
diff options
context:
space:
mode:
authorNicolas Courty <ncourty@irisa.fr>2018-06-10 22:59:27 +0200
committerGitHub <noreply@github.com>2018-06-10 22:59:27 +0200
commit530dc93a60e9b81fb8d1b44680deea77dacf660b (patch)
treea2ae2e21bf7fac9fe2fa368782d7df5ea9974342 /examples/plot_otda_d2.py
parent90efa5a8b189214d1aeb81920b2bb04ce0c261ca (diff)
parent2b375f263ef88100b0321c8ef1b3605dfbb95b3d (diff)
Merge pull request #49 from rflamary/dataset_fun
Dataset functions + test/notebooks update
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')