Changeset 7335:32f2a1ea4c01 in orange


Ignore:
Timestamp:
02/03/11 19:40:29 (3 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Convert:
cc7d616d777ede677401e5e8c9cb9c2c61aeccf3
Message:

shortened few lines (due to inclusion in documentation)

Location:
orange/doc/Orange/rst/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/code/som-classifier.py

    r7276 r7335  
    11# Description: Self Organizing Maps on iris data set 
    2 # Category:    modelling 
     2# Category:    projection 
    33# Uses:        iris 
    4 # Referenced:  orngSOM.htm 
    5 # Classes:     orngSOM.SOMLearner 
     4# Referenced:  Orange.projection.som 
     5# Classes:     Orange.projection.som.SOMLearner 
    66 
    77import Orange 
  • orange/doc/Orange/rst/code/som-mapping.py

    r7280 r7335  
    11# Description: Self Organizing Maps on iris data set 
    2 # Category:    modelling 
     2# Category:    projection 
    33# Uses:        iris 
    4 # Referenced:  orngSOM.htm 
    5 # Classes:     orngSOM.SOMLearner 
     4# Referenced:  Orange.projection.som 
     5# Classes:     Orange.projection.som.SOMLearner 
    66 
    77import Orange 
    8 som = Orange.projection.som.SOMLearner(map_shape=(3, 3), initialize=Orange.projection.som.InitializeRandom) 
     8som = Orange.projection.som.SOMLearner(map_shape=(3, 3), 
     9                initialize=Orange.projection.som.InitializeRandom) 
    910map = som(Orange.data.Table("iris.tab")) 
    1011 
Note: See TracChangeset for help on using the changeset viewer.