-
- Downloads
[SPARK-11289][DOC] Substitute code examples in ML features extractors with include_example
mengxr https://issues.apache.org/jira/browse/SPARK-11289 I make some changes in ML feature extractors. I.e. TF-IDF, Word2Vec, and CountVectorizer. I add new example code in spark/examples, hope it is the right place to add those examples. Author: Xusen Yin <yinxusen@gmail.com> Closes #9266 from yinxusen/SPARK-11289.
Showing
- docs/ml-features.md 8 additions, 209 deletionsdocs/ml-features.md
- examples/src/main/java/org/apache/spark/examples/ml/JavaCountVectorizerExample.java 69 additions, 0 deletions.../apache/spark/examples/ml/JavaCountVectorizerExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaTfIdfExample.java 79 additions, 0 deletions...n/java/org/apache/spark/examples/ml/JavaTfIdfExample.java
- examples/src/main/java/org/apache/spark/examples/ml/JavaWord2VecExample.java 67 additions, 0 deletions...ava/org/apache/spark/examples/ml/JavaWord2VecExample.java
- examples/src/main/python/ml/tf_idf_example.py 47 additions, 0 deletionsexamples/src/main/python/ml/tf_idf_example.py
- examples/src/main/python/ml/word2vec_example.py 45 additions, 0 deletionsexamples/src/main/python/ml/word2vec_example.py
- examples/src/main/scala/org/apache/spark/examples/ml/CountVectorizerExample.scala 59 additions, 0 deletions...org/apache/spark/examples/ml/CountVectorizerExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/TfIdfExample.scala 53 additions, 0 deletions...ain/scala/org/apache/spark/examples/ml/TfIdfExample.scala
- examples/src/main/scala/org/apache/spark/examples/ml/Word2VecExample.scala 53 additions, 0 deletions.../scala/org/apache/spark/examples/ml/Word2VecExample.scala
Please register or sign in to comment