ClassPD: 16. Percentual Difference by Class (PDC) F1, F2 and F3

Description Usage Arguments Value

View source: R/Metafunctions.R

Description

Class-Based Percentual Differences Applies all of the stats meta functions and calculates the percentual difference between values calculated based on the majority class and the minority class. This is calculated as 100 * ( abs( f(X|Min) - f(X|Maj) ) / ( [ abs(f(X|Min)) + abs(f(X|Maj)) ] ) / 2 )

Usage

1
ClassPD(ds, form, numCores = 1)

Arguments

ds

A data set

form

A model formula

numCores

number of cores for parallel computing

Value

A vector of numerical values


nunompmoniz/autoresampling documentation built on April 26, 2021, 4:43 a.m.