- Hands-On Ensemble Learning with R
- Prabhanjan Narayanachar Tattar
- 158字
- 2021-07-23 19:10:50
German Credit
Loans are not always repaid in full, and there are defaulters. In this case, it becomes important for the bank to identify potential defaulters based on the available information. Here, we adapt the GC
dataset from the RSADBE
package to properly reflect the labels of the factor variable. The transformed dataset is available as GC2.RData
in the data folder. The GC
dataset itself is mainly an adaptation of the version available at https://archive.ics.uci.edu/ml/datasets/statlog+(german+credit+data). Here, we have 1,000 observations, and 20 covariate/independent variables such as the status of existing checking account, duration, and so forth. The final status of whether the loan was completely paid or not is available in the good_bad
column. We will partition the data into training and testing parts, and create the formula too:
> library(RSADBE) > load("../Data/GC2.RData") > table(GC2$good_bad) bad good 300 700 > set.seed(12345) > Train_Test <- sample(c("Train","Test"),nrow(GC2),replace = TRUE,prob=c(0.7,0.3)) > head(Train_Test) [1] "Test" "Test" "Test" "Test" "Train" "Train" > GC2_Train <- GC2[Train_Test=="Train",] > GC2_TestX <- within(GC2[Train_Test=="Test",],rm(good_bad)) > GC2_TestY <- GC2[Train_Test=="Test","good_bad"] > GC2_Formula <- as.formula("good_bad~.")
- Hands-On Graph Analytics with Neo4j
- 嵌入式系統(tǒng)及其開發(fā)應(yīng)用
- Circos Data Visualization How-to
- Hands-On Machine Learning on Google Cloud Platform
- 協(xié)作機(jī)器人技術(shù)及應(yīng)用
- Java開發(fā)技術(shù)全程指南
- 樂高創(chuàng)意機(jī)器人教程(中級(jí) 下冊(cè) 10~16歲) (青少年iCAN+創(chuàng)新創(chuàng)意實(shí)踐指導(dǎo)叢書)
- 智能工業(yè)報(bào)警系統(tǒng)
- Cloudera Administration Handbook
- Implementing AWS:Design,Build,and Manage your Infrastructure
- 內(nèi)??刂萍捌鋺?yīng)用
- Moodle 2.0 Course Conversion(Second Edition)
- 工業(yè)機(jī)器人與自控系統(tǒng)的集成應(yīng)用
- 我的IT世界
- Learning Pentaho Data Integration 8 CE(Third Edition)