Skip to content

Commit

Permalink
remove now-unnecessary _LGBMCheckXY()
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Oct 5, 2024
1 parent 9a05670 commit 815433f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python-package/lightgbm/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ def validate_data(
LGBMNotFittedError = NotFittedError
_LGBMStratifiedKFold = StratifiedKFold
_LGBMGroupKFold = GroupKFold
_LGBMCheckArray = check_array
_LGBMCheckSampleWeight = _check_sample_weight
_LGBMAssertAllFinite = assert_all_finite
_LGBMCheckClassificationTargets = check_classification_targets
Expand Down Expand Up @@ -113,7 +112,6 @@ class _LGBMRegressorBase: # type: ignore
LGBMNotFittedError = ValueError
_LGBMStratifiedKFold = None
_LGBMGroupKFold = None
_LGBMCheckArray = None
_LGBMCheckSampleWeight = None
_LGBMAssertAllFinite = None
_LGBMCheckClassificationTargets = None
Expand Down

0 comments on commit 815433f

Please sign in to comment.