Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-9890] [Doc] [ML] User guide for CountVectorizer #8487

Closed
wants to merge 3 commits into from

Conversation

hhbyyh
Copy link
Contributor

@hhbyyh hhbyyh commented Aug 27, 2015

jira: https://issues.apache.org/jira/browse/SPARK-9890

document with Scala and java examples

@SparkQA
Copy link

SparkQA commented Aug 27, 2015

Test build #41692 has finished for PR 8487 at commit 4e37227.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@@ -211,6 +211,87 @@ for feature in result.select("result").take(3):
</div>
</div>

## CountVectorizer

As a transformer, `CountVectorizerModel` converts a collection of text documents to vectors of token counts.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we start with CountVectorizer but not CountVectorizerModel? I guess most users would use CountVectorizer to build the vocabulary.

@SparkQA
Copy link

SparkQA commented Aug 28, 2015

Test build #41740 has finished for PR 8487 at commit 007c369.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Aug 28, 2015
jira: https://issues.apache.org/jira/browse/SPARK-9890

document with Scala and java examples

Author: Yuhao Yang <hhbyyh@gmail.com>

Closes #8487 from hhbyyh/cvDoc.

(cherry picked from commit e2a8430)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
@asfgit asfgit closed this in e2a8430 Aug 28, 2015
@mengxr
Copy link
Contributor

mengxr commented Aug 28, 2015

LGTM except some minor issues with Java imports. I will fix those in a separate PR. Merged into master and branch-1.5. Thanks!

@hhbyyh
Copy link
Contributor Author

hhbyyh commented Aug 30, 2015

Thanks for helping review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants