Changeset 7402:4be66799a923 in orange


Ignore:
Timestamp:
02/04/11 10:55:22 (3 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Convert:
ce7366c501d1741ea40ff57dac93497053be41ec
Message:

changed intro, index

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/knn.py

    r7386 r7402  
    11""" 
    2 .. index: knn 
    3  
    4 Module :mod:`orange.classification.knn` includes classes for classification 
    5 based on nearest neighbours algorithm and also classes for finding instances 
    6 near the given one.  
    7  
    8 ==================== 
    9 k Nearest Neighbours 
    10 ==================== 
    11  
    12 kNN is one of the simplest learning techniques - the learner only needs to  
    13 store the instances, while the classifier does its work by observing the most  
    14 similar instances of the instance to be classified: 
     2.. index: k-nearest neighbors (kNN) 
     3.. index: 
     4   single: classification; k-nearest neighbors (kNN) 
     5 
     6The module includes implementation of `nearest neighbors algorithm <http://en.wikipedia.org/wiki/K-nearest_neighbor_algorithm>`_ and classes 
     7for finding nearest instances according to chosen distance metrics. 
     8 
     9============================ 
     10k-Nearest Neighbor Algorithm 
     11============================ 
     12 
     13Nearest neighbors algorithm is one of most basic,  
     14`lazy <http://en.wikipedia.org/wiki/Lazy_learning>`_ machine learning algorithms. 
     15The learner only needs to store the training data instances, while the classifier 
     16does all the work by searching this list for the most similar instances for  
     17the data instance being classified: 
    1518 
    1619.. literalinclude:: code/knnExample0.py 
Note: See TracChangeset for help on using the changeset viewer.