Uh oh!
There was an error while loading. Please reload this page.
[SPARK-11923][ML] Python API for ml.feature.ChiSqSelector - #10186
[SPARK-11923][ML] Python API for ml.feature.ChiSqSelector#10186yinxusen wants to merge 16 commits into
Conversation
SparkQA
commented
Dec 8, 2015
Test build #47306 has finished for PR 10186 at commit
|
SparkQA
commented
Dec 8, 2015
Test build #47307 has finished for PR 10186 at commit
|
yanboliang
commented
Dec 9, 2015
Looks good except minor issues. |
There was a problem hiding this comment.
So I think we probably don't need the "#"s in the pydoc
yinxusen
commented
Dec 10, 2015
Thanks for comments @holdenk and @yanboliang. It's so strange that I cannot see comments from @yanboliang in this page. It must be a Github issue. I don't know whether we can catch up for 1.6? If not, I'll change the tag into 1.7 later. |
SparkQA
commented
Dec 10, 2015
Test build #47462 has finished for PR 10186 at commit
|
There was a problem hiding this comment.
This model is loadable and saveable in Java, I don't see us doing this elsewhere in ml/ yet (although we do it in mllib/) but do we maybe want to use the JavaLoader & JavaSaveable base classes?
There was a problem hiding this comment.
Model persistence is important in PySpark, but there is no need to add it in this PR. @yanboliang has a JIRA for adding pipeline persistence in PySpark: https://issues.apache.org/jira/browse/SPARK-11939
There was a problem hiding this comment.
Could you please add the selectedFeatures method
yanboliang
commented
Dec 13, 2015
LGTM |
thunterdb
commented
Jan 7, 2016
LGTM cc @jkbradley |
yinxusen
commented
Jan 11, 2016
Change the version to 2.2.0 |
SparkQA
commented
Jan 11, 2016
Test build #49141 has finished for PR 10186 at commit
|
There was a problem hiding this comment.
nit: indent 1 more space (this line + next line)
jkbradley
commented
Jan 12, 2016
Thanks for the PR! I only had a couple more comments. |
yinxusen
commented
Jan 12, 2016
test it please |
SparkQA
commented
Jan 12, 2016
Test build #49243 has finished for PR 10186 at commit
|
There was a problem hiding this comment.
Ping @jkbradley
I use a javaSelectedFeatures because I find that if I use self._call_java("selectedFeatures"), it returns a array('i', [3]), which is strange since the result should be [3]. I doubt that there is something wrong in SerDe.dumps(javaObject) in Scala side then deserialize it in Python side with Scala Array.
yinxusen
commented
Jan 13, 2016
@jkbradley I also find an inconsistency returning value so I leave a JIRA here: https://issues.apache.org/jira/browse/SPARK-12780 |
yinxusen
commented
Jan 13, 2016
And what's more, the |
There was a problem hiding this comment.
This isn't needed for Java, so I'd make it a private API. But hopefully we can remove this altogether once [https://github.com//pull/10724] gets merged.
jkbradley
commented
Jan 14, 2016
@yinxusen Thanks! Let's get your other PR in first, and then update this PR. |
yinxusen
commented
Jan 14, 2016
@jkbradley Yes, sure. |
There was a problem hiding this comment.
@jkbradley I learn from @holdenk' PR #10085, we can transform the JavaArray directly with list in Python. So there is no need to call _call_java().
SparkQA
commented
Jan 15, 2016
Test build #49453 has finished for PR 10186 at commit
|
jkbradley
commented
Jan 16, 2016
See comment on [https://github.com//pull/10724]. We'll return to this PR after [https://github.com//pull/10772] gets merged. |
yinxusen
commented
Jan 26, 2016
test it please |
SparkQA
commented
Jan 26, 2016
Test build #50112 has finished for PR 10186 at commit
|
yinxusen
commented
Jan 26, 2016
@jkbradley Another PR related to #10772. |
jkbradley
commented
Jan 26, 2016
LGTM |
https://issues.apache.org/jira/browse/SPARK-11923