Github user MechCoder commented on the pull request:
https://github.com/apache/spark/pull/7538#issuecomment-127062094
Actually I'm not able to find a single test that checks for multiclass
input. It says `generateMultinomialLogisticInput` here
(https://github.com/apache/spark/blob/master/mllib/src/test/scala/org/apache/spark/ml/classification/LogisticRegressionSuite.scala#L59)
but it seems that it is actually a binary dataset.
Also
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala#L287
here numClasses is set explicitly to 2.
Surely I'm missing something?
---
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]