diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2020-05-05 08:30:49 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2020-05-05 08:30:49 +0200 |
commit | 2b31be018031cd23bfed6b76d75630a1a66520f1 (patch) | |
tree | aec29307fd502382dbe5d70c57a5a6462eb25cfc /examples | |
parent | 2e50bd2cf410576c8e12c60043b0bcedb6151fad (diff) |
really reproducipble WDA example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/others/plot_WDA.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/others/plot_WDA.py b/examples/others/plot_WDA.py index 009d902..bdfa57d 100644 --- a/examples/others/plot_WDA.py +++ b/examples/others/plot_WDA.py @@ -33,7 +33,7 @@ from ot.dr import wda, fda n = 1000 # nb samples in source and target datasets nz = 0.2 -np.random.RandomState(1) +np.random.seed(1) # generate circle dataset t = np.random.rand(n) * 2 * np.pi |