|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.preprocessing.outlier.AbstractOutlierDetection
com.rapidminer.operator.preprocessing.outlier.DBOutlierOperator
public class DBOutlierOperator
This operator is a DB outlier detection algorithm which calculates the DB(p,D)-outliers for an ExampleSet passed to the operator. DB(p,D)-outliers are Distance based outliers according to Knorr and Ng. A DB(p,D)-outlier is an object to which at least a proportion of p of all objects are farer away than distance D. It implements a global homogenous outlier search.
Currently, the operator supports cosine, sine or squared distances in addition to the usual euclidian distance which can be specified by the corresponding parameter. The operator takes two other real-valued parameters p and D. Depending on these parameters, search objects will be created from the examples in the ExampleSet passed to the operator. These search objects will be added to a search space which will perform the outlier search according to the DB(p,D) scheme.
The Outlier status (boolean in its nature) is written to a new special attribute "Outlier" and is passed on with the example set.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_DISTANCE
The parameter name for "The distance for objects. |
static java.lang.String |
PARAMETER_DISTANCE_FUNCTION
The parameter name for "Indicates which distance function will be used for calculating the distance between two objects" |
static java.lang.String |
PARAMETER_PROPORTION
The parameter name for "The proportion of objects related to D. |
| Constructor Summary | |
|---|---|
DBOutlierOperator(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
apply(ExampleSet eSet)
This method implements the main functionality of the Operator but can be considered as a sort of wrapper to pass the RapidMiner operator chain data deeper into the SearchSpace class, so do not expect a lot of things happening here. |
protected java.util.Set<java.lang.String> |
getOutlierValues()
|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
ResourceConsumptionEstimator |
getResourceConsumptionEstimator()
Subclasses can override this method if they are able to estimate the consumed resources (CPU time and memory), based on their input. |
| Methods inherited from class com.rapidminer.operator.preprocessing.outlier.AbstractOutlierDetection |
|---|
modifyMetaData, writesIntoExistingData |
| Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing |
|---|
doWork, getExampleSetInputPort, getExampleSetOutputPort, getInputPort, getRequiredMetaData, shouldAutoConnect |
| Methods inherited from class com.rapidminer.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_DISTANCE
public static final java.lang.String PARAMETER_PROPORTION
public static final java.lang.String PARAMETER_DISTANCE_FUNCTION
| Constructor Detail |
|---|
public DBOutlierOperator(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet apply(ExampleSet eSet)
throws OperatorException
apply in class AbstractExampleSetProcessingOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operatorprotected java.util.Set<java.lang.String> getOutlierValues()
getOutlierValues in class AbstractOutlierDetectionpublic ResourceConsumptionEstimator getResourceConsumptionEstimator()
Operator
getResourceConsumptionEstimator in interface ResourceConsumergetResourceConsumptionEstimator in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||