Module markov.api.recording.experiments.integrations.lightgbm.lightgbm_auto_record

Functions

def auto_record(name: str, notes: str = '', project_id: str = '', model_class: ModelClass = ModelClass.CLASSIFICATION, **kwargs)
def get_callback(params)
def patched_train(wrapped, instance, args, kwargs)

The patched train method that will replace the actual train method in lightgbm module through monkey-patching.

Args

wrapped
The original method that needs to patched (or replaced)
instance
The object instance on which the original method is called. (is null if og method is not a class method)
args
The arguments passed to the og method
kwargs
The keyword arguments passed to the og method

Returns: