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

    https://github.com/apache/spark/pull/15435#discussion_r133829306
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -1484,3 +1556,96 @@ class BinaryLogisticRegressionSummary 
private[classification] (
         binaryMetrics.recallByThreshold().toDF("threshold", "recall")
       }
     }
    +
    +sealed trait BinaryLogisticRegressionTrainingSummary extends 
BinaryLogisticRegressionSummary
    +  with LogisticRegressionTrainingSummary
    +
    +/**
    + * :: Experimental ::
    + * Multiclass logistic regression training results.
    + *
    + * @param predictions dataframe output by the model's `transform` method.
    + * @param probabilityCol field in "predictions" which gives the 
probability of
    + *                       each class as a vector.
    + * @param predictionCol field in "predictions" which gives the prediction 
for a data instance as a
    + *                      double.
    + * @param labelCol field in "predictions" which gives the true label of 
each instance.
    + * @param featuresCol field in "predictions" which gives the features of 
each instance as a vector.
    + * @param objectiveHistory objective function (scaled loss + 
regularization) at each iteration.
    + */
    +private class LogisticRegressionTrainingSummaryImpl(
    +    override val predictions: DataFrame,
    --- End diff --
    
    Same for BinaryLogisticRegressionTrainingSummaryImpl


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