|
||||||||||
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.meta.RescaleMetaOutlierAlgorithm
public class RescaleMetaOutlierAlgorithm
Scale another outlier score using the given scaling function.
Nested Class Summary | |
---|---|
static class |
RescaleMetaOutlierAlgorithm.Parameterizer
Parameterization class |
Field Summary | |
---|---|
private Algorithm |
algorithm
Holds the algorithm to run. |
private static Logging |
logger
The logger for this class. |
private ScalingFunction |
scaling
Scaling function to use |
static OptionID |
SCALING_ID
Parameter to specify a scaling function to use. |
Constructor Summary | |
---|---|
RescaleMetaOutlierAlgorithm(Algorithm algorithm,
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. |
private OutlierResult |
getOutlierResult(Result result)
Find an OutlierResult to work with. |
OutlierResult |
run(Database database)
Runs 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 OptionID SCALING_ID
Key: -comphist.scaling
private Algorithm algorithm
private ScalingFunction scaling
Constructor Detail |
---|
public RescaleMetaOutlierAlgorithm(Algorithm algorithm, ScalingFunction scaling)
algorithm
- Inner algorithmscaling
- Scaling to apply.Method Detail |
---|
public OutlierResult run(Database database) throws IllegalStateException
Algorithm
run
in interface Algorithm
run
in interface OutlierAlgorithm
run
in class AbstractAlgorithm<OutlierResult>
database
- the database to run the algorithm on
IllegalStateException
- if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).private OutlierResult getOutlierResult(Result result)
result
- Result object
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 |