Skip to content

Commit

Permalink
fix #652 .
Browse files Browse the repository at this point in the history
  • Loading branch information
guolinke committed Jun 27, 2017
1 parent 7737b45 commit f3d5c9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python-package/lightgbm/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,9 +1655,9 @@ def feature_importance(self, importance_type='split'):
Parameters
----------
importance_type : str, default "split"
How the importance is calculated: "split" or "gain"
"split" is the number of times a feature is used in a model
"gain" is the total gain of splits which use the feature
How the importance is calculated: "split" or "gain"
"split" is the number of times a feature is used in a model
"gain" is the total gain of splits which use the feature
Returns
-------
Expand Down

0 comments on commit f3d5c9d

Please sign in to comment.