首页 > 其他分享 >【802】jupyter不显示警告,lightGBM不显示训练细节

【802】jupyter不显示警告,lightGBM不显示训练细节

时间:2023-01-17 08:55:32浏览次数:60  
标签:lightGBM val warnings lgbr 802 jupyter

参考:【jupyter】notebook屏蔽warning信息输出

参考:lightGBM屏蔽训练过程信息

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

相关文章