overlapping {ECoL}  R Documentation 
Measures of overlapping
Description
Classification task. The overlapping measures evaluate how informative the available features are to separate the classes. If there is at least one very discriminative feature in the dataset, the problem can be considered simpler than if there is no such an attribute.
Usage
overlapping(...)
## Default S3 method:
overlapping(x, y, measures = "all",
summary = c("mean", "sd"), ...)
## S3 method for class 'formula'
overlapping(formula, data, measures = "all",
summary = c("mean", "sd"), ...)
Arguments
... 
Not used. 
x 
A data.frame contained only the input attributes. 
y 
A factor response vector with one label for each row/component of x. 
measures 
A list of measures names or 
summary 
A list of summarization functions or empty for all values. See
summarization method to more information. (Default:

formula 
A formula to define the class column. 
data 
A data.frame dataset contained the input attributes and class. 
Details
The following measures are allowed for this method:
 "F1"
Maximum Fisher's Discriminant Ratio (F1) measures the overlap between the values of the features and takes the value of the largest discriminant ratio among all the available features.
 "F1v"
Directionalvector maximum Fisher's discriminant ratio (F1v) complements F1 by searching for a vector able to separate two classes after the training examples have been projected into it.
 "F2"
Volume of the overlapping region (F2) computes the overlap of the distributions of the features values within the classes. F2 can be determined by finding, for each feature its minimum and maximum values in the classes.
 "F3"
The maximum individual feature efficiency (F3) of each feature is given by the ratio between the number of examples that are not in the overlapping region of two classes and the total number of examples. This measure returns the maximum of the values found among the input features.
 "F4"
Collective feature efficiency (F4) get an overview on how various features may work together in data separation. First the most discriminative feature according to F3 is selected and all examples that can be separated by this feature are removed from the dataset. The previous step is repeated on the remaining dataset until all the features have been considered or no example remains. F4 returns the ratio of examples that have been discriminated.
Value
A list named by the requested overlapping measure.
References
Albert OrriolsPuig, Nuria Macia and Tin K Ho. (2010). Documentation for the data complexity library in C++. Technical Report. La Salle  Universitat Ramon Llull.
See Also
Other complexitymeasures: balance
,
correlation
, dimensionality
,
linearity
, neighborhood
,
network
, smoothness
Examples
## Extract all overlapping measures for classification task
data(iris)
overlapping(Species ~ ., iris)