Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17477#discussion_r111059991
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/Classifier.scala ---
    @@ -74,7 +74,7 @@ abstract class Classifier[
        *                 and features (`Vector`).
        * @param numClasses  Number of classes label can take.  Labels must be 
integers in the range
        *                    [0, numClasses).
    -   * @throws SparkException  if any label is not an integer >= 0
    +   * @note Throws `SparkException` if any label is not an integer is 
greater than or equal to 0
    --- End diff --
    
    Or `is a non-integer or is negative`?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to