BaseKNearestNeighborsTModel, TInput, TDistance Properties
The BaseKNearestNeighborsTModel, TInput, TDistance generic type exposes the following members.
Gets or sets the distance function used as a distance metric between data points.
Gets the set of points given as input of the algorithm.
Gets or sets the number of nearest neighbors to be used in the decision. Default is 5.
Gets the number of classes expected and recognized by the classifier.(Inherited from ClassifierBaseTInput, TClasses.)
Gets the number of inputs accepted by the model.(Inherited from TransformBaseTInput, TOutput.)
Gets the number of outputs generated by the model.(Inherited from TransformBaseTInput, TOutput.)
Gets the set of labels associated with each Inputs point.
Gets or sets a cancellation token that can be used to stop the learning algorithm while it is running.