summaryrefslogtreecommitdiff
path: root/examples/da/plot_otda_classes.py
diff options
context:
space:
mode:
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