public class SimpleOutlierEnsemble extends AbstractAlgorithm<OutlierResult> implements OutlierAlgorithm
Modifier and Type | Class and Description |
---|---|
static class |
SimpleOutlierEnsemble.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private List<OutlierAlgorithm> |
algorithms
The algorithms to run.
|
private static Logging |
LOG
The logger for this class.
|
private EnsembleVoting |
voting
The voting in use.
|
Constructor and Description |
---|
SimpleOutlierEnsemble(List<OutlierAlgorithm> algorithms,
EnsembleVoting voting)
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.
|
makeParameterDistanceFunction
private static final Logging LOG
private List<OutlierAlgorithm> algorithms
private EnsembleVoting voting
public SimpleOutlierEnsemble(List<OutlierAlgorithm> algorithms, EnsembleVoting voting)
algorithms
- Algorithms to runvoting
- Voting methodpublic OutlierResult run(Database database) throws IllegalStateException
Algorithm
run
in interface Algorithm
run
in interface OutlierAlgorithm
run
in class AbstractAlgorithm<OutlierResult>
database
- the database to run the algorithm onIllegalStateException
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.