Description Usage Arguments Value See Also Examples
Create breaks using mdlp
1 | create_mdlpbreaks(x, y)
|
x |
X is a numeric vector to be discretized |
y |
Y is the response vector used for calculating metrics for discretization |
A vector containing the breaks
1 2 | entropy_breaks <- create_breaks(1:10, rep(c(1,2), each = 5), method="entropy")
create_bins(1:10, entropy_breaks)
|
[1] 1 1 1 1 1 2 2 2 2 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.