Rank 2nd in Data Mining Part Created by Chiffon
申请流程
申请流程
增加新的变量:
# load("tr4.Rdata") model = glm(result ~ . -bank_id , data = train_final, family = "binomial") summary(model) pre = predict(model, test_final) out = (pre > 0.215) + 0 writeLines(as.character(out), "submit/3.26.1.txt") # 0.2985
Model 1: Predict≥0.3,yˆ=1
Model 1: Predict≥0.3,F1=0.72
Model 2: Predict≥0.8,yˆ=1
Model 1: Predict≥0.3,F1=0.72
Model 2: Predict≥0.8,F1=0.67
Model 3: Predict≥0.6,yˆ=1
选择合适的阈值