[英]What is the difference between “OneVsRestClassifier” (Scikit-learn) and “Binary Relevance” (Scikit-multilearn)?
In scikit-learn, there is a strategy called sklearn.multiclass.OneVsRestClassifier
, which can be used for both multiclass and multilabel problems. 在scikit-learn中,有一种称为
sklearn.multiclass.OneVsRestClassifier
的策略,该策略可用于多类和多sklearn.multiclass.OneVsRestClassifier
问题。 According to its documentation : 根据其文档 :
"In the multilabel learning literature, OvR is also known as the binary relevance method".
“在多标签学习文献中,OvR也被称为二进制相关方法”。
My question is, 我的问题是
Is there is any difference between this scikit-learn strategy and skmultilearn.problem_transform.BinaryRelevance
? 这种scikit学习策略与
skmultilearn.problem_transform.BinaryRelevance
之间有什么区别吗?
Thank you in advance. 先感谢您。
No, there is no difference. 不,没有区别。 They work in the exact same way.
它们以完全相同的方式工作。 They both predict probabilities for an instance belonging to a class, yes or no.
它们都预测属于某个类的实例的概率,是或否。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.