Create breaks using mdlp

Description

Create breaks using mdlp

Usage

1

Arguments

x

X is a numeric vector to be discretized

y

Y is the response vector used for calculating metrics for discretization

Value

A vector containing the breaks

See Also

create_breaks

Examples

1
2
entropy_breaks <- create_breaks(1:10, rep(c(1,2), each = 5), method="entropy")
create_bins(1:10, entropy_breaks)