View source: R/CyclopsSettings.R
setIterativeHardThresholding | R Documentation |
Create setting for lasso logistic regression
setIterativeHardThresholding(
K = 10,
penalty = "bic",
seed = sample(1e+05, 1),
exclude = c(),
forceIntercept = F,
fitBestSubset = FALSE,
initialRidgeVariance = 10000,
tolerance = 1e-08,
maxIterations = 10000,
threshold = 1e-06,
delta = 0
)
K |
The maximum number of non-zero predictors |
penalty |
Specifies the IHT penalty; possible values are 'BIC' or 'AIC' or a numeric value |
seed |
An option to add a seed when training the model |
exclude |
A vector of numbers or covariateId names to exclude from prior |
forceIntercept |
Logical: Force intercept coefficient into regularization |
fitBestSubset |
Logical: Fit final subset with no regularization |
initialRidgeVariance |
integer |
tolerance |
numeric |
maxIterations |
integer |
threshold |
numeric |
delta |
numeric |
model.lr <- setLassoLogisticRegression()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.