
public class ByLabelOutlier extends AbstractAlgorithm<OutlierResult> implements OutlierAlgorithm
| Modifier and Type | Class and Description |
|---|---|
static class |
ByLabelOutlier.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PATTERN
The default pattern to use.
|
private static Logging |
LOG
Our logger.
|
(package private) Pattern |
pattern
The pattern we match with.
|
| Constructor and Description |
|---|
ByLabelOutlier()
Constructor.
|
ByLabelOutlier(Pattern pattern)
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<?> relation)
Run the algorithm
|
makeParameterDistanceFunctionprivate static final Logging LOG
public static final String DEFAULT_PATTERN
final Pattern pattern
public ByLabelOutlier(Pattern pattern)
pattern - Pattern to match with.public ByLabelOutlier()
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<?> relation)
relation - Relation to process.protected 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.