growth_rate_params | R Documentation |
Construct an object containing non-standard arguments for growth_rate()
.
growth_rate_params(
df = NULL,
lambda = NULL,
cv = FALSE,
spar = NULL,
all.knots = FALSE,
df.offset = 0,
penalty = 1,
k = 3L,
family = c("gaussian", "logistic", "poisson"),
nlambda = 50L,
lambda_max = NULL,
lambda_min = NULL,
lambda_min_ratio = 1e-05,
error_measure = c("deviance", "mse", "mae"),
nfolds = 3L
)
df |
Numeric or NULL for "smooth_spline". May also be one of "min" or "max" in the case of "trend_filter". The desired equivalent number of degrees of freedom of the fit. Lower values give smoother estimates. |
lambda |
The desired smoothing parameter. For "smooth_spline", this
can be specified instead of |
cv |
For "smooth_spline", ordinary leave-one-out ( |
spar |
smoothing parameter, typically (but not necessarily) in
|
all.knots |
if Alternatively, a strictly increasing |
df.offset |
allows the degrees of freedom to be increased by
|
penalty |
the coefficient of the penalty for degrees of freedom in the GCV criterion. |
k |
Integer. Degree of the piecewise polynomial curve to be
estimated. For example, |
family |
Character or function. Specifies the loss function to use. Valid options are:
For any other type, a valid |
nlambda |
Integer. Number of lambda values to use in the sequence. |
lambda_max |
Optional value for the largest |
lambda_min |
Optional value for the smallest |
lambda_min_ratio |
If neither |
error_measure |
Metric used to calculate cross validation scores. May
be |
nfolds |
Integer. The number of folds to use. For leave-vth-out cross
validation, every vth
where 0 indicates no assignment.
Therefore, the folds are not random and running |
A list of parameter configurations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.