Auxiliary function for top-down discretization

Description

This function is required to perform the disc.Topdown().

Usage

1
findBest(x, y, bd, di, method)

Arguments

x

a vector of numeric value

y

class variable vector

bd

current cut points

di

candidate cut-points

method

each method number indicates three top-down discretization. 1 for CAIM algorithm, 2 for CACC algorithm, 3 for Ameva algorithm.

Author(s)

HyunJi Kim polaris7867@gmail.com

See Also

topdown, insert and disc.Topdown.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.