registro_error#
- pymc_marketing.mlflow.log_error(func, file_name)[fuente]#
Registrar error arbitrario capturado y seguimiento a MLflow.
Nota
El error seguirá siendo generado con el programa. Simplemente se registra en MLflow.
- Parámetros:
- funcLlamable
Función arbitraria
- file_name
str El nombre del artefacto de MLflow
Ejemplos
import mlflow from pymc_marketing.mlflow import log_error def raising_function(): raise NotImplementedError("Sorry. Not implemented") func = log_error(raising_function, file_name="raising-function") with mlflow.start_run(): func()