0

During training, it is possible to use tags as a way to handle exceptions according to this question.

If a model has been created using mlflow.pyfunc.PythonModel, is it possible to throw exceptions? Is there a way to allow error handling for a model that has been served?

1 Answers1

0

One way is to to catch exception in your overridden predict() method for the mlflow.pyfunc.PyModel and log it.

Jules
  • 44
  • 2