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
673e3ea2
Commit
673e3ea2
authored
Nov 30, 2016
by
Guolin Ke
Browse files
add import LGBMRanker in __init__.py
parent
80a52ad4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python-package/lightgbm/__init__.py
python-package/lightgbm/__init__.py
+1
-1
No files found.
python-package/lightgbm/__init__.py
View file @
673e3ea2
...
...
@@ -11,7 +11,7 @@ import os
from
.basic
import
Predictor
,
Dataset
,
Booster
from
.engine
import
train
,
cv
try
:
from
.sklearn
import
LGBMModel
,
LGBMRegressor
,
LGBMClassifier
from
.sklearn
import
LGBMModel
,
LGBMRegressor
,
LGBMClassifier
,
LGBMRanker
except
ImportError
:
pass
...
...
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