
Predict from a fitted symmetric epsilon-SVR with MAPE model
predict.psvr_mape_sym.RdMethod dispatched on the "psvr_mape_sym" class, which both psvr_mape()
and the parsnip engine fit wrappers return. Uses the symmetric representer
theorem
$$f(x) = \tfrac{1}{2}\sum_k \beta_k K_s(x_k, x) + b$$
with \(K_s(x_k, x) = K(x_k, x) + a K(x_k, -x)\).
Usage
# S3 method for class 'psvr_mape_sym'
predict(object, newdata, ...)Arguments
- object
An object of class
"psvr_mape_sym", as returned bypsvr_mape()withsym_type = "even"or"odd", or by the parsnip engine fit wrappers (see psvr-fit-wrappers;sym_type = "none"yields"psvr_mape"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.