source: orange/orange/doc/Orange/rst/code/kmeans-run.py @ 7743:5277d8c12ca8

Revision 7743:5277d8c12ca8, 128 bytes checked in by lanz <lan.zagar@…>, 3 years ago (diff)

Corrected the (broken) example scripts for kmeans.

Line 
1import Orange
2   
3table = Orange.data.Table("iris")
4km = Orange.clustering.kmeans.Clustering(table, 3)
5print km.clusters[-10:]
Note: See TracBrowser for help on using the repository browser.