discretization (version 1.0-1.1)

findBest: Auxiliary function for top-down discretization

Description

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

Usage

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.

See Also

topdown, insert and disc.Topdown.