source: orange/Orange/testing/regression/tests_20/modules_kmeans-run.py @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 135 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

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.