@@ -1075,7 +1077,7 @@ class LGBMModel(_LGBMModelBase):
fit.__doc__=(
_lgbmmodel_doc_fit.format(
X_shape="numpy array, pandas DataFrame, scipy.sparse, list of lists of int or float of shape = [n_samples, n_features]",
X_shape="numpy array, pandas DataFrame, pyarrow Table, scipy.sparse, list of lists of int or float of shape = [n_samples, n_features]",
y_shape="numpy array, pandas DataFrame, pandas Series, list of int or float, pyarrow Array, pyarrow ChunkedArray of shape = [n_samples]",
sample_weight_shape="numpy array, pandas Series, list of int or float, pyarrow Array, pyarrow ChunkedArray of shape = [n_samples] or None, optional (default=None)",
init_score_shape="numpy array, pandas DataFrame, pandas Series, list of int or float, list of lists, pyarrow Array, pyarrow ChunkedArray, pyarrow Table of shape = [n_samples] or shape = [n_samples * n_classes] (for multi-class task) or shape = [n_samples, n_classes] (for multi-class task) or None, optional (default=None)",
...
...
@@ -1102,7 +1104,7 @@ class LGBMModel(_LGBMModelBase):
"""Docstring is set after definition, using a template."""
ifnotself.__sklearn_is_fitted__():
raiseLGBMNotFittedError("Estimator not fitted, call fit before exploiting the model.")