Database Reference
In-Depth Information
Extracting the right features from your
data
As the underlying models for regression are the same as those for the classification case,
we can use the same approach to create input features. The only practical difference is that
the target is now a real-valued variable, as opposed to a categorical one. The
LabeledPoint
class in MLlib already takes this into account, as the
label
field is of
the
Double
type, so it can handle both cases.