powered by
computes inverse probability weighting.
weights4class(x, type = c("equal", "inverse"))
A vector of the labels, true class or observed response. Can be numeric, character, or factor
numeric, character, or factor
Type of weights.
Other performance: accuracy
accuracy