code: def TestSplitSampler(
      axis: int = -1, min_past: int = 0
  ) -> PredictionSplitSampler:
      return PredictionSplitSampler(
          allow_empty_interval=False,
          axis=axis,
          min_past=min_past,
          min_future=0,
      )
  
imports: from typing import Tuple
  import numpy
  from gluonts.dataset.stat import ScaleHistogram
  from gluonts.pydantic import BaseModel
label_desc: Use image node_id 2 for calling a global function with example usage: TestSplitSampler(axis, min_past) and returns: PredictionSplitSampler