QuestionQ122

VerifiedAdvanced MLflow Usage

A data scientist has developed a scikit-learn random forest model but has not yet logged it with MLflow. They want to obtain the model’s input schema and output schema so they can document the type of data expected as input.

Which of the following MLflow operations can perform this task?

Explanation

mlflow.models.signature.infer_signature infers an MLflow ModelSignature from representative model input and the model’s predictions. That signature includes schemas for both inputs and outputs, so it can be created before the model is logged.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!