зеркало из https://github.com/microsoft/LightGBM.git
This commit is contained in:
Родитель
9445b2ca26
Коммит
acb677416a
|
@ -1,17 +1,19 @@
|
|||
# coding: utf-8
|
||||
"""Scikit-learn wrapper interface for LightGBM."""
|
||||
import copy
|
||||
|
||||
from inspect import signature
|
||||
|
||||
import numpy as np
|
||||
|
||||
from .basic import Dataset, LightGBMError, _ConfigAliases, _choose_param_value, _log_warning
|
||||
from .compat import (SKLEARN_INSTALLED, _LGBMClassifierBase,
|
||||
LGBMNotFittedError, _LGBMLabelEncoder, _LGBMModelBase,
|
||||
_LGBMRegressorBase, _LGBMCheckXY, _LGBMCheckArray, _LGBMCheckSampleWeight,
|
||||
_LGBMAssertAllFinite, _LGBMCheckClassificationTargets, _LGBMComputeSampleWeight,
|
||||
pd_DataFrame, dt_DataTable)
|
||||
from .basic import (Dataset, LightGBMError, _choose_param_value,
|
||||
_ConfigAliases, _log_warning)
|
||||
from .compat import (SKLEARN_INSTALLED, LGBMNotFittedError,
|
||||
_LGBMAssertAllFinite, _LGBMCheckArray,
|
||||
_LGBMCheckClassificationTargets, _LGBMCheckSampleWeight,
|
||||
_LGBMCheckXY, _LGBMClassifierBase,
|
||||
_LGBMComputeSampleWeight, _LGBMLabelEncoder,
|
||||
_LGBMModelBase, _LGBMRegressorBase, dt_DataTable,
|
||||
pd_DataFrame)
|
||||
from .engine import train
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче