View source: R/model_training.R
Map a set of elastic net logistic regression coeficients 1-1 to points where 100 is the chosen threshold
1 | coefs_to_points(objModel, thresholdStrat = 0.4, pointsStrat = 100)
|
objModel |
an elastic net logistic model fit using caret |
thresholdStrat |
the percentage probability to cut off as positive |
pointsStrat |
the threshold in points to map the cut off to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.