Skip to content

Commit 0321faf

Browse files
committed
typo fixed
1 parent 70ce734 commit 0321faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/scala/org/apache/spark/examples/ml/VectorIndexerExample.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object VectorIndexerExample {
4242

4343
val categoricalFeatures: Set[Int] = indexerModel.categoryMaps.keys.toSet
4444
println(s"Chose ${categoricalFeatures.size} " +
45-
s"categorical features: {$categoricalFeatures.mkString(", ")}")
45+
s"categorical features: ${categoricalFeatures.mkString(", ")}")
4646

4747
// Create new column "indexed" with categorical values transformed to indices
4848
val indexedData = indexerModel.transform(data)

0 commit comments

Comments
 (0)