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
  • Orange/evaluation/reliability.py

    r9929 r9936  
    402402        nearest_neighbours_constructor.distanceConstructor = Orange.distance.Euclidean() 
    403403         
    404         distance_id = Orange.feature.new_meta_id() 
     404        distance_id = Orange.feature.Descriptor.new_meta_id() 
    405405        nearest_neighbours = nearest_neighbours_constructor(instances, 0, distance_id) 
    406406         
     
    469469        nearest_neighbours_constructor.distanceConstructor = Orange.distance.Euclidean() 
    470470         
    471         distance_id = Orange.feature.new_meta_id() 
     471        distance_id = Orange.feature.Descriptor.new_meta_id() 
    472472        nearest_neighbours = nearest_neighbours_constructor(instances, 0, distance_id) 
    473473        return CNeighboursClassifier(nearest_neighbours, self.k) 
     
    516516        nnm.distanceConstructor = Orange.distance.Mahalanobis() 
    517517         
    518         mid = Orange.feature.new_meta_id() 
     518        mid = Orange.feature.Descriptor.new_meta_id() 
    519519        nnm = nnm(instances, 0, mid) 
    520520        return MahalanobisClassifier(self.k, nnm, mid) 
Note: See TracChangeset for help on using the changeset viewer.