code: def factory_estimator_class_task(**kwargs) -> Callable:
      """Return task for getting class of estimator."""
  
      def estimator_class_task(estimator: BaseEstimator) -> str:
          """Return class of estimator.
  
          Used as simple task for testing purposes.
          """
          return {"estimator_class": str(estimator.__class__)}
  
      return estimator_class_task
  
file_path: sktime/sktime/benchmarking/tests/test_benchmarks.py
imports: from typing import Callable
  import pandas
  import pytest
  from sktime.base import BaseEstimator
  from sktime.benchmarking import benchmarks
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 1 for calling a global function with example usage: factory_estimator_class_task() and returns: estimator_class_task, dict