Class SVMRegressionType
java.lang.Object
org.tribuo.regression.libsvm.SVMRegressionType
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable,com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>,Serializable,SVMType<Regressor>
The carrier type for LibSVM regression modes.
Supports C_SVC and NU_SVC.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe LibSVM int id for the algorithm.com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenancebooleanIs this an anomaly detection algorithm.booleanIs this a classification algorithm.booleanisNu()Is this a nu-SVM.booleanIs this a regression algorithm.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfig
-
Constructor Details
-
SVMRegressionType
-
-
Method Details
-
isClassification
Description copied from interface:SVMTypeIs this a classification algorithm.- Specified by:
isClassificationin interfaceSVMType<Regressor>- Returns:
- True if it's a classification algorithm.
-
isRegression
Description copied from interface:SVMTypeIs this a regression algorithm.- Specified by:
isRegressionin interfaceSVMType<Regressor>- Returns:
- True if it's a regression algorithm.
-
isAnomaly
-
isNu
-
getNativeType
Description copied from interface:SVMTypeThe LibSVM int id for the algorithm.- Specified by:
getNativeTypein interfaceSVMType<Regressor>- Returns:
- The int id.
-
getProvenance
- Specified by:
getProvenancein interfacecom.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
-