samecode.logger package

Submodules

samecode.logger.logger module

samecode.logger.logger.logger(name='Logger')[source]

samecode.logger.mlflow module

class samecode.logger.mlflow.Logger(experiment='', run_name='', root='', run_id='')[source]

Bases: object

add_note(run_id, comment)[source]
close()[source]

Close mlflow and make a copy of the notebook and store it on the mlflow run

get_metric(run_id, metric)[source]
init(**kwargs)[source]

Create and log a new run

save(name, artifacts)[source]
update(run_id, trainer)[source]

Update a run using run_id

Module contents

class samecode.logger.Logger(experiment='', run_name='', root='', run_id='')[source]

Bases: object

add_note(run_id, comment)[source]
close()[source]

Close mlflow and make a copy of the notebook and store it on the mlflow run

dummy()[source]
init(run_name)[source]

Create and log a new run

save(globals, **kwargs)[source]

globals() name: add name to the history (default source_code_history) artifacts: (default parent_artifacts)

update(run_id, trainer)[source]

Update a run using run_id