|
|
BaseKNearestNeighborsTModel, TInput, TDistance Properties |
The BaseKNearestNeighborsTModel, TInput, TDistance generic type exposes the following members.
| Name | Description | |
|---|---|---|
| Distance |
Gets or sets the distance function used
as a distance metric between data points.
| |
| Inputs |
Gets the set of points given
as input of the algorithm.
| |
| K |
Gets or sets the number of nearest neighbors to be used
in the decision. Default is 5.
| |
| 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.
| |
| Token |
Gets or sets a cancellation token that can be used to
stop the learning algorithm while it is running.
|