predict (cv.KNearest) - MATLAB File Help |
Predicts response(s) for the provided sample(s)
[results,f] = model.predict(samples)
[...] = model.predict(..., 'OptionName', optionValue, ...)
The method is an alias for cv.KNearest.findNearest, using
DefaultK
as value for number of nearest neighbors.
Access | public |
Sealed | false |
Static | false |