Ignore:
Timestamp:
02/07/12 19:59:36 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

Updated examples (remove Orange.core).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/knnInstanceDistance.py

    r9936 r9946  
    44 
    55nnc = Orange.classification.knn.FindNearestConstructor() 
    6 nnc.distanceConstructor = Orange.core.ExamplesDistanceConstructor_Euclidean() 
     6nnc.distance_constructor = Orange.distance.Euclidean() 
    77 
    88did = Orange.feature.Descriptor.new_meta_id() 
Note: See TracChangeset for help on using the changeset viewer.