summaryrefslogtreecommitdiff
path: root/examples/plot_otda_d2.py
diff options
context:
space:
mode:
authorKilian <kilian.fatras@gmail.com>2018-06-26 11:10:40 -0700
committerGitHub <noreply@github.com>2018-06-26 11:10:40 -0700
commitb4bc86176a5712fdd2f930fbf5d1968edd5efa5e (patch)
tree075c694496216f0a6db61e879ece5eb2e799fc07 /examples/plot_otda_d2.py
parent208ff4627ba28aa3f35328c5928324019c23ddac (diff)
parent327b0c6e0ccb0c9453179eb316021c34bcdffec4 (diff)
Merge branch 'master' into stochastic_OT
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')