JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
C
D
E
F
G
H
I
L
M
N
R
S
T
Z
N
NearestNeighborClassifier
- Class in
cs2.introml
Implements the 1-NN algorithm (classifies by finding the closest training example).
NearestNeighborClassifier(DistanceFunction, long)
- Constructor for class cs2.introml.
NearestNeighborClassifier
Initializes using a distance function and a seed for a random number generator (used for ties).
A
C
D
E
F
G
H
I
L
M
N
R
S
T
Z
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes