[GitHub] spark pull request #14405: [SPARK-16800][EXAMPLES][ML] Fix Java examples tha...

2016-07-30 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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 #14405: [SPARK-16800][EXAMPLES][ML] Fix Java examples tha...

2016-07-29 Thread BryanCutler
GitHub user BryanCutler opened a pull request:

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

[SPARK-16800][EXAMPLES][ML] Fix Java examples that fail to run due to 
exception

## What changes were proposed in this pull request?
Some Java examples are using mllib.linalg.Vectors instead of 
ml.linalg.Vectors and causes an exception when run.  Also there are some Java 
examples that incorrectly specify data types in the schema, also causing an 
exception.


## How was this patch tested?
Ran corrected examples locally



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

$ git pull https://github.com/BryanCutler/spark 
java-examples-ml.Vectors-fix-SPARK-16800

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

https://github.com/apache/spark/pull/14405.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 #14405


commit 75b9f30bd574675ab47f6a7ed8dd453a4564138b
Author: Bryan Cutler 
Date:   2016-07-28T17:26:37Z

fixed some more Java examples that were not running due to mllib.Vectors

commit fa832f3b8354e4f1afc3996604b76e513132ec4f
Author: Bryan Cutler 
Date:   2016-07-29T18:49:54Z

fixed Java examples to use ml.linalg instead of mllib, which caused 
exceptions

commit d3059d517e97e4c3605995d02b344d77076e9a55
Author: Bryan Cutler 
Date:   2016-07-29T19:01:25Z

fixed errors in Java examples due to incorrect column data type




---
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