class_docstr: Base class for forecasters that use sliding windows.
class_docstr_tok: ["Base","class","for","forecasters","that","use","sliding","windows","."]
docstr: Predict core logic.
  
  Parameters
  ----------
  fh : np.array
  X : pd.DataFrame
  
  Returns
  -------
  y_pred : np.array
docstr_tok: ["Predict","core","logic",".","Parameters","--","--","--","--","--","fh",":","np.array","X",":","pd.DataFrame","Returns","--","--","--","-","y_pred",":","np.array"]
code: def _predict_last_window(self, fh, X=None, **kwargs):
      """Predict core logic.
  
      Parameters
      ----------
      fh : np.array
      X : pd.DataFrame
  
      Returns
      -------
      y_pred : np.array
      """
      raise NotImplementedError("abstract method")
  
file_path: sktime/sktime/forecasting/base/_sktime.py
imports: import numpy
  import pandas
  from sktime.forecasting.base._base import BaseForecaster
  from sktime.split import CutoffSplitter
  from sktime.utils.datetime import _shift
label_desc: Use image node_id 6 for calling the _BaseWindowForecaster obj's underlying member method code with example usage: obj._predict_last_window(fh, X) without return types