Interface SVMTarget

  • All Known Implementing Classes:
    AbstractSVMTarget, SimpleSVMTarget

    public interface SVMTarget
    An SVM classifier model.

    This is the interface for objects that contain the model for a binary classification task.

    Author:
    Matthew Pocock
    • Method Detail

      • items

        java.util.Set items()
      • itemTargets

        java.util.Set itemTargets()
      • getTarget

        double getTarget​(java.lang.Object item)
      • setTarget

        void setTarget​(java.lang.Object item,
                       double target)
                throws java.lang.UnsupportedOperationException
        Throws:
        java.lang.UnsupportedOperationException
      • addItem

        void addItem​(java.lang.Object item)
              throws java.lang.UnsupportedOperationException
        Throws:
        java.lang.UnsupportedOperationException
      • addItemTarget

        void addItemTarget​(java.lang.Object item,
                           double target)
                    throws java.lang.UnsupportedOperationException
        Throws:
        java.lang.UnsupportedOperationException
      • removeItem

        void removeItem​(java.lang.Object item)
                 throws java.lang.UnsupportedOperationException
        Throws:
        java.lang.UnsupportedOperationException
      • clear

        void clear()
            throws java.lang.UnsupportedOperationException
        Throws:
        java.lang.UnsupportedOperationException