Ignore:
Timestamp:
02/05/12 22:37:07 (2 years ago)
Author:
umek@…
Branch:
default
rebase_source:
eb6a120705f3462186b982a698c0a7ad9f947e24
Message:

Changed table to data or name of the data set.

For example - instead of

table = Orange.data.Table("housing")

is changed to

housing = Orange.data.Table("housing")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/kmeans-run-callback.py

    r9372 r9638  
    44    print "Iteration: %d, changes: %d, score: %.4f" % (km.iteration, km.nchanges, km.score) 
    55     
    6 table = Orange.data.Table("iris") 
    7 km = Orange.clustering.kmeans.Clustering(table, 3, minscorechange=0, inner_callback=callback) 
     6iris = Orange.data.Table("iris") 
     7km = Orange.clustering.kmeans.Clustering(iris, 3, minscorechange=0, inner_callback=callback) 
Note: See TracChangeset for help on using the changeset viewer.