spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiangrui Meng <men...@gmail.com>
Subject Re: pyspark MLlib examples don't work with Spark 1.0.0
Date Sat, 31 May 2014 08:58:30 GMT
The documentation you looked at is not official, though it is from
@pwendell's website. It was for the Spark SQL release. Please find the
official documentation here:

http://spark.apache.org/docs/latest/mllib-linear-methods.html#linear-support-vector-machine-svm

It contains a working example showing how to construct LabeledPoint
and use it for training.

Best,
Xiangrui

On Fri, May 30, 2014 at 5:10 AM, jamborta <jamborta@gmail.com> wrote:
> thanks for the reply. I am definitely running 1.0.0, I set it up manually.
>
> To answer my question, I found out from the examples that it would need a
> new data type called LabeledPoint instead of numpy array.
>
>
>
> --
> View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/pyspark-MLlib-examples-don-t-work-with-Spark-1-0-0-tp6546p6579.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.

Mime
View raw message