File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
mllib/src/main/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ class LogisticRegression(override val uid: String)
230230 override def getThreshold : Double = super .getThreshold
231231
232232 /**
233- * Whether to over-/undersamples each of training instance according to the given
234- * weight in `weightCol`. If empty, all instances are supposed to have weights as 1.0.
233+ * Whether to over-/under-sample training instances according to the given weights in weightCol.
234+ * If empty, all instances are treated equally (weight 1.0) .
235235 * Default is empty, so all instances have weight one.
236236 * @group setParam
237237 */
@@ -595,6 +595,8 @@ private[classification] class MultiClassSummarizer extends Serializable {
595595
596596/**
597597 * Abstraction for multinomial Logistic Regression Training results.
598+ * Currently, the training summary ignores the training weights except
599+ * for the objective trace.
598600 */
599601sealed trait LogisticRegressionTrainingSummary extends LogisticRegressionSummary {
600602
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ class MultivariateOnlineSummarizer extends MultivariateStatisticalSummary with S
186186 }
187187
188188 /**
189- * Sample unbiased estimation of variance of each dimension.
189+ * Unbiased estimate of sample variance of each dimension.
190190 *
191191 */
192192 @ Since (" 1.1.0" )
You can’t perform that action at this time.
0 commit comments