diff options
author | Nicolas Courty <ncourty@irisa.fr> | 2018-06-10 22:59:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-10 22:59:27 +0200 |
commit | 530dc93a60e9b81fb8d1b44680deea77dacf660b (patch) | |
tree | a2ae2e21bf7fac9fe2fa368782d7df5ea9974342 /examples/plot_otda_d2.py | |
parent | 90efa5a8b189214d1aeb81920b2bb04ce0c261ca (diff) | |
parent | 2b375f263ef88100b0321c8ef1b3605dfbb95b3d (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.py | 4 |
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') |