Ignore:
Timestamp:
01/09/12 20:56:36 (2 years ago)
Author:
markotoplak
Branch:
default
Convert:
738752a0c7d4b09064ca82da7eb74891fde3fa34
Message:

Used the same get_meta_id everywhere.

File:
1 edited

Legend:

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

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