MATLAB File Help: cv.KNearest/clear | Index |
Clears the algorithm state
model.clear()
The method clear does the same job as the destructor: it deallocates all the memory occupied by the class members. But the object itself is not destructed and can be reused further. This method is called from the destructor, from the train() and load() methods, or even explicitly by the user.
Access | public |
Sealed | false |
Static | false |