summaryrefslogtreecommitdiff
path: root/examples/da/plot_otda_classes.py
diff options
context:
space:
mode:
authorSlasnista <stan.chambon@gmail.com>2017-08-29 09:05:01 +0200
committerNicolas Courty <Nico@MacBook-Pro-de-Nicolas.local>2017-09-01 11:09:13 +0200
commit3730779200896ee7de533eb7c5d7fa19e09eeb25 (patch)
tree9a043f3247afab2bafdb4b3ce980276f3d95361c /examples/da/plot_otda_classes.py
parentf8744a33b380ce6a2ea98b0f340c72be1674579b (diff)
addressed AG comments + adding random seed
Diffstat (limited to 'examples/da/plot_otda_classes.py')
-rw-r--r--examples/da/plot_otda_classes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/da/plot_otda_classes.py b/examples/da/plot_otda_classes.py
index e5c82fb..6870fa4 100644
--- a/examples/da/plot_otda_classes.py
+++ b/examples/da/plot_otda_classes.py
@@ -15,8 +15,10 @@ approaches currently supported in POT.
# License: MIT License
import matplotlib.pylab as pl
+import numpy as np
import ot
+np.random.seed(42)
# number of source and target points to generate
ns = 150