Ignore:
Timestamp:
02/07/12 10:00:07 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
0cb1d4cdf41fbe6831998da95d3927a2d9b1260d
Message:

Fixed 2.5 examples that used Orange.distance.instances

File:
1 edited

Legend:

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

    r9823 r9889  
    33bridges = Orange.data.Table("bridges") 
    44outlier_det = Orange.preprocess.outliers.OutlierDetection() 
    5 outlier_det.set_examples(bridges, Orange.distance.instances.EuclideanConstructor(bridges)) 
     5outlier_det.set_examples(bridges, Orange.distance.Euclidean(bridges)) 
    66outlier_det.set_knn(3) 
    77z_values = outlier_det.z_values() 
Note: See TracChangeset for help on using the changeset viewer.