We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3e6e96 commit 931d02dCopy full SHA for 931d02d
mllib/src/test/scala/org/apache/spark/ml/classification/OneVsRestSuite.scala
@@ -159,7 +159,7 @@ class OneVsRestSuite extends SparkFunSuite with MLlibTestSparkContext with Defau
159
test("SPARK-21306: OneVsRest should cache weightCol if necessary") {
160
val dataset2 = dataset.withColumn("weight", lit(1))
161
val ova = new OneVsRest().setClassifier(new LogisticRegression().setWeightCol("weight"))
162
- // run without any exception.
+ // failed if weightCol is not cached.
163
val ovaModel = ova.fit(dataset2)
164
assert(ovaModel !== null)
165
}
0 commit comments