summaryrefslogtreecommitdiff
path: root/test/test_dr.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 /test/test_dr.py
parent90efa5a8b189214d1aeb81920b2bb04ce0c261ca (diff)
parent2b375f263ef88100b0321c8ef1b3605dfbb95b3d (diff)
Merge pull request #49 from rflamary/dataset_fun
Dataset functions + test/notebooks update
Diffstat (limited to 'test/test_dr.py')
-rw-r--r--test/test_dr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_dr.py b/test/test_dr.py
index 915012d..c5df287 100644
--- a/test/test_dr.py
+++ b/test/test_dr.py
@@ -22,7 +22,7 @@ def test_fda():
np.random.seed(0)
# generate gaussian dataset
- xs, ys = ot.datasets.get_data_classif('gaussrot', n_samples)
+ xs, ys = ot.datasets.make_data_classif('gaussrot', n_samples)
n_features_noise = 8
@@ -44,7 +44,7 @@ def test_wda():
np.random.seed(0)
# generate gaussian dataset
- xs, ys = ot.datasets.get_data_classif('gaussrot', n_samples)
+ xs, ys = ot.datasets.make_data_classif('gaussrot', n_samples)
n_features_noise = 8