docstr: Converts the dataset to an EvaluationDataset for model evaluation.
  May not be implemented by all datasets.
code: def to_evaluation_dataset(
      self, path=None, feature_names=None
  ) -> EvaluationDataset:
      """
      Converts the dataset to an EvaluationDataset for model evaluation.
      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 2 for calling the PyFuncConvertibleDatasetMixin obj's underlying member method code with example usage: obj.to_evaluation_dataset(path, feature_names) without return types