code: def _default_classification_experience_factory(
      stream: "ClassificationStream", experience_idx: int
  ):
      return ClassificationExperience(
          origin_stream=stream, current_experience=experience_idx
      )
  
imports: from typing import Callable, TypeVar, Union, Sequence, Optional, Iterable, List, Set, Tuple, Mapping, overload, TYPE_CHECKING
  import warnings
  from avalanche.benchmarks.scenarios.deprecated import AbstractClassTimelineExperience
  from avalanche.benchmarks.scenarios.deprecated.dataset_scenario import ClassesTimelineCLScenario, FactoryBasedStream, TStreamsUserDict
  from avalanche.benchmarks.utils.dataset_utils import manage_advanced_indexing
label_desc: Use image node_id 2 for calling a global function with example usage: _default_classification_experience_factory(stream, experience_idx) and returns: ClassificationExperience