Description Usage Arguments Value
View source: R/resampling_utils.R
Calculate phi control
1 | calculate_relev(form, dat, rel, cf = 1.5)
|
form |
A formula describing the prediction problem. |
dat |
A data frame containing the original imbalanced data set. |
rel |
The relevance function which can be automatically ("auto") determined (the default) or may be provided by the user through a matrix with the interpolating points. |
cf |
Parameter needed if rel = 'auto'. The default is 1.5. |
A list containing a vector s.y containing sorted target values, a vector y.relev containing the relevance values of s.y, and phi.control
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.