Package elki.outlier.meta
Class SimpleOutlierEnsemble
- java.lang.Object
-
- elki.outlier.meta.SimpleOutlierEnsemble
-
- All Implemented Interfaces:
Algorithm
,OutlierAlgorithm
public class SimpleOutlierEnsemble extends java.lang.Object implements OutlierAlgorithm
Simple outlier ensemble method.- Since:
- 0.5.5
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleOutlierEnsemble.Par
Parameterization class.-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<? extends OutlierAlgorithm>
algorithms
The algorithms to run.private static Logging
LOG
The logger for this class.private EnsembleVoting
voting
The voting in use.
-
Constructor Summary
Constructors Constructor Description SimpleOutlierEnsemble(java.util.List<? extends OutlierAlgorithm> algorithms, EnsembleVoting voting)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutlierResult
autorun(Database database)
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.TypeInformation[]
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
-
-
-
Field Detail
-
LOG
private static final Logging LOG
The logger for this class.
-
algorithms
private java.util.List<? extends OutlierAlgorithm> algorithms
The algorithms to run.
-
voting
private EnsembleVoting voting
The voting in use.
-
-
Constructor Detail
-
SimpleOutlierEnsemble
public SimpleOutlierEnsemble(java.util.List<? extends OutlierAlgorithm> algorithms, EnsembleVoting voting)
Constructor.- Parameters:
algorithms
- Algorithms to runvoting
- Voting method
-
-
Method Detail
-
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
Description copied from interface:Algorithm
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceAlgorithm
- Returns:
- Type restriction
-
autorun
public OutlierResult autorun(Database database) throws java.lang.IllegalStateException
Description copied from interface:Algorithm
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.- Specified by:
autorun
in interfaceAlgorithm
- Specified by:
autorun
in interfaceOutlierAlgorithm
- Parameters:
database
- the database to run the algorithm on- Returns:
- the Result computed by this algorithm
- Throws:
java.lang.IllegalStateException
-
-