create_mdlpbreaks: Create breaks using mdlp

Description Usage Arguments Value See Also Examples

View source: R/binst.R

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 Jan. 5, 2018, 9:04 a.m.