IR: The Imbalance Ratio (IR) of a Data Set.

Description Usage Arguments Value

Description

IR computes the imbalance ratio of a binary data set. It is defined as the ratio of the number of majority class examples to the number of minority class examples.

Usage

1
IR(y)

Arguments

y

A vector (or factor) determining the class of each example in the data.

Value

The imbalance ratio of the input data set.


RomeroBarata/dcme documentation built on May 9, 2019, 2:24 p.m.