spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dharmin Siddesh J <siddeshjdhar...@gmail.com>
Subject Reg:Reading a csv file with String label into labelepoint
Date Wed, 16 Mar 2016 05:41:55 GMT
Hi

I am trying to read a csv with few double attributes and String Label . How
can i convert it to labelpoint RDD so that i can run it with spark mllib
classification algorithms.

I have tried
The LabelPoint Constructor (is available only for Regression ) but it
accepts only double format label. Is there any other way to point out the
string label and convert it into RDD<labelpoint .>

Regards
Siddesh

Mime
View raw message