Description Usage Arguments Examples
View source: R/credit.scorecard-package.R
Create scorecard
1 | create_scorecard(dt, points0 = 600, Odds = 1/19, pdo = 50, use_intercept = TRUE)
|
dt |
A |
points0 |
A character name of dependent/target variable. |
Odds |
One of dependent/target value that marked as positive class. |
pdo |
Point to double odds. |
use_intercept |
Logical. Whether the scorecard will use intercept or not. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Not run
data("germancredit")
dt = dt_prepare(dataset = germancredit, y = "creditability", positive_y = "bad")
# Create scorecard
score = create_scorecard(dt)
# Convert scorecard as data.frame
scorecards = dt_score(score)
scorecards
# End Not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.