Learn R Programming

kernDeepStackNet (version 2.0.2)

predict.KDSNensembleDisk: Predict kernel deep stacking networks ensembles (experimental)

Description

Predicts new data with a given kernel deep stacking network ensembles. The model is not stored in workspace, but on disk in temporary folder, where it has been created. The temporary file folder should be available in the working directory. Note that this function is still experimental.

Usage

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

Arguments

object

Object of class KDSNensemble. This object is generated with the function fitEnsembleKDSN.

newx

New data design matrix, for which predictions are needed. Variables must be in the same order, as the original training data.

Further arguments to predict function.

Value

A prediction matrix will be returned. Each row corresponds to one observation and each column is another KDSN ensemble.

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 fitEnsembleKDSN.

See Also

fitKDSN, fitEnsembleKDSN