Github user jkbradley commented on the pull request:

    https://github.com/apache/spark/pull/12663#issuecomment-214842098
  
    I feel like SPARK-7126 should not change this behavior.  If a user passes 
in data which are all integers in [0, ..., some small-ish integer], then I 
think it's reasonable, to assume they are class labels.  That is what most ML 
libraries do, I believe.
    
    I bet we could fix the cross validation issue by having CV check to see if 
the algorithm is a classifier, but I don't think we need to rush on that.
    
    @sethah @MLnick Thanks for taking a look, and please let me know if there 
are other items to address.  I'll take your votes on the maxNumClasses value.  
: )


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