Predicts new data with a given kernel deep stacking network. All levels are applied successively with fixed weights to reproduce results.
# S3 method for KDSN
predict(object, newx, …)
Object of class KDSN
. This object is generated with the function fitKDSN
.
New data design matrix, for which predictions are needed.
Further arguments to predict
function.
Numeric vector of predicted values of each observation.
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
.