MATLAB File Help: cv.KNearest/predict Index
cv.KNearest/predict

Predicts response(s) for the provided sample(s)

[results,f] = model.predict(samples)
[...] = model.predict(..., 'OptionName', optionValue, ...)

Input

Output

Options

The method is an alias for cv.KNearest.findNearest, using DefaultK as value for number of nearest neighbors.

See also
Method Details
Access public
Sealed false
Static false