@Test public void testGetClassLabel() { assertEquals("FeatureVector getClassLabel match fail", featureVector.getClassLabel(), label); assertEquals("FeatureVector getIntClassLabel match fail", featureVector.getIntClassLabel(), -1); }
public ClassLabel getClassLabel() { return classLabel; }
FeatureVector implements java.io.Serializable { public ClassLabel getClassLabel() { return classLabel; } }
FeatureVector implements java.io.Serializable { public ClassLabel getClassLabel() { return classLabel; } FeatureVector(FeatureVector _fv);  FeatureVector(int numFeatures);  FeatureVector(double [] vals, ClassLabel _classLabel); }
FeatureVector implements java.io.Serializable { public ClassLabel getClassLabel() { return classLabel; } FeatureVector(FeatureVector _fv);  FeatureVector(int numFeatures);  FeatureVector(double [] vals, ClassLabel _classLabel); int size(); ClassLabel getClassLabel(); int getIntClassLabel(); void setClassLabel(ClassLabel classLabel); void set(int index, double value); double get(int index); double get(int index, double _default); double[] getAll(); void clear(); }
FeatureVector implements java.io.Serializable { public ClassLabel getClassLabel() { return classLabel; } FeatureVector(FeatureVector _fv);  FeatureVector(int numFeatures);  FeatureVector(double [] vals, ClassLabel _classLabel); int size(); ClassLabel getClassLabel(); int getIntClassLabel(); void setClassLabel(ClassLabel classLabel); void set(int index, double value); double get(int index); double get(int index, double _default); double[] getAll(); void clear();  }