Ignore:
Timestamp:
02/07/12 22:35:42 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Remove links from documentation to datasets. Remove datasets reference directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/knn.py

    r9724 r9994  
    136136into training (80%) and testing (20%) instances. We will use the former  
    137137for "training" the classifier and test it on five testing instances  
    138 randomly selected from a part of (:download:`knnlearner.py <code/knnlearner.py>`, uses :download:`iris.tab <code/iris.tab>`): 
     138randomly selected from a part of (:download:`knnlearner.py <code/knnlearner.py>`): 
    139139 
    140140.. literalinclude:: code/knnExample1.py 
     
    157157decide to do so, the distance_constructor must be set to an instance 
    158158of one of the classes for distance measuring. This can be seen in the following 
    159 part of (:download:`knnlearner.py <code/knnlearner.py>`, uses :download:`iris.tab <code/iris.tab>`): 
     159part of (:download:`knnlearner.py <code/knnlearner.py>`): 
    160160 
    161161.. literalinclude:: code/knnExample2.py 
     
    271271-------- 
    272272 
    273 The following script (:download:`knnInstanceDistance.py <code/knnInstanceDistance.py>`, uses :download:`lenses.tab <code/lenses.tab>`) 
     273The following script (:download:`knnInstanceDistance.py <code/knnInstanceDistance.py>`) 
    274274shows how to find the five nearest neighbors of the first instance 
    275275in the lenses dataset. 
Note: See TracChangeset for help on using the changeset viewer.