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-d2c.py

    r9945 r9986  
    66e1 = Orange.feature.Continuous("e=1") 
    77e1.getValueFrom = Orange.core.ClassifierFromVar(whichVar = data.domain["e"]) 
    8 e1.getValueFrom.transformer = Orange.core.Discrete2Continuous() 
     8e1.getValueFrom.transformer = Orange.data.utils.Discrete2Continuous() 
    99e1.getValueFrom.transformer.value = int(Orange.data.Value(e, "1")) 
Note: See TracChangeset for help on using the changeset viewer.