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

Data Structures

class  DataFrame
 
class  DataTable
 
class  LGBMDeprecationWarning
 
class  Series
 

Functions

 argc_ (func)
 
 decode_string (bytestring)
 
 json_default_with_numpy (obj)
 

Variables

tuple is_py3 = (sys.version_info[0] == 3)
 
 zip_ = zip
 
 string_type = str
 
tuple numeric_types = (int, float, bool)
 
tuple integer_types = (int, )
 
 range_ = range
 
bool PANDAS_INSTALLED = True
 
bool MATPLOTLIB_INSTALLED = True
 
bool GRAPHVIZ_INSTALLED = True
 
bool DATATABLE_INSTALLED = True
 
bool SKLEARN_INSTALLED = True
 
 _LGBMModelBase = BaseEstimator
 
 _LGBMRegressorBase = RegressorMixin
 
 _LGBMClassifierBase = ClassifierMixin
 
 _LGBMLabelEncoder = LabelEncoder
 
 LGBMNotFittedError = NotFittedError
 
 _LGBMStratifiedKFold = StratifiedKFold
 
 _LGBMGroupKFold = GroupKFold
 
 _LGBMCheckXY = check_X_y
 
 _LGBMCheckArray = check_array
 
 _LGBMCheckConsistentLength = check_consistent_length
 
 _LGBMAssertAllFinite = assert_all_finite
 
 _LGBMCheckClassificationTargets = check_classification_targets
 
 _LGBMComputeSampleWeight = compute_sample_weight
 

Detailed Description

Compatibility library.

Function Documentation

◆ argc_()

lightgbm.compat.argc_ (   func)
Count the number of arguments of a function.

◆ decode_string()

lightgbm.compat.decode_string (   bytestring)
Decode C bytestring to ordinary string.

◆ json_default_with_numpy()

lightgbm.compat.json_default_with_numpy (   obj)
Convert numpy classes to JSON serializable objects.