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/distances-test.py

    r9823 r9889  
    55 
    66# Euclidean distance constructor 
    7 d2Constr = Orange.distance.instances.EuclideanConstructor() 
     7d2Constr = Orange.distance.Euclidean() 
    88d2 = d2Constr(iris) 
    99 
    1010# Constructs  
    11 dPears = Orange.distance.instances.PearsonRConstructor(iris) 
     11dPears = Orange.distance.PearsonR(iris) 
    1212 
    1313#reference instance 
Note: See TracChangeset for help on using the changeset viewer.