From 2b31be018031cd23bfed6b76d75630a1a66520f1 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Tue, 5 May 2020 08:30:49 +0200 Subject: really reproducipble WDA example --- examples/others/plot_WDA.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/others/plot_WDA.py') 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 -- cgit v1.2.3