Ignore:
Timestamp:
02/07/12 18:14:08 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
dcc1bddbbae14a1e234a7d18a813ea0fb1d2bb93
Message:

moved new_meta_ide from feature to feature.Descriptor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/scoring-info-lenses.py

    r9929 r9936  
    5858print "Information gain of Cartesian product of %s and %s: %6.4f" % (lenses.domain[2].name, lenses.domain[3].name, meas(cartesian, lenses)) 
    5959 
    60 mid = Orange.feature.new_meta_id() 
     60mid = Orange.feature.Descriptor.new_meta_id() 
    6161lenses.domain.add_meta(mid, Orange.feature.Discrete(values = ["v0", "v1"])) 
    6262lenses.add_meta_attribute(mid) 
Note: See TracChangeset for help on using the changeset viewer.