
public class TrivialGeneratedOutlier extends AbstractAlgorithm<OutlierResult> implements OutlierAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
TrivialGeneratedOutlier.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) double |
expect
Expected share of outliers.
|
private static Logging |
LOG
Class logger
|
| Constructor and Description |
|---|
TrivialGeneratedOutlier()
Constructor.
|
TrivialGeneratedOutlier(double expect)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
OutlierResult |
run(Database database)
Runs the algorithm.
|
OutlierResult |
run(Relation<Model> models,
Relation<NumberVector> vecs,
Relation<?> labels)
Run the algorithm
|
makeParameterDistanceFunctionprivate static final Logging LOG
double expect
public TrivialGeneratedOutlier(double expect)
expect - Expected share of outlierspublic TrivialGeneratedOutlier()
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithmgetInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<OutlierResult>public OutlierResult run(Database database)
Algorithmrun in interface Algorithmrun in interface OutlierAlgorithmrun in class AbstractAlgorithm<OutlierResult>database - the database to run the algorithm onpublic OutlierResult run(Relation<Model> models, Relation<NumberVector> vecs, Relation<?> labels)
models - Model relationvecs - Vector relationlabels - Label relationprotected Logging getLogger()
AbstractAlgorithmgetLogger in class AbstractAlgorithm<OutlierResult>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.