Skip to content

[SPARK-12217] [ML] Document invalid handling for StringIndexer - #10257

Closed
BenFradet wants to merge 2 commits into
apache:masterfrom
BenFradet:SPARK-12217
Closed

[SPARK-12217] [ML] Document invalid handling for StringIndexer#10257
BenFradet wants to merge 2 commits into
apache:masterfrom
BenFradet:SPARK-12217

Conversation

@BenFradet

Copy link
Copy Markdown
Contributor

Added a paragraph regarding StringIndexer#setHandleInvalid to the ml-features documentation.

I wonder if I should also add a snippet to the code example, input welcome.

@SparkQA

SparkQA commented Dec 10, 2015

Copy link
Copy Markdown

Test build #47545 has finished for PR 10257 at commit 8c293a5.

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

@BenFradet

Copy link
Copy Markdown
Contributor Author

Pinging @holdenk and @jkbradley

@holdenk

holdenk commented Dec 11, 2015

Copy link
Copy Markdown
Contributor

That looks good to me, I don't think a full code example is necessary.

Comment thread docs/ml-features.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"set up" --> "fit"
"on a dataset which you want to reuse on another" --> "on one dataset and then use it to transform another dataset"

@jkbradley

Copy link
Copy Markdown
Member

@BenFradet Thanks! I agree you didn't have to write a full example, but it's nice that it explains it very clearly, so I'd keep it.

I just had small phrasing comments.

@BenFradet

Copy link
Copy Markdown
Contributor Author

@jkbradley thanks for the comments.

@jkbradley

Copy link
Copy Markdown
Member

LGTM pending tests
Thanks!

@SparkQA

SparkQA commented Dec 11, 2015

Copy link
Copy Markdown

Test build #47600 has finished for PR 10257 at commit 0fb5e2b.

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

@SparkQA

SparkQA commented Dec 11, 2015

Copy link
Copy Markdown

Test build #2209 has finished for PR 10257 at commit 0fb5e2b.

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

@jkbradley

Copy link
Copy Markdown
Member

Merging with master and branch-1.6

asfgit pushed a commit that referenced this pull request Dec 12, 2015
Added a paragraph regarding StringIndexer#setHandleInvalid to the ml-features documentation.

I wonder if I should also add a snippet to the code example, input welcome.

Author: BenFradet <benjamin.fradet@gmail.com>

Closes #10257 from BenFradet/SPARK-12217.

(cherry picked from commit aea676c)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
@asfgit asfgit closed this in aea676c Dec 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants