prim: Find the optimal sub-box using the PRIM peeling strategy

Description Usage Arguments Value Author(s) Examples

Description

By iteratively removing a small portion of the data... Note that categorical data has to be in factor form.

Usage

1
prim(formula, data, peeling.quantile = 0.03, min.support = 0.05, parallel = T)

Arguments

formula

Formula with a response and terms

data

Data frame to find rules in

peeling.quantile

Quantile to peel off for numerical variables

min.support

Minimal size of a box to be valid

parallel

Should PRIM be run in parallel

Value

An S3 object of class prim.peel

Author(s)

Jurian Baas

Examples

1
2
3
4
5
  data(pima)
  pima <- prim.data.prepare(pima)
  pima.model <- prim(class ~. , pima, 0.3, 0.4)
  plot(pima.model)
  summary(pima.model)

Jurian/bump.hunting documentation built on March 24, 2020, 8:07 a.m.