Learn R Programming

Boruta (version 1.2)

attStats: Attribute statistics

Description

attStats shows a summary of a Boruta run in an attribute-centred way. It produces a data frame containing some ZScore stats as well as the number of hits that attribute scored and the decision it was given.

Usage

attStats(x)

Arguments

x
an object of class Boruta.

Value

  • A data frame containing, for each attribute that was originally in information system, mean, median, maximal and minimal ZScore, number of hits normalised to number of random forest runs performed and the decision copied from finalDecision.

Examples

Run this code
library(mlbench); data(Sonar);
#Takes some time, so be patient
Boruta(Class~.,data=Sonar,doTrace=2)->Bor.son;
print(Bor.son);
stats<-attStats(Bor.son);
print(stats);
plot(normHits~meanZ,col=stats$decision,data=stats);

Run the code above in your browser using DataLab