Description Usage Arguments Value Examples
View source: R/credit.scorecard-package.R
Data preparation before create scorecard.
1 | dt_prepare(dataset, y, positive_y = "bad|1")
|
dataset |
A |
y |
A character name of dependent/target variable. |
positive_y |
One of dependent/target value that marked as positive class. |
The sum of x and y
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.