Ultimate access to all questions.
A data scientist has developed a scikit-learn random forest model but hasn't logged it with MLflow yet. They aim to document the model's expected input and output data types by obtaining its input and output schema. Which MLflow operation can accomplish this task?
Explanation:
The mlflow.models.signature.infer_signature
function is designed to infer the input and output schema of a model without the need for explicit logging with MLflow. It examines the model's structure and the data types it uses to automatically create a signature that outlines the expected input and output formats. This allows the data scientist to document the model's schemas without logging it with MLflow.