gbm.int2: GBM function for assessing 2-way input interaction

Description Usage Arguments Value Examples

Description

gbm.int2 Calculates all 2-way interaction metrics for inputs with relative importances within a defined range

Usage

1
gbm.int2(gbm.model, relimp.range, n.trees, n.cores = NULL)

Arguments

gbm.model

A gbm model to be plotted.

relimp.range

A vector of length 2 giving upper and lower relative importance cut-offs

n.trees

number of trees for interaction estimation

n.cores

number of cores to utilise if NULL then no parallelisation

plot.it

to plot or not to plot that is the question

Value

Matrix of interactions between inputs.

Examples

1
2
3
4
5
## Not run: 
gbm.int2(gbm.model=gbm1,
relimp.range=c(1,100),n.trees=100,n.cores=NULL)

## End(Not run)

roywilsonLinc/gbmFns documentation built on May 27, 2019, 11:47 p.m.