Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
f3d5c9d3
Commit
f3d5c9d3
authored
Jun 27, 2017
by
Guolin Ke
Committed by
GitHub
Jun 27, 2017
Browse files
fix #652 .
parent
7737b45e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python-package/lightgbm/basic.py
python-package/lightgbm/basic.py
+3
-3
No files found.
python-package/lightgbm/basic.py
View file @
f3d5c9d3
...
@@ -1655,9 +1655,9 @@ class Booster(object):
...
@@ -1655,9 +1655,9 @@ class Booster(object):
Parameters
Parameters
----------
----------
importance_type : str, default "split"
importance_type : str, default "split"
How the importance is calculated: "split" or "gain"
How the importance is calculated: "split" or "gain"
"split" is the number of times a feature is used in a model
"split" is the number of times a feature is used in a model
"gain" is the total gain of splits which use the feature
"gain" is the total gain of splits which use the feature
Returns
Returns
-------
-------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment