class_docstr: Mock univariate forecaster that logs the methods called and their parameters.
  
  Parameters
  ----------
  prediction_constant : float, optional
      The forecasted value for all steps in the horizon, by default 10
  
  Examples
  --------
  >>> from sktime.datasets import load_airline
  >>> from sktime.utils.estimators import MockUnivariateForecasterLogger
  >>> y = load_airline()
  >>> forecaster = MockUnivariateForecasterLogger()
  >>> forecaster.fit(y)
  MockUnivariateForecasterLogger(...)
  >>> y_pred = forecaster.predict(fh=[1,2,3])
  >>> print(forecaster.log)
  [('_fit', ...), ('_predict', ...)]
class_docstr_tok: ["Mock","univariate","forecaster","that","logs","the","methods","called","and","their","parameters",".","Parameters","--","--","--","--","--","prediction_constant",":","float",",","optional","The","forecasted","value","for","all","steps","in","the","horizon",",","by","default","10","Examples","--","--","--","--",">",">",">","from","sktime.datasets","import","load_airline",">",">",">","from","sktime.utils.estimators","import","MockUnivariateForecasterLogger",">",">",">","y","=","load_airline","(",")",">",">",">","forecaster","=","MockUnivariateForecasterLogger","(",")",">",">",">","forecaster.fit","(","y",")","MockUnivariateForecasterLogger","(","...",")",">",">",">","y_pred","=","forecaster.predict","(","fh=","[","1,2,3","]",")",">",">",">","print","(","forecaster.log",")","[","(","'_fit","'",",","...",")",",","(","'_predict","'",",","...",")","]"]
docstr: Update time series to incremental training data.
  
  private _update containing the core logic, called from update
  
  State required:
      Requires state to be "fitted".
  
  Accesses in self:
      Fitted model attributes ending in "_"
      self.cutoff
  
  Writes to self:
      Sets fitted model attributes ending in "_", if update_params=True.
      Does not write to self if update_params=False.
  
  Parameters
  ----------
  y : guaranteed to be of a type in self.get_tag("y_inner_mtype")
      Time series with which to update the forecaster.
      if self.get_tag("scitype:y")=="univariate":
          guaranteed to have a single column/variable
      if self.get_tag("scitype:y")=="multivariate":
          guaranteed to have 2 or more columns
      if self.get_tag("scitype:y")=="both": no restrictions apply
  X : pd.DataFrame, optional (default=None)
      Exogenous time series
  update_params : bool, optional (default=True)
      whether model parameters should be updated
  
  Returns
  -------
  self : reference to self
docstr_tok: ["Update","time","series","to","incremental","training","data",".","private","_update","containing","the","core","logic",",","called","from","update","State","required",":","Requires","state","to","be","``","fitted","''",".","Accesses","in","self",":","Fitted","model","attributes","ending","in","``","_","''","self.cutoff","Writes","to","self",":","Sets","fitted","model","attributes","ending","in","``","_","''",",","if","update_params=True",".","Does","not","write","to","self","if","update_params=False",".","Parameters","--","--","--","--","--","y",":","guaranteed","to","be","of","a","type","in","self.get_tag","(","``","y_inner_mtype","''",")","Time","series","with","which","to","update","the","forecaster",".","if","self.get_tag","(","``","scitype",":","y","''",")","==","''","univariate","''",":","guaranteed","to","have","a","single","column\/variable","if","self.get_tag","(","``","scitype",":","y","''",")","==","''","multivariate","''",":","guaranteed","to","have","2","or","more","columns","if","self.get_tag","(","``","scitype",":","y","''",")","==","''","both","''",":","no","restrictions","apply","X",":","pd.DataFrame",",","optional","(","default=None",")","Exogenous","time","series","update_params",":","bool",",","optional","(","default=True",")","whether","model","parameters","should","be","updated","Returns","--","--","--","-","self",":","reference","to","self"]
code: def _update(self, y, X=None, update_params=True):
      """Update time series to incremental training data.
  
      private _update containing the core logic, called from update
  
      State required:
          Requires state to be "fitted".
  
      Accesses in self:
          Fitted model attributes ending in "_"
          self.cutoff
  
      Writes to self:
          Sets fitted model attributes ending in "_", if update_params=True.
          Does not write to self if update_params=False.
  
      Parameters
      ----------
      y : guaranteed to be of a type in self.get_tag("y_inner_mtype")
          Time series with which to update the forecaster.
          if self.get_tag("scitype:y")=="univariate":
              guaranteed to have a single column/variable
          if self.get_tag("scitype:y")=="multivariate":
              guaranteed to have 2 or more columns
          if self.get_tag("scitype:y")=="both": no restrictions apply
      X : pd.DataFrame, optional (default=None)
          Exogenous time series
      update_params : bool, optional (default=True)
          whether model parameters should be updated
  
      Returns
      -------
      self : reference to self
      """
      return self
  
file_path: sktime/sktime/utils/estimators/_forecasters.py
imports: import pandas
  from sktime.forecasting.base import BaseForecaster
  from sktime.utils.estimators._base import _method_logger, _MockEstimatorMixin
label_desc: Use image node_id 4 for calling the MockUnivariateForecasterLogger obj's underlying member method code with example usage: obj._update(y, X, update_params) and returns: self