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
1248d55f
Unverified
Commit
1248d55f
authored
Feb 16, 2021
by
Zhuyi Xue
Committed by
GitHub
Feb 16, 2021
Browse files
[ci][python] apply isort to tests/python_package_test/test_engine.py #3958 (#3981)
parent
af0c2260
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
tests/python_package_test/test_engine.py
tests/python_package_test/test_engine.py
+10
-7
No files found.
tests/python_package_test/test_engine.py
View file @
1248d55f
...
@@ -4,19 +4,22 @@ import itertools
...
@@ -4,19 +4,22 @@ import itertools
import
math
import
math
import
os
import
os
import
pickle
import
pickle
import
psutil
import
random
import
random
import
lightgbm
as
lgb
import
numpy
as
np
import
numpy
as
np
from
scipy.sparse
import
csr_matrix
,
isspmatrix_csr
,
isspmatrix_csc
import
psutil
from
sklearn.datasets
import
load_svmlight_file
,
make_multilabel_classification
from
sklearn.metrics
import
log_loss
,
mean_absolute_error
,
mean_squared_error
,
roc_auc_score
,
average_precision_score
from
sklearn.model_selection
import
train_test_split
,
TimeSeriesSplit
,
GroupKFold
import
pytest
import
pytest
from
scipy.sparse
import
csr_matrix
,
isspmatrix_csc
,
isspmatrix_csr
from
sklearn.datasets
import
load_svmlight_file
,
make_multilabel_classification
from
sklearn.metrics
import
(
average_precision_score
,
log_loss
,
mean_absolute_error
,
mean_squared_error
,
roc_auc_score
)
from
sklearn.model_selection
import
(
GroupKFold
,
TimeSeriesSplit
,
train_test_split
)
from
.utils
import
load_boston
,
load_breast_cancer
,
load_digits
,
load_iris
import
lightgbm
as
lgb
from
.utils
import
load_boston
,
load_breast_cancer
,
load_digits
,
load_iris
decreasing_generator
=
itertools
.
count
(
0
,
-
1
)
decreasing_generator
=
itertools
.
count
(
0
,
-
1
)
...
...
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