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/generate_multitarget.py

    r9604 r9927  
    1313 
    1414    """ 
    15     vars = [Orange.data.variable.Continuous('X%i' % i) for i in range(1, 4)] 
    16     cvars = [Orange.data.variable.Continuous('Y%i' % i) for i in range(1, 5)] 
     15    vars = [Orange.feature.Continuous('X%i' % i) for i in range(1, 4)] 
     16    cvars = [Orange.feature.Continuous('Y%i' % i) for i in range(1, 5)] 
    1717    domain = Orange.data.Domain(vars, False, class_vars=cvars) 
    1818    data = Orange.data.Table(domain) 
Note: See TracChangeset for help on using the changeset viewer.