Repository: spark Updated Branches: refs/heads/master 6077e3ef3 -> 840ba053b
[MINOR][ML] Document treatment of instance weights in logreg summary ## What changes were proposed in this pull request? Add Scaladoc noting that instance weights are currently ignored in the logistic regression summary traits. Author: Joseph K. Bradley <jos...@databricks.com> Closes #19071 from jkbradley/lr-summary-minor. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/840ba053 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/840ba053 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/840ba053 Branch: refs/heads/master Commit: 840ba053b982362dfe84c6faa59d2237994d591c Parents: 6077e3e Author: Joseph K. Bradley <jos...@databricks.com> Authored: Tue Aug 29 13:01:37 2017 -0700 Committer: Joseph K. Bradley <jos...@databricks.com> Committed: Tue Aug 29 13:01:37 2017 -0700 ---------------------------------------------------------------------- .../org/apache/spark/ml/classification/LogisticRegression.scala | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/840ba053/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala ---------------------------------------------------------------------- diff --git a/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala index ffe4b52..1869d51 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala @@ -1356,6 +1356,8 @@ private[ml] class MultiClassSummarizer extends Serializable { /** * :: Experimental :: * Abstraction for logistic regression results for a given model. + * + * Currently, the summary ignores the instance weights. */ @Experimental sealed trait LogisticRegressionSummary extends Serializable { @@ -1495,6 +1497,8 @@ sealed trait LogisticRegressionTrainingSummary extends LogisticRegressionSummary /** * :: Experimental :: * Abstraction for binary logistic regression results for a given model. + * + * Currently, the summary ignores the instance weights. */ @Experimental sealed trait BinaryLogisticRegressionSummary extends LogisticRegressionSummary { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org