These parameters are auxiliary to ordinal regression models that use the
"ordinalNet" engine. They correspond to tuning parameters that would be
specified using set_engine("ordinalNet", ...).
Usage
parallel_penalty_factor(
range = c(-Inf, Inf),
trans = scales::transform_log10()
)Arguments
- range
A two-element vector holding the defaults for the smallest and largest possible values, respectively. If a transformation is specified, these values should be in the transformed units.
- trans
A
transobject from thescalespackage, such asscales::transform_log10()orscales::transform_reciprocal(). If not provided, the default is used which matches the units used inrange. If no transformation,NULL.
Value
An object of S3 parent class param and primary class
quant_param; see dials::new_quant_param().
Details
These functions generate parameters for parsnip::ordinal_reg()
models using the "ordinalNet" engine. See ?ordinalNet::ordinalNet() for
more details on the original parameters. These parameters are
engine-specific, not general to ordinal regression models, so are provided
here rather than in dials.
parallel_penalty_factor(): A nonnegative numeric factor that scales the penalty on all parallel terms; tunesparallelPenaltyFactor. Only used whenparallelTerms = TRUE.