Re: How to specify “positive class” in sparkml classification?

2021-07-07 Thread Sean Owen
The positive class is "1" and negative is "0" by convention; I don't think you can change that (though you can translate your data if needed). F1 is defined only in a one-vs-rest sense in multi-class evaluation. You can set 'metricLabel' to define which class is 'positive' in multiclass - everythin

How to specify “positive class” in sparkml classification?

2021-07-07 Thread Reed Villanueva
How to specify the "positive class" in sparkml binary classification? (Or perhaps: How does a MulticlassClassificationEvaluator de