|
||||||||||
| 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.EcodbOperator
public class EcodbOperator
This operator performs a Class Outlier Factor (COF) search. COF outliers (or Class Outliers method) search for observations (objects) those that arouse suspicions, taking into account the class labels according to the definition of Class Outlier by Hewaihi and Saad in "A comparative Study of Outlier Mining and Class Outlier Mining", CS Letters, Vol 1, No 1 (2009)", and "Class Outliers Mining: Distance-Based Approach", International Journal of Intelligent Systems and Technologies, Vol. 2, No. 1, pp 55-68, 2007".
It detects rare / exceptional / suspicious cases with respect group of similar cases. The main key factors of computing COF are the probability of the instance�s class among its neighbors�s classes, the deviation of the instance from the instances of the same class, and the distance between the instance and its k nearest neighbors.
The main concept of ECODB (Enhanced Class Outlier - Distance Based) algorithm is to rank each instance in the dataset D given the parameters N (top N class outliers), and K (the number of nearest neighbors. The Rank finds out the rank of each instance using the formula (COF = PCL(T,K) - norm(deviation(T)) + norm(kDist(T))). where PCL(T,K) is the Probability of the class label of the instance T with respect to the class labels of its K Nearest Neighbors. and norm(Deviation(T)) and norm(KDist(T)) are the normalized value of Deviation(T) and KDist(T) respectively and their value fall into the range [0 - 1]. Deviation(T) is how much the instance T deviates from instances of the same class, and computed by summing the distances between the instance T and every instance belong to the same class of the instance. KDist(T) is the summation of distances between the instance T and its K nearest neighbors.
The ECODB algorithm maintains a list of only the instances of the top N class outliers. The less is the value of COF of an instance, the higher is the priority of the instance to be a class outlier.
The operator supports mixed euclidian distance. The Operator takes an example set and passes it on with an boolean top-n COF outlier status in a new boolean-valued special outlier attribute indicating true (outlier) and false (no outlier), and another special attribute "COF Factor" which measures the degree of being Class Outlier for an object.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_NUMBER_OF_Class_OUTLIERS
The parameter name for "The number of top-n Class Outliers to be looked for. |
static java.lang.String |
PARAMETER_NUMBER_OF_NEIGHBORS
The parameter name for "Specifies the k value for the k-th nearest neighbours to be the analyzed. |
| Constructor Summary | |
|---|---|
EcodbOperator(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 search space 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_NUMBER_OF_NEIGHBORS
public static final java.lang.String PARAMETER_NUMBER_OF_Class_OUTLIERS
| Constructor Detail |
|---|
public EcodbOperator(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 | |||||||||