Package elki.outlier.clustering
Class NoiseAsOutliers
- java.lang.Object
-
- elki.outlier.clustering.NoiseAsOutliers
-
- All Implemented Interfaces:
Algorithm
,OutlierAlgorithm
- Direct Known Subclasses:
KMeansMinusMinusOutlierDetection
public class NoiseAsOutliers extends java.lang.Object implements OutlierAlgorithm
Noise as outliers, from a clustering algorithm.This algorithm simply treats all "noise" cluster members as outliers.
- Since:
- 0.8.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NoiseAsOutliers.Par
Parameterizer.-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ClusteringAlgorithm<?>
clustering
Clustering algorithm to use
-
Constructor Summary
Constructors Constructor Description NoiseAsOutliers(ClusteringAlgorithm<?> clustering)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutlierResult
autorun(Database database)
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.TypeInformation[]
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
-
-
-
Field Detail
-
clustering
ClusteringAlgorithm<?> clustering
Clustering algorithm to use
-
-
Constructor Detail
-
NoiseAsOutliers
public NoiseAsOutliers(ClusteringAlgorithm<?> clustering)
Constructor.- Parameters:
clustering
- Clustering algorithm
-
-
Method Detail
-
autorun
public OutlierResult autorun(Database database)
Description copied from interface:Algorithm
Try to auto-run the algorithm on a database by calling a method calledrun
, with an optionalDatabase
first, and with data relations as specified byAlgorithm.getInputTypeRestriction()
.- Specified by:
autorun
in interfaceAlgorithm
- Specified by:
autorun
in interfaceOutlierAlgorithm
- Parameters:
database
- the database to run the algorithm on- Returns:
- the Result computed by this algorithm
-
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
Description copied from interface:Algorithm
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceAlgorithm
- Returns:
- Type restriction
-
-