plexus.scores.core.ScoreMLFlow module

class plexus.scores.core.ScoreMLFlow.ScoreMLFlow

Bases: object

log_evaluation_metrics(metrics)

Log evaluation metrics to MLflow.

Parameters

metricsdict

Dictionary containing evaluation metrics.

log_stored_parameters()

Log the stored parameters to MLflow.

record_configuration(configuration)

Record the provided configuration dictionary as a JSON file in the appropriate report folder for this model.

Parameters

configurationdict

Dictionary containing the configuration to be recorded.

Notes

The configuration JSON file can be useful as an artifact for logging in MLFlow.

start_mlflow_experiment_run()

Start an MLflow experiment run and log common parameters.