参考:【jupyter】notebook屏蔽warning信息输出
import warnings
warnings.filterwarnings("ignore")
lgbr = LGBR(**params)
lgbr.fit(X, y, eval_set=[(X, y), (X_val, y_val)], verbose = False)
标签:lightGBM,val,warnings,lgbr,802,jupyter From: https://www.cnblogs.com/alex-bn-lee/p/17056924.html