Python SKlearn fit()监视器类型

2024-07-07 07:11:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我想监控我的梯度增强分类器拟合函数

monitor = make_monitor(10) # a callback funtion
gs.fit(Xtrain, ytrain, monitor=monitor)

这给了

^{pr2}$

你知道怎么解决这个问题吗?在


Tags: 函数gsmake分类器callbackmonitorfit梯度