powered by
createIhtPrior creates an IHT Cyclops prior object for use with fitCyclopsModel.
createIhtPrior
fitCyclopsModel
createIhtPrior( K, penalty = "bic", exclude = c(), forceIntercept = FALSE, fitBestSubset = FALSE, initialRidgeVariance = 0.1, tolerance = 1e-08, maxIterations = 10000, threshold = 1e-06, delta = 0 )
An IHT Cyclops prior object of class inheriting from "cyclopsPrior" for use with fitCyclopsModel.
"cyclopsPrior"
Maximum # of non-zero covariates
Specifies the IHT penalty; possible values are `BIC` or `AIC` or a numeric value
A vector of numbers or covariateId names to exclude from prior
Logical: Force intercept coefficient into regularization
Logical: Fit final subset with no regularization
Numeric: variance used for algorithm initiation
Numeric: maximum abs change in coefficient estimates from successive iterations to achieve convergence
Numeric: maximum iterations to achieve convergence
Numeric: absolute threshold at which to force coefficient to 0
Numeric: change from 2 in ridge norm dimension
prior <- createIhtPrior(K = 10)
Run the code above in your browser using DataLab