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

    https://github.com/apache/spark/pull/20332#discussion_r164531329
  
    --- Diff: docs/ml-classification-regression.md ---
    @@ -111,10 +110,9 @@ Continuing the earlier example:
     
[`LogisticRegressionTrainingSummary`](api/java/org/apache/spark/ml/classification/LogisticRegressionTrainingSummary.html)
     provides a summary for a
     
[`LogisticRegressionModel`](api/java/org/apache/spark/ml/classification/LogisticRegressionModel.html).
    -Currently, only binary classification is supported and the
    -summary must be explicitly cast to
    
-[`BinaryLogisticRegressionTrainingSummary`](api/java/org/apache/spark/ml/classification/BinaryLogisticRegressionTrainingSummary.html).
 
    -Support for multiclass model summaries will be added in the future.
    +In the case of binary classification, certain additional metrics are
    --- End diff --
    
    Oh no. Just add a sentence to make it more clear, like:
    "In the case of binary classification, 
`BinaryLogisticRegressionTrainingSummary` inherits all metrics in 
`LogisticRegressionSummary`, and certain additional metrics are added ..."
    Just a minor suggestion -:)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to