![]() 热心会员
|
有这样一段代码:
代码:
lm = LogisticRegression(penalty='l2',C=0.05) # logestic model construction lm.fit(transformed_training_matrix,y_train) # fitting the data y_pred_test = lm.predict_proba(transformed_testing_matrix) # Give the probabilty on each label 引用:
源码地址:https://github.com/princewen/tensorf...emo/GBDT_LR.py 附件为test.csv文件 |
|||
![]() |