_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Binning
|
|
--R Package 'smbinning': Optimal Binning for Scoring Modeling
library(smbinning) data(chileancredit) # Training and testing samples chileancredit.train=subset(chileancredit,FlagSample==1) chileancredit.test=subset(chileancredit,FlagSample==0) # Run and save results result=smbinning(df=chileancredit.train,y="FlagGB",x="TOB",p=0.05) result$ivtable # Relevant plots (2x2 Page) par(mfrow=c(2,2)) boxplot(chileancredit.train$TOB~chileancredit.train$FlagGB, horizontal=T, frame=F, col="lightgray",main="Distribution") mtext("Time on Books (Months)",3) smbinning.plot(result,option="dist",sub="Time on Books (Months)") smbinning.plot(result,option="badrate",sub="Time on Books (Months)") smbinning.plot(result,option="WoE",sub="Time on Books (Months)") par(mfrow=c(1,1))
鏤
|
蟾覿 螳 企 覦 豐螳 朱伎 豐襯 朱 貅讌 る 企至 蟾. 襷谿螳讌襦 襷 ロ 襷企 覦 襷 覦蟆 譯手 貍 覿蠍磯ゼ 襷 蠏碁讌 る 蠏瑚 襷豺 豐襯 手鍵 企 蟆螻 螳. (T. 殊) |