update doc string for grid parameter (#2647)
* update doc string for grid parameter * update doc string for grid parameter
This commit is contained in:
parent
878f307948
commit
5867c1b96d
@ -25,6 +25,7 @@ def plot_importance(booster, ax=None, height=0.2,
|
|||||||
Booster or XGBModel instance, or dict taken by Booster.get_fscore()
|
Booster or XGBModel instance, or dict taken by Booster.get_fscore()
|
||||||
ax : matplotlib Axes, default None
|
ax : matplotlib Axes, default None
|
||||||
Target axes instance. If None, new figure and axes will be created.
|
Target axes instance. If None, new figure and axes will be created.
|
||||||
|
grid : bool, Turn the axes grids on or off. Default is True (On).
|
||||||
importance_type : str, default "weight"
|
importance_type : str, default "weight"
|
||||||
How the importance is calculated: either "weight", "gain", or "cover"
|
How the importance is calculated: either "weight", "gain", or "cover"
|
||||||
"weight" is the number of times a feature appears in a tree
|
"weight" is the number of times a feature appears in a tree
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user