class_docstr: Base forecaster template class.
  
  The base forecaster specifies the methods and method signatures that all forecasters
  have to implement.
  
  Specific implementations of these methods is deferred to concrete forecasters.
class_docstr_tok: ["Base","forecaster","template","class",".","The","base","forecaster","specifies","the","methods","and","method","signatures","that","all","forecasters","have","to","implement",".","Specific","implementations","of","these","methods","is","deferred","to","concrete","forecasters","."]
docstr: Update forecaster and then make forecasts.
  
  Implements default behaviour of calling update and predict sequentially, but can
  be overwritten by subclasses to implement more efficient updating algorithms
  when available.
docstr_tok: ["Update","forecaster","and","then","make","forecasts",".","Implements","default","behaviour","of","calling","update","and","predict","sequentially",",","but","can","be","overwritten","by","subclasses","to","implement","more","efficient","updating","algorithms","when","available","."]
code: def _update_predict_single(
      self,
      y,
      fh,
      X=None,
      update_params=True,
  ):
      """Update forecaster and then make forecasts.
  
      Implements default behaviour of calling update and predict sequentially, but can
      be overwritten by subclasses to implement more efficient updating algorithms
      when available.
      """
      self.update(y=y, X=X, update_params=update_params)
      return self.predict(fh=fh, X=X)
  
imports: from copy import deepcopy
  from itertools import product
  import numpy
  import pandas
  from sktime.base import BaseEstimator
  from sktime.datatypes import VectorizedDF, check_is_scitype, convert_to, get_cutoff, mtype_to_scitype, scitype_to_mtype, update_data
  from sktime.forecasting.base._fh import ForecastingHorizon
  from sktime.utils.datetime import _shift
  from sktime.utils.validation._dependencies import _check_estimator_deps
  from sktime.utils.validation.forecasting import check_alpha, check_cv, check_fh, check_X
  from sktime.utils.validation.series import check_equal_time_index
  from sktime.utils.warnings import warn
label_desc: Use image node_id 33 for calling the BaseForecaster obj's underlying member method code with example usage: obj._update_predict_single(y, fh, X, update_params) and returns: self