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
  • orange/Orange/classification/logreg.py

    r9349 r9525  
    484484        # get extended Model (you should not change data) 
    485485        if weight == 0: 
    486             weight = Orange.core.newmetaid() 
     486            weight = Orange.data.new_meta_id() 
    487487            examples.addMetaAttribute(weight, 1.0) 
    488488        extended_set_of_examples = createLogRegExampleTable(examples, weight) 
     
    600600        # get extended Model (you should not change data) 
    601601        if weight == 0: 
    602             weight = Orange.core.newmetaid() 
     602            weight = Orange.data.new_meta_id() 
    603603            examples.addMetaAttribute(weight, 1.0) 
    604604        extended_examples = createLogRegExampleTable(examples, weight) 
Note: See TracChangeset for help on using the changeset viewer.