|
|
| DataType = Any |
| |
|
| FeatureInfo = Sequence[str] |
| |
|
| FeatureNames = FeatureInfo |
| |
|
| FeatureTypes = FeatureInfo |
| |
|
| BoosterParam = Union[List, Dict[str, Any]] |
| |
|
| ArrayLike = Any |
| |
|
| PathLike = Union[str, os.PathLike] |
| |
|
| CupyT = ArrayLike |
| |
|
| NumpyOrCupy = Any |
| |
|
| NumpyDType = Union[str, Type[np.number]] |
| |
|
| PandasDType = Any |
| |
|
| FloatCompatible = Union[float, np.float32, np.float64] |
| |
|
| FPreProcCallable = Callable |
| |
|
| c_bst_ulong = ctypes.c_uint64 |
| |
|
| ModelIn = Union[str, bytearray, os.PathLike] |
| |
| | CTypeT |
| |
| | CNumeric |
| |
|
| CStrPtr = ctypes._Pointer[ctypes.c_char] |
| |
|
| CStrPptr = ctypes._Pointer[ctypes.c_char_p] |
| |
|
| CFloatPtr = ctypes._Pointer[ctypes.c_float] |
| |
| | CNumericPtr |
| |
| | TransformedData |
| |
|
| _T = TypeVar("_T") |
| |
|
| _F = TypeVar("_F", bound=Callable[..., Any]) |
| |
Shared typing definition.