deepr.macros package

Submodules

deepr.macros.dynamic module

Dummy macro wrapper to mark macros as a dynamic macro.

class deepr.macros.dynamic.Dynamic[source]

Bases: dict

Dummy macro wrapper to mark macros as a dynamic macro.

deepr.macros.graphite_init module

Initializes Graphite Variables.

class deepr.macros.graphite_init.GraphiteInit(host=None, prefix=None, port=3341, interval=60, use_graphite=False)[source]

Bases: dict

Initializes Graphite Variables.

deepr.macros.mlflow_init module

Initializes MLFlow run

class deepr.macros.mlflow_init.MLFlowInit(use_mlflow=False, run_name=None, tracking_uri=None, experiment_name=None, artifact_location=None, url_formatter=<function internal_url_formatter>, run_id=None)[source]

Bases: dict

MLFlow Macro initializes MLFlow run and sets MLFlow parameters

deepr.macros.mlflow_init.internal_url_formatter(tracking_uri, experiment_id, run_id)[source]

Internal URL formatter for MLFlow runs.

Return type:

str

deepr.macros.mlflow_init.standard_url_formatter(tracking_uri, experiment_id, run_id)[source]

Default URL formatter for MLFlow runs.

Return type:

str

Module contents