Class SupportVectorMachine
- java.lang.Object
-
- net.sf.tweety.machinelearning.svm.SupportVectorMachine
-
- All Implemented Interfaces:
Classifier
public class SupportVectorMachine extends Object implements Classifier
Realizes a support vector machine classifier utilizing LIBSVM.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSupportVectorMachine(libsvm.svm_model model)Creates a new SVM from the given libsvm model.
-
-
-
Method Detail
-
classify
public Category classify(Observation obs)
Description copied from interface:ClassifierClassifies the given observation.- Specified by:
classifyin interfaceClassifier- Parameters:
obs- some observation.- Returns:
- The category of the observation.
-
-