randomized_rounding {riskscores} | R Documentation |
Randomly round the initialized coefficients before coordinate descent
Description
Round each LR coefficient based on its decimal value. The decimal is the probability of rounding the coefficient up to the next integer
Usage
randomized_rounding(beta)
Arguments
beta |
Numeric vector or logistic regression coefficients initialized
before cyclical coordinate descent in |
Value
A numeric vector with randomized rounding (apart from the first element).
[Package riskscores version 1.2.1 Index]