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
7d901749
Unverified
Commit
7d901749
authored
Dec 04, 2021
by
James Lamb
Committed by
GitHub
Dec 05, 2021
Browse files
[python-package] remove unused imports (#4850)
parent
f77cfe83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
helpers/parameter_generator.py
helpers/parameter_generator.py
+1
-1
python-package/lightgbm/sklearn.py
python-package/lightgbm/sklearn.py
+1
-1
No files found.
helpers/parameter_generator.py
View file @
7d901749
...
@@ -8,7 +8,7 @@ from the information in LightGBM/include/LightGBM/config.h file.
...
@@ -8,7 +8,7 @@ from the information in LightGBM/include/LightGBM/config.h file.
"""
"""
from
collections
import
defaultdict
from
collections
import
defaultdict
from
pathlib
import
Path
from
pathlib
import
Path
from
typing
import
Any
,
Dict
,
List
,
Optional
,
Tuple
from
typing
import
Dict
,
List
,
Tuple
def
get_parameter_infos
(
def
get_parameter_infos
(
...
...
python-package/lightgbm/sklearn.py
View file @
7d901749
...
@@ -7,7 +7,7 @@ from typing import Any, Callable, Dict, List, Optional, Tuple, Union
...
@@ -7,7 +7,7 @@ from typing import Any, Callable, Dict, List, Optional, Tuple, Union
import
numpy
as
np
import
numpy
as
np
from
.basic
import
Booster
,
Dataset
,
LightGBMError
,
_ArrayLike
,
_choose_param_value
,
_ConfigAliases
,
_log_warning
from
.basic
import
Booster
,
Dataset
,
LightGBMError
,
_ArrayLike
,
_choose_param_value
,
_ConfigAliases
,
_log_warning
from
.callback
import
log_evaluation
,
record_evaluation
from
.callback
import
record_evaluation
from
.compat
import
(
SKLEARN_INSTALLED
,
LGBMNotFittedError
,
_LGBMAssertAllFinite
,
_LGBMCheckArray
,
from
.compat
import
(
SKLEARN_INSTALLED
,
LGBMNotFittedError
,
_LGBMAssertAllFinite
,
_LGBMCheckArray
,
_LGBMCheckClassificationTargets
,
_LGBMCheckSampleWeight
,
_LGBMCheckXY
,
_LGBMClassifierBase
,
_LGBMCheckClassificationTargets
,
_LGBMCheckSampleWeight
,
_LGBMCheckXY
,
_LGBMClassifierBase
,
_LGBMComputeSampleWeight
,
_LGBMLabelEncoder
,
_LGBMModelBase
,
_LGBMRegressorBase
,
dt_DataTable
,
_LGBMComputeSampleWeight
,
_LGBMLabelEncoder
,
_LGBMModelBase
,
_LGBMRegressorBase
,
dt_DataTable
,
...
...
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