Ignore:
Timestamp:
02/07/12 21:48:58 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

Added value transfromers to the hierarchy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/transformvalue-nc.py

    r9924 r9986  
    88    attr_c = Orange.feature.Continous(attr.name+"_n") 
    99    attr_c.getValueFrom = Orange.core.ClassifierFromVar(whichVar = attr) 
    10     transformer = Orange.core.NormalizeContinuous() 
     10    transformer = Orange.data.utils.NormalizeContinuous() 
    1111    attr_c.getValueFrom.transformer = transformer 
    1212    transformer.average = domstat[attr].avg 
Note: See TracChangeset for help on using the changeset viewer.