Description Usage Arguments Details Value References See Also Examples
The linearity measures try to quantify if it is possible to separate the labels by a hyperplane or linear function. The underlying assumption is that a linearly separable problem can be considered simpler than a problem requiring a non-linear decision boundary.
1 2 3 4 5 6 7 8 9 |
... |
Not used. |
x |
A data.frame contained only the input attributes. |
y |
A response vector with one value 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 output column. |
data |
A data.frame dataset contained the input attributes and class. |
The following classification measures are allowed for this method:
Sum of the error distance by linear programming (L1) computes the sum of the distances of incorrectly classified examples to a linear boundary used in their classification.
Error rate of linear classifier (L2) computes the error rate of the linear SVM classifier induced from dataset.
Non-linearity of a linear classifier (L3) creates a new dataset randomly interpolating pairs of training examples of the same class and then induce a linear SVM on the original data and measure the error rate in the new data points.
The following regression measures are allowed for this method:
Mean absolute error (L1) averages the absolute values of the residues of a multiple linear regressor.
Residuals variance (L2) averages the square of the residuals from a multiple linear regression.
Non-linearity of a linear regressor (L3) measures how sensitive the regressor is to the new randomly interpolated points.
A list named by the requested linearity measure.
Albert Orriols-Puig, Nuria Macia and Tin K Ho. (2010). Documentation for the data complexity library in C++. Technical Report. La Salle - Universitat Ramon Llull.
Other complexity-measures: balance
,
correlation
, dimensionality
,
neighborhood
, network
,
overlapping
, smoothness
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.