[GitHub] spark pull request: [SPARK-7013][ML][test]Add unit test for spark....

2015-06-04 Thread RoyGao
GitHub user RoyGao opened a pull request:

https://github.com/apache/spark/pull/6665

[SPARK-7013][ML][test]Add unit test for spark.ml StandardScaler

I have added unit test for ML's StandardScaler By comparing with R's 
output, please review  for me.
Thx.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/RoyGao/spark 7013

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/6665.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #6665


commit b3dfd4a068ec25a4a4ef413dff26f6dc17736689
Author: RoyGaoVLIS 
Date:   2015-06-05T05:36:03Z

add unit test for standardscaler




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark pull request: [ML][Minor] update transformSchema methods of ...

2015-05-27 Thread RoyGao
GitHub user RoyGao opened a pull request:

https://github.com/apache/spark/pull/6433

[ML][Minor] update transformSchema methods of StandardScaler

When I wrote unit test for StandScaler, I found transformSchema method of 
StandardScaler different from other algorithm such IDF\StringIndexer and so on. 
Then I add validateAndTransformSchema method like other estimator.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/RoyGao/spark temp

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/spark/pull/6433.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #6433


commit 5b93a11e4b107a8f5923dd232f44d0f877cafdd4
Author: RoyGaoVLIS 
Date:   2015-05-27T08:36:30Z

update transformSchema methods of standardScaler




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org