Changeset 10322:9d9d8963f195 in orange


Ignore:
Timestamp:
02/20/12 15:47:44 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Set random seed in som-mapping.py example (so results are reproducible).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/som-mapping.py

    r9372 r10322  
    66 
    77import Orange 
     8 
     9import random 
     10random.seed(0) 
     11 
    812som = Orange.projection.som.SOMLearner(map_shape=(3, 3), 
    913                initialize=Orange.projection.som.InitializeRandom) 
Note: See TracChangeset for help on using the changeset viewer.