KNearest Class |
Namespace: Emgu.CV.ML
The KNearest type exposes the following members.
Name | Description | |
---|---|---|
![]() | AlgorithmType |
Algorithm type
|
![]() | DefaultK |
Default number of neighbors to use in predict method
|
![]() | Emax |
Parameter for KDTree implementation
|
![]() | IsClassifier |
Whether classification or regression model should be trained
|
![]() | Ptr |
Pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | Dispose |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject |
Release the classifier and all the memory associated with it
(Overrides DisposableObjectDisposeObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReleaseManagedResources |
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.) |
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
Name | Description | |
---|---|---|
![]() | Clear |
Clear the statistic model
(Defined by StatModelExtensions.) |
![]() | Predict |
Predicts response(s) for the provided sample(s)
(Defined by StatModelExtensions.) |
![]() | Read |
Reads algorithm parameters from a file storage.
(Defined by AlgorithmExtensions.) |
![]() | Save |
Save the statistic model to file
(Defined by StatModelExtensions.) |
![]() | Train(TrainData, Int32) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Train(IInputArray, DataLayoutType, IInputArray) | Overloaded.
Trains the statistical model.
(Defined by StatModelExtensions.) |
![]() | Write |
Stores algorithm parameters in a file storage
(Defined by AlgorithmExtensions.) |