create_mdlpbreaks: Create breaks using mdlp

Description Usage Arguments Value See Also Examples

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)

Example output

 [1] 1 1 1 1 1 2 2 2 2 2

binst documentation built on May 2, 2019, 7:32 a.m.