code: def SlidingWindowSplitter(
      fh=1,
      window_length=10,
      step_length=1,
      initial_window=None,
      start_with_window=True,
  ):
      """Legacy export of Sliding window splitter.
  
      DEPRECATED - use sktime.split.ExpandingWindowSplitter instead.
      """
      from warnings import warn
  
      from sktime.split import SlidingWindowSplitter as _SWSplitter
  
      warn(
          "WARNING - the old location of SlidingWindowSplitter in "
          "sktime.forecasting.model_selection is deprecated and is scheduled for "
          "imminent removal in a MINOR version. "
          "Please update any import statements to "
          "from sktime.split import SlidingWindowSplitter.",
          DeprecationWarning,
      )
  
      return _SWSplitter(
          fh=fh,
          window_length=window_length,
          step_length=step_length,
          initial_window=initial_window,
          start_with_window=start_with_window,
      )
  
label_desc: Use image node_id 3 for calling a global function with example usage: SlidingWindowSplitter(fh, window_length, step_length, initial_window, start_with_window) and returns: _SWSplitter