|
@@ -167,7 +167,7 @@ class LightGBM(object):
|
|
|
pred_score_df = pd.DataFrame(list(y_pred), columns=['pred_score'])
|
|
|
# temp = sorted(list(y_pred))
|
|
|
# yuzhi = temp[int(len(temp) * 0.9) - 1]
|
|
|
- y_pred_binary = [0 if i <= 0.5 else 1 for i in list(y_pred)]
|
|
|
+ y_pred_binary = [0 if i <= 0.169541 else 1 for i in list(y_pred)]
|
|
|
pred_label_df = pd.DataFrame(list(y_pred_binary), columns=['pred_label'])
|
|
|
score_list = []
|
|
|
for index, item in enumerate(list(y_pred)):
|