Learn R Programming

kernDeepStackNet (version 2.0.2)

predict.KDSN: Predict kernel deep stacking networks

Description

Predicts new data with a given kernel deep stacking network. All levels are applied successively with fixed weights to reproduce results.

Usage

# S3 method for KDSN
predict(object, newx, …)

Arguments

object

Object of class KDSN. This object is generated with the function fitKDSN.

newx

New data design matrix, for which predictions are needed.

Further arguments to predict function.

Value

Numeric vector of predicted values of each observation.

Details

The data is put through all specified layers of the kernel deep stacking network. The weights are not random, but fixed at the values generated by the fitting process. Examples are given in the help page of fitKDSN.

See Also

fitKDSN, fitEnsembleKDSN