parameters: (self,
                 model,
                 state_manager=None,
                 optimizer=None,
                 model_dir=None,
                 config=None,
                 head_type=ts_head_lib.TimeSeriesRegressionHead)
docstring: See TimeSeriesRegressor. Uses the ChainingStateManager by default.
docstring_summary: See TimeSeriesRegressor. Uses the ChainingStateManager by default.
docstring_tokens: See TimeSeriesRegressor . Uses the ChainingStateManager by default .
function: def __init__(self,
                 model,
                 state_manager=None,
                 optimizer=None,
                 model_dir=None,
                 config=None,
                 head_type=ts_head_lib.TimeSeriesRegressionHead):
      """See TimeSeriesRegressor. Uses the ChainingStateManager by default."""
      if not isinstance(model, state_space_model.StateSpaceModel):
        raise ValueError(
            "StateSpaceRegressor only supports state space models (children of "
            "StateSpaceModel) in its `model` argument, got {}.".format(model))
      if state_manager is None:
        state_manager = state_management.ChainingStateManager()
      super(StateSpaceRegressor, self).__init__(
          model=model,
          state_manager=state_manager,
          optimizer=optimizer,
          model_dir=model_dir,
          config=config,
          head_type=head_type)
function_tokens: def __init__ ( self , model , state_manager = None , optimizer = None , model_dir = None , config = None , head_type = ts_head_lib . TimeSeriesRegressionHead ) : if not isinstance ( model , state_space_model . StateSpaceModel ) : raise ValueError ( "StateSpaceRegressor only supports state space models (children of " "StateSpaceModel) in its `model` argument, got {}." . format ( model ) ) if state_manager is None : state_manager = state_management . ChainingStateManager ( ) super ( StateSpaceRegressor , self ) . __init__ ( model = model , state_manager = state_manager , optimizer = optimizer , model_dir = model_dir , config = config , head_type = head_type )