Github user imatiach-msft commented on the issue:

    https://github.com/apache/spark/pull/16516
  
    Maybe a more generic fix would be to fix the method ParamValidators.inArray 
to be case insensitive.  I see this method used in a lot of places.  Doing a 
simple search brings up not just LogisticRegression.scala but also:
    
/mllib/src/main/scala/org/apache/spark/ml/evaluation/BinaryClassificationEvaluator.scala
    
/mllib/src/main/scala/org/apache/spark/ml/evaluation/MulticlassClassificationEvaluator.scala
    
/mllib/src/main/scala/org/apache/spark/ml/evaluation/RegressionEvaluator.scala
    /mllib/src/main/scala/org/apache/spark/ml/feature/Bucketizer.scala
    /mllib/src/main/scala/org/apache/spark/ml/feature/ChiSqSelector.scala
    and many others as well, and it looks like they all suffer from the same 
bug.  A more general fix would be preferred I think, especially to make all 
code consistent and use the same method, no?  It doesn't seem like any 
parameter should be case-sensitive.


---
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]

Reply via email to