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.
# S3 method for KDSNensembleDisk
predict(object, newx, …)
Object of class KDSNensemble
. This object is generated with the function fitEnsembleKDSN
.
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.
A prediction matrix will be returned. Each row corresponds to one observation and each column is another KDSN ensemble.
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
.