Description Usage Arguments Examples
This function allows you to graph the gain, cover and frequency of an XGB model.
1 2 3 | xgb.importance.table(model, feature_names = NULL, gainColor = "lightgreen",
digits = 6, coverColor = "lightblue", freqColor = "lightgrey",
pageLength = 20, lengthMenu = c(5, 10, 15, 20, 25, 50, 100, 250, 500))
|
gainColor |
Type: character. Defines the display color for Gain column. |
digits |
Type: integer. The length of decimal place to display results. |
coverColor |
Type: character. Defines the display color of cover Column. |
freqColor |
Type: character. Defines the display color for frequency column. |
pageLength |
Type: integer. Defines the number of rows per page. |
Model |
Type: XGBoost Model. Must be defined. |
features |
Type: character. Vector. Must be defined. |
menuLength |
Type: integer. Changes the option in the page length menu. |
1 | cat_function()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.