In the germancredit dataset, the target variable creditability has values 1 = bad and 2 = good. The goal is to predict the bad. Wouldn't it make sense for logistic regression to set good=0 and bad=1? I don't think I see writers doing this. Thank you.
library(scorecard)
data("germancredit")
df <- data.frame(germancredit)
table(df$creditability)
str(df$creditability)
bad good
300 700
Factor w/ 2 levels "bad","good": 2 1 2 2 1 2 2 2 2 1 ...