Uh oh!
There was an error while loading. Please reload this page.
[SPARK-13967] [PYSPARK][ML] Added binary Param to Python CountVectorizer - #12308
[SPARK-13967] [PYSPARK][ML] Added binary Param to Python CountVectorizer #12308BryanCutler wants to merge 2 commits into
Conversation
BryanCutler
commented
Apr 11, 2016
cc @MLnick |
holdenk
commented
Apr 11, 2016
Since we seem to be adding the same param to multiple models, would it maybe make sense to make this a shared param? |
SparkQA
commented
Apr 11, 2016
Test build #55541 has finished for PR 12308 at commit
|
BryanCutler
commented
Apr 11, 2016
Maybe, I'm not sure if there are other uses besides |
MLnick
commented
Apr 12, 2016
Will take a look |
MLnick
commented
Apr 12, 2016
@holdenk@BryanCutler I'd say we could make We could later add |
MLnick
commented
Apr 12, 2016
LGTM otherwise. |
jkbradley
commented
Apr 12, 2016
+1 for not sharing the Param if the docs (and semantics) differ |
| outputCol=None): | ||
| """ | ||
| setParams(self, minTF=1.0, minDF=1.0, vocabSize=1 << 18, inputCol=None, outputCol=None) | ||
| setParams(self, minTF=1.0, minDF=1.0, vocabSize=1 << 18, binary=False, inputCol=None, |
There was a problem hiding this comment.
Need a backslash at the end. Please check the generated HTML doc.
BryanCutler
commented
Apr 12, 2016
This should have cause the doc checks to fail right? |
SparkQA
commented
Apr 12, 2016
Test build #55633 has finished for PR 12308 at commit
|
holdenk
commented
Apr 12, 2016
@BryanCutler it seems that (due to a bug introduced during code review) right now we only hault on doc build errors, not warnings as originally intended. Thanks for noticing this I'll make a follow up JIRA to deal with this. |
BryanCutler
commented
Apr 12, 2016
It looks like the option to treat warnings as errors is there, it just gets overwritten in the makefile |
holdenk
commented
Apr 12, 2016
Yup I've got a fix but going to cleanup the warnings that got in the meantime too. |
MLnick
commented
Apr 13, 2016
@mengxr@jkbradley anything further? |
jkbradley
commented
Apr 13, 2016
LGTM, feel free to merge, thanks! |
MLnick
commented
Apr 14, 2016
Merged to master. Thanks! |
Added binary toggle param to CountVectorizer feature transformer in PySpark.
Created a unit test for using CountVectorizer with the binary toggle on.