【发布时间】:2020-07-06 14:12:06
【问题描述】:
我希望通过 golearn 存储库 (https://github.com/sjwhitworth/golearn) 在 Go 中使用随机森林回归器。据我所知,golearn 只支持随机森林分类器,它使用 class 和 probability (https://github.com/sjwhitworth/golearn/blob/master/trees/id3.go#L413) 进行预测。
有没有一种简单的方法可以利用分类器的预测概率并使用它来形成标量预测(相当于回归器的预测)?
提前致谢!
【问题讨论】:
-
肯定不是:这些是具有不同损失函数的不同算法。 this answer 的最后一部分可能有助于澄清。
标签: go machine-learning regression random-forest