Home Original page

SVM_Light.LabelledVector (biojava-legacy 1.9.5 API)

  • java.lang.Object
    • org.biojava.stats.svm.tools.SVM_Light.LabelledVector
  • Enclosing class:
    SVM_Light

    public static class SVM_Light.LabelledVector
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LabelledVector​(SparseVector v, double label)  
      LabelledVector​(SparseVector v, double label, String comment)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getComment()  
      double getLabel()  
      SparseVector getVector()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LabelledVector

        public LabelledVector​(SparseVector v,
                              double label)
      • LabelledVector

        public LabelledVector​(SparseVector v,
                              double label,
                              String comment)
    • Method Detail

      • getVector

        public SparseVector getVector()
      • getLabel

        public double getLabel()
      • getComment

        public String getComment()