Github user srowen commented on the issue:
https://github.com/apache/spark/pull/14643
If it's OK, I'll open a different PR which proposes a simpler behavior:
- Return the class with highest probability that is also >= threshold
- If no such class exists, return ... NaN? This case really must be handled
but I don't see it was designed to be here
- If more than one such class exists, choose the one with lowest threshold
- If more than one such class exists, pick the first one
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]