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 3bbbdd8 commit b370a91Copy full SHA for b370a91
docs/mllib-feature-extraction.md
@@ -68,7 +68,7 @@ val sc: SparkContext = ...
68
val documents: RDD[Seq[String]] = sc.textFile("...").map(_.split(" ").toSeq)
69
70
val hashingTF = new HashingTF()
71
-val tf: RDD[Vector] = hasingTF.transform(documents)
+val tf: RDD[Vector] = hashingTF.transform(documents)
72
{% endhighlight %}
73
74
While applying `HashingTF` only needs a single pass to the data, applying `IDF` needs two passes:
0 commit comments