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 6ddbf05 commit e84f2fcCopy full SHA for e84f2fc
mllib/src/test/scala/org/apache/spark/mllib/util/MLUtilsSuite.scala
@@ -139,7 +139,7 @@ class MLUtilsSuite extends FunSuite with LocalSparkContext {
139
"Each training+validation set combined should contain all of the data.")
140
}
141
// K fold cross validation should only have each element in the validation set exactly once
142
- assert(foldedRdds.map(_._1).reduce((x,y) => x.union(y)).collect().sorted ===
+ assert(foldedRdds.map(_._2).reduce((x,y) => x.union(y)).collect().sorted ===
143
data.collect().sorted)
144
145
0 commit comments