[flwr] [sklearn]尝试使用梯度增强的树木
现在,我尝试使用FLWR实现梯度提升的树。 我尝试了 flwr 的示例。 他们使用LogisticRecress模型进行MNIST的分类,该模型在我的设置中起作用。
这是我的问题出现的地方: 只需用sklearn.ensember.gradientBoostingClassifier
替换Sklear.linear_model.logisticRegress模型不起作用,因为:
我不知道我必须归于哪些值,哪些值等于logistirediregressire。 COEF _
。有人有主意吗?
如果我可以制作一个工作版本,我会尝试将其添加到FLWR中作为任何人的参考。
提前致谢
for some day's now I try to implement gradient boosted tree's with flwr.
I tried the example given by flwr.
They use a LogisticRegression Model for the classification of MNIST, which works in my setup.
This is where my problem arise:
Simply replacing the sklear.linear_model.LogisticRegression model with the sklearn.ensemble.GradientBoostingClassifier
does not work because:
I don't know which values I have to initalize, which are equivalent to the LogistiRegression.coef_
. Does anyone has an idea?
If I could make a working version I would try to add it to flwr as reference for anybody.
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论