source: orange/docs/reference/rst/code/knnExample0.py @ 9372:aef193695ea9

Revision 9372:aef193695ea9, 153 bytes checked in by mitar, 2 years ago (diff)

Moved documentation to the separate directory.

Line 
1import Orange
2table = Orange.data.Table("iris")
3
4knnLearner = Orange.classification.knn.kNNLearner()
5knnLearner.k = 10
6knnClassifier = knnLearner(table)
Note: See TracBrowser for help on using the repository browser.