Class LinearClassificationType
java.lang.Object
org.tribuo.classification.liblinear.LinearClassificationType
- 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,LibLinearType<Label>
The carrier type for liblinear classification modes.
Supports: L1R_L2LOSS_SVC, L2R_L2LOSS_SVC, L2R_L2LOSS_SVC_DUAL, L2R_L1LOSS_SVC_DUAL, MCSVM_CS, L1R_LR, L2R_LR, L2R_LR_DUAL.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe different model types available for classification. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a LinearClassificationType using the supplied algorithm. -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenancede.bwaldvogel.liblinear.SolverTypebooleanbooleanbooleanMethods 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
-
LinearClassificationType
Constructs a LinearClassificationType using the supplied algorithm.- Parameters:
type- The liblinear algorithm.
-
-
Method Details
-
isClassification
- Specified by:
isClassificationin interfaceLibLinearType<Label>
-
isRegression
- Specified by:
isRegressionin interfaceLibLinearType<Label>
-
isAnomaly
- Specified by:
isAnomalyin interfaceLibLinearType<Label>
-
getSolverType
- Specified by:
getSolverTypein interfaceLibLinearType<Label>
-
getProvenance
- Specified by:
getProvenancein interfacecom.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
-