Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/5967#discussion_r29953037
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
---
@@ -193,3 +308,246 @@ class LogisticRegressionModel private[ml] (
copyValues(new LogisticRegressionModel(parent, weights, intercept),
extra)
}
}
+
+/**
+ * MultiClassSummarizer computes the number of distinct labels and
corresponding counts,
+ * and validates the data to see if the labels used for k class
multi-label classification
+ * are in the range of {0, 1, ..., k - 1} in a online fashion.
+ *
+ * Two MultilabelSummarizer can be merged together to have a statistical
summary of the
+ * corresponding joint dataset.
+ */
+class MultiClassSummarizer private[ml] extends Serializable {
--- End diff --
private?
---
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]