Skip to content

Commit

Permalink
Merge branch 'master' into drop-cuda-10
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Sep 19, 2023
2 parents 12cb132 + aa489f4 commit aa08bc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python-package/lightgbm/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ def __init__(
self.used_indices: Optional[List[int]] = None
self._need_slice = True
self._predictor: Optional[_InnerPredictor] = None
self.pandas_categorical = None
self.pandas_categorical: Optional[List[List]] = None
self._params_back_up = None
self.version = 0
self._start_row = 0 # Used when pushing rows one by one.
Expand Down
2 changes: 1 addition & 1 deletion python-package/lightgbm/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def __call__(self, env: CallbackEnv) -> None:
else:
data_name, eval_name = item[1].split()
res_mean = item[2]
res_stdv = item[4]
res_stdv = item[4] # type: ignore[misc]
self.eval_result[data_name][f'{eval_name}-mean'].append(res_mean)
self.eval_result[data_name][f'{eval_name}-stdv'].append(res_stdv)

Expand Down

0 comments on commit aa08bc3

Please sign in to comment.