Medial Code Documentation
Loading...
Searching...
No Matches
Variables
xgboost._typing Namespace Reference

Variables

 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])
 

Detailed Description

Shared typing definition.

Variable Documentation

◆ CNumeric

xgboost._typing.CNumeric
Initial value:
1= Union[
2 ctypes.c_float,
3 ctypes.c_double,
4 ctypes.c_uint,
5 ctypes.c_uint64,
6 ctypes.c_int32,
7 ctypes.c_int64,
8]

◆ CNumericPtr

xgboost._typing.CNumericPtr
Initial value:
1= Union[
2 ctypes._Pointer[ctypes.c_float],
3 ctypes._Pointer[ctypes.c_double],
4 ctypes._Pointer[ctypes.c_uint],
5 ctypes._Pointer[ctypes.c_uint64],
6 ctypes._Pointer[ctypes.c_int32],
7 ctypes._Pointer[ctypes.c_int64],
8 ]

◆ CTypeT

xgboost._typing.CTypeT
Initial value:
1= TypeVar(
2 "CTypeT",
3 ctypes.c_void_p,
4 ctypes.c_char_p,
5 ctypes.c_int,
6 ctypes.c_float,
7 ctypes.c_uint,
8 ctypes.c_size_t,
9)

◆ TransformedData

xgboost._typing.TransformedData
Initial value:
1= Tuple[
2 Any, Optional[List], Optional[FeatureNames], Optional[FeatureTypes]
3]