source: orange/orange/doc/Orange/rst/code/kmeans-run.py @ 7130:12a00963a5e8

Revision 7130:12a00963a5e8, 136 bytes checked in by markotoplak, 3 years ago (diff)

Added Makefile for doc/Orange.

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