
Predict from a fitted symmetric LS-SVR with RMSPE model
predict.psvr_rmspe_sym.RdMethod dispatched on the "psvr_rmspe_sym" class, which both psvr_rmspe()
and the parsnip engine fit wrappers return. Uses the symmetric representer
$$f(x) = \sum_k \alpha_k \cdot
\tfrac{1}{2}\left(K(x_k, x) + a K(x_k, -x)\right) + b$$
Usage
# S3 method for class 'psvr_rmspe_sym'
predict(object, newdata, ...)Arguments
- object
An object of class
"psvr_rmspe_sym", as returned bypsvr_rmspe()withsym_type = "even"or"odd", or by the parsnip engine fit wrappers (see psvr-fit-wrappers;sym_type = "none"yields"psvr_rmspe"instead). Unwrap a parsnip fit withparsnip::extract_fit_engine()to obtain it.- newdata
Numeric matrix of new inputs, one observation per row (\(M \times p\)).
- ...
Ignored.