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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubledistanceFromSeparatingPlane(cern.colt.matrix.DoubleMatrix1D instance)Returns the signed distance between the separating hyperplane and the instance.-
Methods inherited from interface se.hb.jcp.ml.IClassifier
fit, fitNew, predict
-
Methods inherited from interface se.hb.jcp.ml.IClassifierInformation
getAttributeCount, getLabels, isTrained, nativeStorageTemplate
-
-
-
-
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.
-
-