1. biolab
  2. Untitled project
  3. orange

Commits

Aleš Erjavec  committed bc6b101

Set random seed in modules_som1 script.

  • Participants
  • Parent commits 8eae763
  • Branches default

Comments (0)

Files changed (1)

File Orange/testing/regression/tests_20/modules_som1.py

View file
 
 import orngSOM
 import orange
+
+import random
+random.seed(42)
+
 som = orngSOM.SOMLearner(map_shape=(10, 20), initialize=orngSOM.InitializeRandom)
 map = som(orange.ExampleTable("iris.tab"))
 for n in map: