Package elki.outlier.meta
Class RescaleMetaOutlierAlgorithm
- java.lang.Object
 - 
- elki.outlier.meta.RescaleMetaOutlierAlgorithm
 
 
- 
- All Implemented Interfaces:
 Algorithm,OutlierAlgorithm
public class RescaleMetaOutlierAlgorithm extends java.lang.Object implements OutlierAlgorithm
Scale another outlier score using the given scaling function.- Since:
 - 0.4.0
 - Author:
 - Erich Schubert
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRescaleMetaOutlierAlgorithm.ParParameterization class- 
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description private AlgorithmalgorithmHolds the algorithm to run.private ScalingFunctionscalingScaling function to use 
- 
Constructor Summary
Constructors Constructor Description RescaleMetaOutlierAlgorithm(Algorithm algorithm, ScalingFunction scaling)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutlierResultautorun(Database database)Try to auto-run the algorithm on a database by calling a method calledrun, with an optionalDatabasefirst, and with data relations as specified byAlgorithm.getInputTypeRestriction().TypeInformation[]getInputTypeRestriction()Get the input type restriction used for negotiating the data query.private OutlierResultgetOutlierResult(java.lang.Object result)Find an OutlierResult to work with. 
 - 
 
- 
- 
Field Detail
- 
algorithm
private Algorithm algorithm
Holds the algorithm to run. 
- 
scaling
private ScalingFunction scaling
Scaling function to use 
 - 
 
- 
Constructor Detail
- 
RescaleMetaOutlierAlgorithm
public RescaleMetaOutlierAlgorithm(Algorithm algorithm, ScalingFunction scaling)
Constructor.- Parameters:
 algorithm- Inner algorithmscaling- Scaling to apply.
 
 - 
 
- 
Method Detail
- 
autorun
public OutlierResult autorun(Database database)
Description copied from interface:AlgorithmTry to auto-run the algorithm on a database by calling a method calledrun, with an optionalDatabasefirst, and with data relations as specified byAlgorithm.getInputTypeRestriction().- Specified by:
 autorunin interfaceAlgorithm- Specified by:
 autorunin interfaceOutlierAlgorithm- Parameters:
 database- the database to run the algorithm on- Returns:
 - the Result computed by this algorithm
 
 
- 
getOutlierResult
private OutlierResult getOutlierResult(java.lang.Object result)
Find an OutlierResult to work with.- Parameters:
 result- Result object- Returns:
 - Iterator to work with
 
 
- 
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
Description copied from interface:AlgorithmGet the input type restriction used for negotiating the data query.- Specified by:
 getInputTypeRestrictionin interfaceAlgorithm- Returns:
 - Type restriction
 
 
 - 
 
 -