class_docstr: Custom splitter. todo: write docstring.
  
  todo: describe your custom splitter here
  
  Parameters
  ----------
  parama : int
      descriptive explanation of parama
  paramb : string, optional (default='default')
      descriptive explanation of paramb
  paramc : boolean, optional (default= whether paramb is not the default)
      descriptive explanation of paramc
  and so on
  est : sktime.estimator, BaseEstimator descendant
      descriptive explanation of est
  est2: another estimator
      descriptive explanation of est2
  and so on
docstr: Get loc references to train/test splits of `y`.
  
  private _split containing the core logic, called from split_loc
  
  Default implements using split and y.index to look up the loc indices.
  Can be overridden for faster implementation.
  
  Parameters
  ----------
  y : pd.Index
      index of time series to split
  
  Yields
  ------
  train : pd.Index
      Training window indices, loc references to training indices in y
  test : pd.Index
      Test window indices, loc references to test indices in y
docstr_tok: ["Get","loc","references","to","train\/test","splits","of","`","y","`",".","private","_split","containing","the","core","logic",",","called","from","split_loc","Default","implements","using","split","and","y.index","to","look","up","the","loc","indices",".","Can","be","overridden","for","faster","implementation",".","Parameters","--","--","--","--","--","y",":","pd.Index","index","of","time","series","to","split","Yields","--","--","--","train",":","pd.Index","Training","window","indices",",","loc","references","to","training","indices","in","y","test",":","pd.Index","Test","window","indices",",","loc","references","to","test","indices","in","y"]
code: def _split_loc(self, y):
      """Get loc references to train/test splits of `y`.
  
      private _split containing the core logic, called from split_loc
  
      Default implements using split and y.index to look up the loc indices.
      Can be overridden for faster implementation.
  
      Parameters
      ----------
      y : pd.Index
          index of time series to split
  
      Yields
      ------
      train : pd.Index
          Training window indices, loc references to training indices in y
      test : pd.Index
          Test window indices, loc references to test indices in y
      """
      for train, test in self.split(y):
          # default gets loc index from iloc index
          yield y[train], y[test]
  
file_path: sktime/extension_templates/split.py
imports: from sktime.split.base import BaseSplitter
label_desc: Use image node_id 3 for calling the MySplitter obj's underlying member method code with example usage: obj._split_loc(y) without return types