|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult> de.lmu.ifi.dbs.elki.algorithm.outlier.trivial.ByLabelOutlier
public class ByLabelOutlier
Trivial algorithm that marks outliers by their label. Can be used as reference algorithm in comparisons.
Nested Class Summary | |
---|---|
static class |
ByLabelOutlier.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
static String |
DEFAULT_PATTERN
The default pattern to use. |
private static Logging |
logger
Our logger. |
(package private) Pattern |
pattern
The pattern we match with. |
Constructor Summary | |
---|---|
ByLabelOutlier()
Constructor. |
|
ByLabelOutlier(Pattern pattern)
Constructor. |
Method Summary | |
---|---|
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 |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
---|
makeParameterDistanceFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
public static final String DEFAULT_PATTERN
final Pattern pattern
Constructor Detail |
---|
public ByLabelOutlier(Pattern pattern)
pattern
- Pattern to match with.public ByLabelOutlier()
Method Detail |
---|
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
public OutlierResult run(Database database)
Algorithm
run
in interface Algorithm
run
in interface OutlierAlgorithm
run
in class AbstractAlgorithm<OutlierResult>
database
- the database to run the algorithm on
public OutlierResult run(Relation<?> relation)
relation
- Relation to process.
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |