Package se.hb.jcp.ml

Interface ISVMClassifier

  • All Superinterfaces:
    IClassifier, IClassifierInformation, java.io.Serializable
    All Known Implementing Classes:
    SVMClassifier, SVMClassifier

    public interface ISVMClassifier
    extends IClassifier
    Specifies an interface for SVM classifiers giving access to internal SVM specific information. Contract for JCP use: 1. The methods implemented for this interface must be reentrant.
    • Method Detail

      • distanceFromSeparatingPlane

        double distanceFromSeparatingPlane​(cern.colt.matrix.DoubleMatrix1D instance)
        Returns the signed distance between the separating hyperplane and the instance.
        Parameters:
        instance - the instance.
        Returns:
        the signed distance between the separating hyperplane and the instance.