public class RescaleMetaOutlierAlgorithm extends AbstractAlgorithm<OutlierResult> implements OutlierAlgorithm
Modifier and Type | Class and Description |
---|---|
static class |
RescaleMetaOutlierAlgorithm.Parameterizer
Parameterization class
|
Modifier and Type | Field and Description |
---|---|
private Algorithm |
algorithm
Holds the algorithm to run.
|
private static Logging |
LOG
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 and Description |
---|
RescaleMetaOutlierAlgorithm(Algorithm algorithm,
ScalingFunction scaling)
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.
|
private OutlierResult |
getOutlierResult(ResultHierarchy hier,
Result result)
Find an OutlierResult to work with.
|
OutlierResult |
run(Database database)
Runs the algorithm.
|
makeParameterDistanceFunction
private static final Logging LOG
public static final OptionID SCALING_ID
Key: -comphist.scaling
private Algorithm algorithm
private ScalingFunction scaling
public RescaleMetaOutlierAlgorithm(Algorithm algorithm, ScalingFunction scaling)
algorithm
- Inner algorithmscaling
- Scaling to apply.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 onprivate OutlierResult getOutlierResult(ResultHierarchy hier, Result result)
hier
- Result hierarchyresult
- Result objectprotected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<OutlierResult>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.