Did I find the right examples for you? yes no

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/o/r/Orange-2.7.2/Orange/OrangeWidgets/Unsupervised/OWSOM.py   Orange(Download)
 
        self.learner = som.SOMLearner(
            name=self.LearnerName,
            map_shape=(self.xdim, self.ydim),
            topology=topology,
            self.progressBarInit()
            self.classifier = self.learner(
                self.data, progressCallback=self.progressBarSet
            )
 

src/o/r/Orange-2.7.2/docs/reference/rst/code/som-mapping.py   Orange(Download)
random.seed(0)
 
som = Orange.projection.som.SOMLearner(map_shape=(3, 3),
                initialize=Orange.projection.som.InitializeRandom)
map = som(Orange.data.Table("iris.tab"))

src/o/r/Orange-2.7.2/docs/reference/rst/code/som-node.py   Orange(Download)
 
import Orange
som = Orange.projection.som.SOMLearner(map_shape=(5, 5))
map = som(Orange.data.Table("iris.tab"))
node = map[3, 3]