orderingDependency: Ordering-based dependency measure

Description Usage Arguments Value Author(s) References Examples

Description

A function for measuring ordering dependency between two vectors (the ordering measure).

Usage

1
orderingDependency(attrVec, target, numericTarget = NULL, ...)

Arguments

attrVec, target

two numeric attributes or an attribute and a decision vector (not necessarily ordered). At least the first argument has to be numeric.

numericTarget

logical indicating whether the target is ordered and numeric. The default is NULL in which case the function makes a guess using a simple heuristic.

...

optional arguments (currently omitted).

Value

a numeric value expressing ordering dependency between attrVec and target

Author(s)

Andrzej Janusz

References

Andrzej Janusz and Marek Grzegorowski. Efficient Attribute Quality Assessment Using a Decision Ordering Measure. 2017.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#############################################
data(methaneSampleData)

## an experiment on a sample from the data used in a data mining competition - 
## IJCRS'15 Data Challenge: Mining Data from Coal Mines 
## (https://knowledgepit.fedcsis.org/contest/view.php?id=109).
## The whole data set can be downloaded from the competition web page.

mrmrAttrs = mRMRfs(dataT = methaneData$methaneTraining,
                   target = methaneData$methaneTrainingLabels[, V2],
                   dependencyF = orderingDependency)

mrmrAttrs

janusza/RmRMR documentation built on May 18, 2019, 2:39 p.m.