discret: Discretization

Description Usage Arguments Value Examples

View source: R/mdlp_para.R

Description

Discretization using the mdlp() function from the package discretization

Usage

1
discret(colonne, Y)

Arguments

colonne

the column of a dataframe that will be discretize, must be numeric

Y

the column of a dataframe containing modalities to predict

Value

df_disc, a dataframe with the variable colonne discretize

cuts, a list giving the cuts made by the mdlp() function

Examples

1
2
3
4
data(iris)
column <- iris[1]
Y <- iris[5]
disc <- discret(column, Y)

ldelecourt/NBC_package documentation built on Dec. 16, 2019, 10:51 p.m.