Predicts response(s) for the provided sample(s)
[results,f] = model.predict(samples)
[...] = model.predict(..., 'OptionName', optionValue, ...)
Input
- samples The input samples, floating-point matrix.
Output
- results The output matrix of results.
- f If you pass one sample then prediction result is
returned here, otherwise unused and returns 0. If you want to
get responses for several samples then
results
stores all
response predictions for corresponding samples.
Options
- Flags The optional predict flags, model-dependent.
Not used. default 0