KNearestNeighborsTInput Properties |
The KNearestNeighborsTInput generic type exposes the following members.
Name | Description | |
---|---|---|
ClassCount | Obsolete.
Gets the number of class labels
handled by this classifier.
| |
Distance |
Gets or sets the distance function used
as a distance metric between data points.
(Inherited from BaseKNearestNeighborsTModel, TInput, TDistance.) | |
Inputs |
Gets the set of points given
as input of the algorithm.
(Inherited from BaseKNearestNeighborsTModel, TInput, TDistance.) | |
K |
Gets or sets the number of nearest neighbors to be used
in the decision. Default is 5.
(Inherited from BaseKNearestNeighborsTModel, TInput, TDistance.) | |
NumberOfClasses |
Gets the number of classes expected and recognized by the classifier.
(Inherited from ClassifierBaseTInput, TClasses.) | |
NumberOfInputs |
Gets the number of inputs accepted by the model.
(Inherited from TransformBaseTInput, TOutput.) | |
NumberOfOutputs |
Gets the number of outputs generated by the model.
(Inherited from TransformBaseTInput, TOutput.) | |
Outputs |
Gets the set of labels associated
with each Inputs point.
(Inherited from BaseKNearestNeighborsTModel, TInput, TDistance.) | |
ParallelOptions |
Gets or sets the parallelization options for this algorithm.
| |
Token |
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
(Inherited from BaseKNearestNeighborsTModel, TInput, TDistance.) |