single.class.importance: Single Class Importance

Description Usage Arguments

Description

Calculate the importance of a single class from a given xgb Model.

Usage

1
single.class.importance(model_fn, feature_names_fn, x)

Arguments

model_fn

name of the file storing the xgb model (see train.model)

feature_names_fn

name of the file storing the feature names (see import.data)

x

class for which importance should be calculated

label

path to feature names


sbbrandt/xgbAnalysis documentation built on May 29, 2019, 9:11 a.m.