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>

public final class LinearAnomalyType extends Object implements LibLinearType<Event>
The carrier type for liblinear anomaly detection modes.

Supports: ONECLASS_SVM

See Also:
  • Constructor Details

    • LinearAnomalyType

      public LinearAnomalyType(LinearAnomalyType.LinearType type)
      Constructs the type of the liblinear anomaly detector.
      Parameters:
      type - The anomaly detector type.
  • Method Details

    • isClassification

      public boolean isClassification()
      Description copied from interface: LibLinearType
      Is this class a Classification algorithm?
      Specified by:
      isClassification in interface LibLinearType<Event>
      Returns:
      True if it's a classification algorithm.
    • isRegression

      public boolean isRegression()
      Description copied from interface: LibLinearType
      Is this class a Regression algorithm?
      Specified by:
      isRegression in interface LibLinearType<Event>
      Returns:
      True if it's a regression algorithm.
    • isAnomaly

      public boolean isAnomaly()
      Description copied from interface: LibLinearType
      Is this class an anomaly detection algorithm?
      Specified by:
      isAnomaly in interface LibLinearType<Event>
      Returns:
      True if it's an anomaly detection algorithm.
    • getSolverType

      public de.bwaldvogel.liblinear.SolverType getSolverType()
      Description copied from interface: LibLinearType
      Returns the liblinear enum type.
      Specified by:
      getSolverType in interface LibLinearType<Event>
      Returns:
      The liblinear enum type.
    • getProvenance

      public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
      Specified by:
      getProvenance in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>