source: orange/docs/reference/rst/code/transformvalue-d2c.py @ 9970:deb9e6a39c3f

Revision 9970:deb9e6a39c3f, 256 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Test used unreferenced var.

Line 
1import Orange.data
2import Orange.feature
3
4data = Orange.data.Table("monks-1")
5
6e1 = Orange.feature.Continuous("e=1")
7e1.getValueFrom = Orange.core.ClassifierFromVar(whichVar=data.domain["e"])
8e1.getValueFrom.transformer = Orange.core.Discrete2Continuous()
Note: See TracBrowser for help on using the repository browser.