source: orange/orange/doc/modules/kmeans-run.py @ 5780:af4cc77b0730

Revision 5780:af4cc77b0730, 135 bytes checked in by blaz <blaz.zupan@…>, 5 years ago (diff)

an example script that goes with orngClustering documentation

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.