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-11925] [ML] [PySpark] Add PySpark missing methods for ml.feature during Spark 1.6 QA #9908

Closed
wants to merge 2 commits into from

Conversation

yanboliang
Copy link
Contributor

Add PySpark missing methods and params for ml.feature:

  • RegexTokenizer should support setting toLowercase.
  • MinMaxScalerModel should support output originalMin and originalMax.
  • PCAModel should support output pc.

@SparkQA
Copy link

SparkQA commented Nov 23, 2015

Test build #46529 has finished for PR 9908 at commit 6aa8643.

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

@SparkQA
Copy link

SparkQA commented Dec 10, 2015

Test build #47512 has finished for PR 9908 at commit 6aa8643.

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

@yanboliang
Copy link
Contributor Author

ping @jkbradley

@@ -1009,26 +1029,34 @@ class RegexTokenizer(JavaTransformer, HasInputCol, HasOutputCol):
minTokenLength = Param(Params._dummy(), "minTokenLength", "minimum token length (>= 0)")
gaps = Param(Params._dummy(), "gaps", "whether regex splits on gaps (True) or matches tokens")
pattern = Param(Params._dummy(), "pattern", "regex pattern (Java dialect) used for tokenizing")
toLowercase = Param(Params._dummy(), "toLowercase", "whether to convert all characters to " +
"lowercase before tokenizing, default is true")
Copy link
Member

Choose a reason for hiding this comment

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

No need to state default in built-in doc

@jkbradley
Copy link
Member

Looks good, just a few comments

@SparkQA
Copy link

SparkQA commented Jan 15, 2016

Test build #49456 has finished for PR 9908 at commit 7eaf103.

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

@jkbradley
Copy link
Member

LGTM
Merging with master
Thanks!

@asfgit asfgit closed this in 5f84378 Jan 15, 2016
@yanboliang yanboliang deleted the spark-11925 branch January 16, 2016 08:49
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