Re: pyspark MLlib examples don't work with Spark 1.0.0

2014-05-31 Thread Xiangrui Meng
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 jambo...@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.


Re: pyspark MLlib examples don't work with Spark 1.0.0

2014-05-30 Thread jamborta
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.