Class LinearAnomalyType
java.lang.Object
org.tribuo.anomaly.liblinear.LinearAnomalyType
- 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<Event>
The carrier type for liblinear anomaly detection modes.
Supports: ONECLASS_SVM
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe different model types available for classification. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs the type of the liblinear anomaly detector. -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenancede.bwaldvogel.liblinear.SolverTypeReturns the liblinear enum type.booleanIs this class an anomaly detection algorithm?booleanIs this class a Classification algorithm?booleanIs this class 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
-
LinearAnomalyType
Constructs the type of the liblinear anomaly detector.- Parameters:
type- The anomaly detector type.
-
-
Method Details
-
isClassification
public boolean isClassification()Description copied from interface:LibLinearTypeIs this class a Classification algorithm?- Specified by:
isClassificationin interfaceLibLinearType<Event>- Returns:
- True if it's a classification algorithm.
-
isRegression
public boolean isRegression()Description copied from interface:LibLinearTypeIs this class a Regression algorithm?- Specified by:
isRegressionin interfaceLibLinearType<Event>- Returns:
- True if it's a regression algorithm.
-
isAnomaly
public boolean isAnomaly()Description copied from interface:LibLinearTypeIs this class an anomaly detection algorithm?- Specified by:
isAnomalyin interfaceLibLinearType<Event>- Returns:
- True if it's an anomaly detection algorithm.
-
getSolverType
public de.bwaldvogel.liblinear.SolverType getSolverType()Description copied from interface:LibLinearTypeReturns the liblinear enum type.- Specified by:
getSolverTypein interfaceLibLinearType<Event>- Returns:
- The liblinear enum type.
-
getProvenance
public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()- Specified by:
getProvenancein interfacecom.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
-