R/glmnet-cv-glmnet.R
safe_predict.cv.glmnet.Rd
Safe predictions for cross-validated glmnet objects
# S3 method for cv.glmnet safe_predict(object, new_data, type = c("response", "class", "prob", "link"), ..., rule = c("1-se", "min"), threshold = 0.5)
object | TODO |
---|---|
new_data | TODO |
type | TODO |
... | TODO |
rule | TODO |
threshold | TODO |