PySpark 中的 MulticlassClassificationEvaluator 和 MultilabelClassificationEvaluator 有什么区别?
What is the difference between MulticlassClassificationEvaluator and MultilabelClassificationEvaluator in PySpark?
MulticlassClassificationEvaluator and MultilabelClassificationEvaluator
是 PySpark 中的两个(许多)分类算法评估器。
我找不到/不明白这两者之间的区别。
first one is for evaluation of the models that classifies given data into a specific single class (label), but model works with multiple classes (labels) (see wikipedia)。例如,您可以将网站分类为在线商店、商业、游戏、健康等。
second is for case when the data may belong to multiple classes and multiple labels (see wikipedia)。网站的继续示例,例如,在线销售药房的网站可能会被归类为“在线商店”和“健康”
MulticlassClassificationEvaluator and MultilabelClassificationEvaluator 是 PySpark 中的两个(许多)分类算法评估器。 我找不到/不明白这两者之间的区别。
first one is for evaluation of the models that classifies given data into a specific single class (label), but model works with multiple classes (labels) (see wikipedia)。例如,您可以将网站分类为在线商店、商业、游戏、健康等。
second is for case when the data may belong to multiple classes and multiple labels (see wikipedia)。网站的继续示例,例如,在线销售药房的网站可能会被归类为“在线商店”和“健康”