Package de.bwaldvogel.liblinear
Class FeatureNode
java.lang.Object
de.bwaldvogel.liblinear.FeatureNode
- All Implemented Interfaces:
Feature
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFeatureNode
(int index, double value) FeatureNode
(int index, double value, boolean validateIndex) -
Method Summary
-
Field Details
-
index
public final int index -
value
public double value
-
-
Constructor Details
-
FeatureNode
public FeatureNode(int index, double value) -
FeatureNode
FeatureNode(int index, double value, boolean validateIndex)
-
-
Method Details
-
getIndex
public int getIndex() -
getValue
public double getValue() -
setValue
public void setValue(double value) -
hashCode
public int hashCode() -
equals
-
toString
-