Description Usage Arguments Value
View source: R/linear_gd_optim_old.R
This function provides a personalized way for optimizing functions
1 2 3 4 5 6 7 8 9 | linear_gd_optim_old(
par,
X,
Y,
tolerance = 1e-06,
maxit = 10000,
stepsize = 0.001,
verbose = T
)
|
par |
Initial values. |
X |
Data predictiors. |
Y |
Response variables. |
tolerance |
Value for the stopping criterion. The default value is set to 1e-6. |
maxit |
Maximum iterations allowed. The default value is set to 10000. |
stepsize |
Length of the stepsize parameter. The default value is set to 1e-3. |
verbose |
If set TRUE the function produce messages during the computation. |
Vector containing the estimated parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.