Hi Imk,

I am not aware of any classifier in MLLib that accept nominal type of data. 
They do accept RDD of LabeledPoints, which are label + vector of Double. So, 
you'll need to convert nominal to double.

Best regards, Alexander

-----Original Message-----
From: lmk [mailto:lakshmi.muralikrish...@gmail.com] 
Sent: Wednesday, June 25, 2014 1:27 PM
To: u...@spark.incubator.apache.org
Subject: RE: Prediction using Classification with text attributes in Apache 
Spark MLLib

Hi Alexander,
Just one more question on a related note. Should I be following the same 
procedure even if my data is nominal (categorical), but having a lot of 
combinations? (In Weka I used to have it as nominal data)

Regards,
-lmk



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Prediction-using-Classification-with-text-attributes-in-Apache-Spark-MLLib-tp8166p8249.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply via email to