fit_bagging_ridge | R Documentation |
Fit a bagging ridge regression model as implemented in scikit-learn (python)
fit_bagging_ridge(
formula,
data,
alpha = 1,
solver = "auto",
bagging_number = 200L,
n_jobs = 1,
p_method = c("wilcox", "t"),
...
)
formula |
An object of class |
data |
A |
alpha |
Positive float indicating the regularization strength. |
solver |
Solver to use in the computational routines. Options include ‘auto’, ‘svd’, ‘cholesky’, ‘lsqr’, ‘sparse_cg’, ‘sag’, ‘saga’. |
bagging_number |
The number of ridge regression model in the bagging. |
n_jobs |
The number of cores used to fit the model. |
p_method |
The test used to calculate p-values. Options are 't' for |
... |
Other parameters for the model fitting function. |
A list with two data frames: gof
contains goodness of fit measures of the fit and
coefs
contains the fitted coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.