Safe predictions for cross-validated glmnet objects
1 2 3 4 | ## S3 method for class '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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.