source: orange/Orange/doc/modules/kmeans-run.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 135 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1import orange
2import orngClustering
3   
4data = orange.ExampleTable("iris")
5km = orngClustering.KMeans(data, 3)
6print km.clusters[-10:]
Note: See TracBrowser for help on using the repository browser.