通过rbinom生成o-1分布,区分train和test
利用glm生成基于每个特征的模型,然后计算损失率
找出损失最小的特征来构建模型
glm生成模型
predict(model,data)进行预测