
Cost parameter with extended range for psvr models
cost_psvr.RdA dials parameter for the regularisation parameter in psvr models.
The default range [-2, 10] on the log2 scale (corresponding to
approximately 0.25 to 1024) is wider than dials::cost() to
accommodate the larger regularisation values typically needed by
LS-SVR models.
Usage
cost_psvr(range = c(-2, 10), trans = scales::log2_trans())Arguments
- range
Numeric vector of length 2 on the log2 scale. Default
c(-2, 10).- trans
A
scalestransformation object. Defaultscales::log2_trans().
Details
For LS-SVR (m3, m4) models, the static range may still be too
narrow on benchmark datasets where the optimum exceeds 10⁴.
Prefer cost_psvr_ls_data() in that case.
See also
cost_psvr_ls_data() for a data-driven LS-SVR variant.