Commit 7d03ced3 authored by Nikita Titov's avatar Nikita Titov Committed by Qiwei Ye
Browse files

[python] removed unused import and variable (#2213)

* Update sklearn.py

* Update parameter_generator.py
parent de70c7d7
...@@ -23,7 +23,6 @@ def get_parameter_infos(config_hpp): ...@@ -23,7 +23,6 @@ def get_parameter_infos(config_hpp):
Tuple with names and content of sections. Tuple with names and content of sections.
""" """
is_inparameter = False is_inparameter = False
parameter_group = None
cur_key = None cur_key = None
cur_info = {} cur_info = {}
keys = [] keys = []
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
from __future__ import absolute_import from __future__ import absolute_import
import numpy as np import numpy as np
import warnings
from .basic import Dataset, LightGBMError from .basic import Dataset, LightGBMError
from .compat import (SKLEARN_INSTALLED, _LGBMClassifierBase, from .compat import (SKLEARN_INSTALLED, _LGBMClassifierBase,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment