public class SVMAnomalyType extends Object implements SVMType<Event>
Supports ONE_CLASS. Yes it's a single value enum.
Modifier and Type | Class and Description |
---|---|
static class |
SVMAnomalyType.SVMMode
Valid SVM modes for anomaly detection.
|
Constructor and Description |
---|
SVMAnomalyType(SVMAnomalyType.SVMMode type)
Constructs an SVM anomaly type wrapping the SVM algorithm choice.
|
Modifier and Type | Method and Description |
---|---|
int |
getNativeType()
The LibSVM int id for the algorithm.
|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
boolean |
isAnomaly()
Is this an anomaly detection algorithm.
|
boolean |
isClassification()
Is this a classification algorithm.
|
boolean |
isNu()
Is this a nu-SVM.
|
boolean |
isRegression()
Is this a regression algorithm.
|
public SVMAnomalyType(SVMAnomalyType.SVMMode type)
type
- The svm algorithm type.public boolean isClassification()
SVMType
isClassification
in interface SVMType<Event>
public boolean isRegression()
SVMType
isRegression
in interface SVMType<Event>
public boolean isAnomaly()
SVMType
public boolean isNu()
SVMType
public int getNativeType()
SVMType
getNativeType
in interface SVMType<Event>
public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.