@Priority(value=-100) 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 java.lang.String |
DEFAULT_PATTERN
The default pattern to use.
|
private static Logging |
LOG
Our logger.
|
(package private) java.util.regex.Pattern |
pattern
The pattern we match with.
|
ALGORITHM_ID| Constructor and Description |
|---|
ByLabelOutlier()
Constructor.
|
ByLabelOutlier(java.util.regex.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
|
private static final Logging LOG
public static final java.lang.String DEFAULT_PATTERN
final java.util.regex.Pattern pattern
public ByLabelOutlier(java.util.regex.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 © 2019 ELKI Development Team. License information.