MulticlassClassificationEvaluator and MultilabelClassificationEvaluator are two (of many) Classification Algorithm Evaluators found in PySpark. I can't find/ understand the difference between these two.
Asked
Active
Viewed 407 times
1 Answers
2
The 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). For example, you can categorize web site as online shop, business, gaming, health, etc.
The second is for case when the data may belong to multiple classes and multiple labels (see wikipedia). Continuing example of web sites, for example, site that sells pharmacy online may could be classified as both "online shop" and "health"

Purushothaman Srikanth
- 711
- 4
- 9
- 22

Alex Ott
- 80,552
- 8
- 87
- 132