mxPenaltySearch {OpenMx} | R Documentation |
mxPenaltySearch
Description
Grid search for the best MxPenalty hyperparameters. Uses
omxDefaultComputePlan with
penaltySearch=TRUE
. Specifically, wraps
mxComputeGradientDescent with mxComputePenaltySearch
and passes the model to the backend.
Usage
mxPenaltySearch(
model,
...,
silent = FALSE,
suppressWarnings = FALSE,
unsafe = FALSE,
checkpoint = FALSE,
useSocket = FALSE,
onlyFrontend = FALSE,
beginMessage = !silent
)
Arguments
model |
A MxModel object to be optimized. |
... |
Not used. Forces remaining arguments to be specified by name |
silent |
A boolean indicating whether to print status to terminal. |
suppressWarnings |
A boolean indicating whether to suppress warnings. |
unsafe |
A boolean indicating whether to ignore errors. |
checkpoint |
A boolean indicating whether to periodically write parameter values to a file. |
useSocket |
A boolean indicating whether to periodically write parameter values to a socket. |
onlyFrontend |
A boolean indicating whether to run only front-end model transformations. |
beginMessage |
A boolean indicating whether to print the number of parameters before invoking the backend. |