The KNearest type exposes the following members.
Clear the statistic model(Inherited from StatModel.)
The dispose function that implements IDisposable interface(Inherited from DisposableObject.)
Release the classifer and all the memory associated with it(Overrides DisposableObject..::..DisposeObject()()()().)
Destructor(Inherited from DisposableObject.)
For each input vector (which are rows of the matrix samples) the method finds k <= get_max_k() nearest neighbor. In case of regression, the predicted result will be a mean value of the particular vector's neighbor responses. In case of classification the class is determined by voting.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Load the statistic model from file(Inherited from StatModel.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Release the managed resources. This function will be called during the disposal of the current object. override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object(Inherited from DisposableObject.)
Save the statistic model to file(Inherited from StatModel.)
Update the KNearest classifier using the specific traing data.