spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SK <>
Subject Extracting an element from the feature vector in LabeledPoint
Date Fri, 01 Aug 2014 02:01:41 GMT


I want to extract the individual elements of a feature vector that is part
of a LabeledPoint. I tried the following:


data is a LabeledPoint with a feature vector containing 3 features. All of
the above resulted in  compilation errors. What is the right way to extract
the elements of the feature vector?


View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message