docstr: Converts the dataset to a collection of pyfunc inputs and outputs for model
  evaluation. Required for use with mlflow.evaluate().
  May not be implemented by all datasets.
code: def to_pyfunc(self) -> PyFuncInputsOutputs:
      """
      Converts the dataset to a collection of pyfunc inputs and outputs for model
      evaluation. Required for use with mlflow.evaluate().
      May not be implemented by all datasets.
      """
  
file_path: mlflow/mlflow/data/pyfunc_dataset_mixin.py
imports: from abc import abstractmethod
  from dataclasses import dataclass
  from typing import List
  from mlflow.models.evaluation.base import EvaluationDataset
  from mlflow.models.utils import PyFuncInput, PyFuncOutput
label_desc: Use image node_id 1 for calling the PyFuncConvertibleDatasetMixin obj's underlying member method code with example usage: obj.to_pyfunc() without return types