Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
xgboost.compat Namespace Reference

Data Structures

class  LazyLoader
 

Functions

str py_str (bytes x)
 
bool lazy_isinstance (Any instance, str module, str name)
 
bool is_cudf_available ()
 
bool is_cupy_available ()
 
_T concat (Sequence[_T] value)
 

Variables

bool PANDAS_INSTALLED = True
 
 MultiIndex = object
 
 DataFrame = object
 
 Series = object
 
 pandas_concat = None
 
bool SKLEARN_INSTALLED = True
 
 XGBModelBase = object
 
 XGBClassifierBase = object
 
 XGBRegressorBase = object
 
 LabelEncoder = object
 
 XGBKFold = None
 
 XGBStratifiedKFold = None
 
 _logger = logging.getLogger(__name__)
 
bool scipy_sparse = False
 
 scipy_csr = object
 

Detailed Description

For compatibility and optional dependencies.

Function Documentation

◆ concat()

_T xgboost.compat.concat ( Sequence[_T]  value)
Concatenate row-wise.

◆ is_cudf_available()

bool xgboost.compat.is_cudf_available ( )
Check cuDF package available or not

◆ is_cupy_available()

bool xgboost.compat.is_cupy_available ( )
Check cupy package available or not

◆ lazy_isinstance()

bool xgboost.compat.lazy_isinstance ( Any  instance,
str  module,
str  name 
)
Use string representation to identify a type.

◆ py_str()

str xgboost.compat.py_str ( bytes  x)
convert c string back to python string