predict: Predict function for the package

predictR Documentation

Predict function for the package

Description

The prediction function for dnnet or dnnetEnsemble object.

Usage

## S4 method for signature 'dnnet'
predict(object, newData, type, ...)

## S4 method for signature 'dnnetEnsemble'
predict(object, newData, type, ...)

Arguments

object

A dnnet or dnnetEnsemble object.

newData

A matrix with the same number of columns in the input data.

type

Consistent with model.type in the object.

...

Other parameters.

Value

A numeric vector for regression or a matrix of probabilities for each class for classification.

See Also

dnnet-class
dnnetEnsemble-class


SkadiEye/deepTL documentation built on Nov. 17, 2022, 1:41 p.m.