predict | R Documentation |
The prediction function for dnnet
or dnnetEnsemble
object.
## S4 method for signature 'dnnet' predict(object, newData, type, ...) ## S4 method for signature 'dnnetEnsemble' predict(object, newData, type, ...)
object |
A |
newData |
A matrix with the same number of columns in the input data. |
type |
Consistent with model.type in the |
... |
Other parameters. |
A numeric vector for regression or a matrix of probabilities for each class for classification.
dnnet-class
dnnetEnsemble-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.