mxRegularize: This function creates a regularization penalty object

Description Usage Arguments

View source: R/MxPenalty.R

Description

This function creates a regularization penalty object

Usage

1
2
3
4
5
6
7
8
9
mxRegularize(
  what,
  how = names(imxRegularizationTypes),
  hyperparams = list(),
  hpranges = list(),
  name = NULL,
  compute = mxComputeDefault(),
  otherArgs = list()
)

Arguments

what

which parameters or model elements to regularize

how

what kind of regularization function to use. Currently supported: "lasso", "ridge"

hyperparams

a named list of the hyperparameter starting values. Used for initial setup.

hpranges

a named list of hyperparameter ranges. Used in search if no ranges are specified.

name

the name of the regularization object to be created

compute

a compute object. If it contains at least one mxComputeDefault, any compute plan supplied by the user will be substituted for that object each time it occurs in the plan.

other

Other arguments to the associated regularization functions (see mxRegularizeLASSO and mxRegularizeRidge)


trbrick/mxregsem documentation built on Nov. 18, 2020, 7:30 p.m.