Skip to content

Commit b52c7f9

Browse files
Omede Firouzsrowen
authored andcommitted
[MLLIB] Remove println in LogisticRegression.scala
There's no corresponding printing in linear regression. Here was my previous PR (something weird happened and I can't reopen it) #5272 Author: Omede Firouz <ofirouz@palantir.com> Closes #5338 from oefirouz/println and squashes the following commits: 3f3dbf4 [Omede Firouz] [MLLIB] Remove println
1 parent b0d884f commit b52c7f9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class LogisticRegressionModel private[ml] (
180180
* The behavior of this can be adjusted using [[threshold]].
181181
*/
182182
override protected def predict(features: Vector): Double = {
183-
println(s"LR.predict with threshold: ${paramMap(threshold)}")
184183
if (score(features) > paramMap(threshold)) 1 else 0
185184
}
186185

0 commit comments

Comments
 (0)