Did I find the right examples for you? yes no

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

src/o/r/Orange-2.7.2/docs/reference/rst/code/transformvalue-miv.py   Orange(Download)
age_b = Orange.feature.Discrete("age_c", values = ['young', 'old'])
age_b.getValueFrom = Orange.classification.ClassifierFromVar(whichVar = age)
age_b.getValueFrom.transformer = Orange.data.utils.MapIntValue()
age_b.getValueFrom.transformer.mapping = [0, 1, 1]