File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
mllib/src/test/scala/org/apache/spark/ml/feature Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ class VectorIndexerSuite extends FunSuite with MLlibTestSparkContext {
150150 val vectorIndexer = getIndexer.setMaxCategories(maxCategories)
151151 val model = vectorIndexer.fit(data)
152152 val categoryMaps = model.categoryMaps
153- assert(categoryMaps.keys.toSet === categoricalFeatures) // Chose correct categorical features
153+ // Chose correct categorical features
154+ assert(categoryMaps.keys.toSet === categoricalFeatures)
154155 val transformed = model.transform(data).select(" indexed" )
155156 val indexedRDD : RDD [Vector ] = transformed.map(_.getAs[Vector ](0 ))
156157 val featureAttrs = AttributeGroup .fromStructField(transformed.schema(" indexed" ))
You can’t perform that action at this time.
0 commit comments