looklr {rWMBAT}R Documentation

Finds Boundary

Description

Given a start position, finds another boundary (to create 3 bins) that maximizes MI with the class.

Usage

looklr(data, class, startbd, steps)

Arguments

data double array, cases in rows and variables in columns
class double column vector, values 1:c representing classification of each case
startbd double vector, given start position for each case
steps integer, number of steps to test at while finding maximum MI

Value

miout double vector, recorded highest MI value
nextboundary double vector, boundary (to create 3 bins) that maximizes MI with the class
binned double matrix, recorded the binned value

Author(s)

Karl Kuschner, Qian Si and William Cooke, College of William and Mary, Dept. of Physics, 2009

References

http://kwkusc.people.wm.edu/dissertation/dissertation.htm

Examples

data(traingrp,traingrpclass,boundary)#load the example data input data from package
result<- looklr (traingrp,traingrpclass,boundary, 150)
         

[Package rWMBAT version 2.0 Index]