Description Usage Arguments Value Examples
Defines the possible levels of undersampling given the class proporiton
1 | betasUnder(y, positive = 1, N = 10, method = "perc")
|
y |
response variable |
positive |
value of the positive (minority) class |
N |
number of values of beta to return |
method |
method to compute beta: perc or prob |
values of beta for a give response variable
1 2 | y <- rep(c(1, 0, 1, 0, 0, 0), 100)
betasUnder(y, positive=1, N = 10, method="perc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.