class_docstr: A template for :class: `~greykite.sklearn.estimator.lag_based_estimator.LagBasedEstimator`.
      
class_docstr_tok: ["A","template","for",":","class",":","`","~greykite.sklearn.estimator.lag_based_estimator.LagBasedEstimator","`","."]
code: def __init__(
      self, estimator: BaseForecastEstimator = LagBasedEstimator()
  ):
      super().__init__(estimator=estimator)
  
imports: import functools
  from typing import Dict
  from typing import Optional
  import pandas
  from greykite.common.aggregation_function_enum import AggregationFunctionEnum
  from greykite.common.logging import LoggingLevelEnum
  from greykite.common.logging import log_message
  from greykite.common.python_utils import dictionaries_values_to_lists
  from greykite.common.python_utils import update_dictionaries
  from greykite.common.python_utils import update_dictionary
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.autogen.forecast_config import ModelComponentsParam
  from greykite.framework.templates.base_template import BaseTemplate
  from greykite.sklearn.estimator.base_forecast_estimator import BaseForecastEstimator
  from greykite.sklearn.estimator.lag_based_estimator import LagBasedEstimator
  from greykite.sklearn.estimator.lag_based_estimator import LagUnitEnum
label_desc: Use image node_id 1 to create a new LagBasedTemplate object from inherited base classes: BaseTemplate with example: obj = LagBasedTemplate(estimator)