public class LabeledPointWithWeight extends Object
Constructor and Description |
---|
LabeledPointWithWeight() |
LabeledPointWithWeight(DenseVector features,
double label,
double weight) |
Modifier and Type | Method and Description |
---|---|
DenseVector |
getFeatures() |
double |
getLabel() |
double |
getWeight() |
void |
setFeatures(DenseVector features) |
void |
setLabel(double label) |
void |
setWeight(double weight) |
public LabeledPointWithWeight(DenseVector features, double label, double weight)
public LabeledPointWithWeight()
public DenseVector getFeatures()
public void setFeatures(DenseVector features)
public double getLabel()
public void setLabel(double label)
public double getWeight()
public void setWeight(double weight)
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.