You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/ml-features.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ the [IDF Python docs](api/python/pyspark.ml.html#pyspark.ml.feature.IDF) for mor
63
63
`Word2VecModel`. The model maps each word to a unique fixed-size vector. The `Word2VecModel`
64
64
transforms each document into a vector using the average of all words in the document; this vector
65
65
can then be used for as features for prediction, document similarity calculations, etc.
66
-
Please refer to the [MLlib user guide on Word2Vec](mllib-feature-extraction.html#Word2Vec) for more
66
+
Please refer to the [MLlib user guide on Word2Vec](mllib-feature-extraction.html#word2Vec) for more
67
67
details.
68
68
69
69
In the following code segment, we start with a set of documents, each of which is represented as a sequence of words. For each document, we transform it into a feature vector. This feature vector could then be passed to a learning algorithm.
@@ -411,7 +411,7 @@ for more details on the API.
411
411
Refer to the [DCT Java docs](api/java/org/apache/spark/ml/feature/DCT.html)
@@ -669,23 +669,23 @@ for more details on the API.
669
669
The following example demonstrates how to load a dataset in libsvm format and then normalize each row to have unit $L^2$ norm and unit $L^\infty$ norm.
670
670
671
671
<divclass="codetabs">
672
-
<divdata-lang="scala">
672
+
<divdata-lang="scala"markdown="1">
673
673
674
674
Refer to the [Normalizer Scala docs](api/scala/index.html#org.apache.spark.ml.feature.Normalizer)
0 commit comments