importance: Extract variable importance measure

Description Usage Arguments Value See Also Examples

Description

This is the extractor function for variable importance measures as produced by obliqueRF.

Usage

1
2
## S3 method for class 'obliqueRF'
importance(x, ...)

Arguments

x

an object of class obliqueRF.

...

not used.

Value

The variable importance

See Also

obliqueRF

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require(obliqueRF);
data(iris);
#extract feature matrix
x<-as.matrix(iris[,1:4]);
#convert to 0/1 class labels
y<-(as.numeric(iris[,5])>1)*1;

iris.orf <- obliqueRF(x,y,training_method="log",bImportance=TRUE);
importance(iris.orf);

## Also see example given in ?obliqueRF()

obliqueRF documentation built on May 2, 2019, 4:19 a.m.