Package org.biojava.stats.svm
Interface SVMClassifierModel
- All Known Implementing Classes:
AbstractSVMClassifierModel
,SimpleSVMClassifierModel
public interface SVMClassifierModel
An SVM classifier model.
This is the interface for objects that contain the model for a binary classification task.
- Author:
- Matthew Pocock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addItemAlpha
(Object item, double alpha) double
void
clear()
double
double
items()
void
removeItem
(Object item) void
void
setThreshold
(double threshold)
-
Method Details
-
getKernel
-
setThreshold
- Throws:
UnsupportedOperationException
-
getThreshold
double getThreshold() -
items
-
itemAlphas
-
getAlpha
-
setAlpha
- Throws:
UnsupportedOperationException
-
addItem
- Throws:
UnsupportedOperationException
-
addItemAlpha
- Throws:
UnsupportedOperationException
-
removeItem
- Throws:
UnsupportedOperationException
-
clear
- Throws:
UnsupportedOperationException
-
classify
-