View source: R/CyclopsSettings.R
setIterativeHardThresholding | R Documentation |
Create setting for Iterative Hard Thresholding model
setIterativeHardThresholding(
K = 10,
penalty = "bic",
seed = sample(1e+05, 1),
exclude = c(),
forceIntercept = FALSE,
fitBestSubset = FALSE,
initialRidgeVariance = 0.1,
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 |
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 |
modelSettings
object
modelIht <- setIterativeHardThresholding(K = 5, seed = 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.