Ignore:
Timestamp:
02/07/12 16:12:17 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
1d1ce52bf1c40adcceacdbc987601870f76893c1
Message:

data.variable -> feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/lookup-table.py

    r9372 r9927  
    2424print 
    2525 
    26 y2 = Orange.data.variable.Discrete("y2", values = ["0", "1"]) 
     26y2 = Orange.feature.Discrete("y2", values = ["0", "1"]) 
    2727abe2 = Orange.classification.lookup.LookupLearner(y2, [a, b, e], table) 
    2828for i in abe2.sorted_examples[:10]: 
     
    3030print 
    3131 
    32 y2 = Orange.data.variable.Discrete("y2", values = ["0", "1"]) 
     32y2 = Orange.feature.Discrete("y2", values = ["0", "1"]) 
    3333abe2 = Orange.classification.lookup.LookupLearner(y2, [a, b], table) 
    3434for i in abe2.sorted_examples: 
Note: See TracChangeset for help on using the changeset viewer.