You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X_SHAP_values_shape="array-like of shape = [n_samples, n_features + 1] or shape = [n_samples, (n_features + 1) * n_classes] or list with n_classes length of such objects",
1738
1748
)
1739
1749
1750
+
defdecision_function(
1751
+
self,
1752
+
X: _LGBM_ScikitMatrixLike,
1753
+
*,
1754
+
start_iteration: int=0,
1755
+
num_iteration: Optional[int] =None,
1756
+
validate_features: bool=False,
1757
+
**kwargs: Any,
1758
+
) ->_LGBM_PredictReturnType:
1759
+
"""Return the raw margin score for each sample.
1760
+
1761
+
Parameters
1762
+
----------
1763
+
X : numpy array, pandas DataFrame, scipy.sparse, list of lists of int or float of shape = [n_samples, n_features]
1764
+
Input features matrix.
1765
+
start_iteration : int, optional (default=0)
1766
+
Start index of the iteration to predict.
1767
+
If <= 0, starts from the first iteration.
1768
+
num_iteration : int or None, optional (default=None)
1769
+
Total number of iterations used in the prediction.
1770
+
If None, if the best iteration exists and start_iteration <= 0, the best iteration is used;
1771
+
otherwise, all iterations from ``start_iteration`` are used (no limits).
1772
+
If <= 0, all iterations from ``start_iteration`` are used (no limits).
0 commit comments