|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
de.lmu.ifi.dbs.elki.algorithm.outlier.meta.ExternalDoubleOutlierScore
public class ExternalDoubleOutlierScore
External outlier detection scores, loading outlier scores from an external file.
Nested Class Summary | |
---|---|
static class |
ExternalDoubleOutlierScore.Parameterizer
Parameterization class |
Field Summary | |
---|---|
static String |
COMMENT
The comment character. |
private File |
file
The file to be reparsed |
static String |
ID_PATTERN_DEFAULT
The default pattern for matching ID lines. |
private Pattern |
idpattern
object id pattern |
private boolean |
inverted
Inversion flag. |
private static Logging |
logger
The logger for this class. |
private ScalingFunction |
scaling
Scaling function to use |
private Pattern |
scorepattern
object score pattern |
Constructor Summary | |
---|---|
ExternalDoubleOutlierScore(File file,
Pattern idpattern,
Pattern scorepattern,
boolean inverted,
ScalingFunction scaling)
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,
Relation<?> relation)
Run the algorithm. |
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
---|
makeParameterDistanceFunction, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm |
---|
run |
Field Detail |
---|
private static final Logging logger
public static final String COMMENT
public static final String ID_PATTERN_DEFAULT
private File file
private Pattern idpattern
private Pattern scorepattern
private ScalingFunction scaling
private boolean inverted
Constructor Detail |
---|
public ExternalDoubleOutlierScore(File file, Pattern idpattern, Pattern scorepattern, boolean inverted, ScalingFunction scaling)
file
- File to loadidpattern
- Pattern to match IDsscorepattern
- Pattern to match scores withinverted
- Inversion flagscaling
- Score scaling functionMethod Detail |
---|
public OutlierResult run(Database database, Relation<?> relation)
database
- Database to userelation
- Relation to use
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |