Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/mds-scatterplot.py

    r9823 r9838  
    1111 
    1212# Construct a distance matrix using Euclidean distance 
    13 euclidean = Orange.distance.instances.EuclideanConstructor(iris) 
     13euclidean = Orange.distance.Euclidean(iris) 
    1414distance = Orange.core.SymMatrix(len(iris)) 
    1515for i in range(len(iris)): 
    16    for j in range(i+1): 
     16   for j in range(i + 1): 
    1717       distance[i, j] = euclidean(iris[i], iris[j]) 
    1818 
Note: See TracChangeset for help on using the changeset viewer.