class_docstr: Parameters
  ----------
  seasonality : int
      Length of seasonality
  seasonality_sm_input : float
      float value between [0, 1], applicable only if `seasonality` > 1. A larger value puts
      more weight on the current seasonality.
      If None, the model will estimate this value.
  level_sm_input : float
      float value between [0.0001, 1]. A larger value puts more weight on the current level.
      If None, the model will estimate this value.
class_docstr_tok: ["Parameters","--","--","--","--","--","seasonality",":","int","Length","of","seasonality","seasonality_sm_input",":","float","float","value","between","[","0",",","1","]",",","applicable","only","if","`","seasonality","`",">","1",".","A","larger","value","puts","more","weight","on","the","current","seasonality",".","If","None",",","the","model","will","estimate","this","value",".","level_sm_input",":","float","float","value","between","[","0.0001",",","1","]",".","A","larger","value","puts","more","weight","on","the","current","level",".","If","None",",","the","model","will","estimate","this","value","."]
docstr: Set posteriors keys to extract from sampling/optimization api
docstr_tok: ["Set","posteriors","keys","to","extract","from","sampling\/optimization","api"]
code: def _set_model_param_names(self):
      """Set posteriors keys to extract from sampling/optimization api"""
      self._model_param_names += [
          param.value for param in BaseSamplingParameters
      ]
  
      # append seasonality param names
      if self._seasonality > 1:
          self._model_param_names += [
              param.value for param in SeasonalitySamplingParameters
          ]
  
imports: import numpy
  from copy import deepcopy
  import torch
  from enum import Enum
  from ..constants.constants import PredictionKeys, TrainingMetaKeys, PredictionMetaKeys
  from ..exceptions import IllegalArgument, DataInputException
  from .model_template import ModelTemplate
  from ..estimators.stan_estimator import StanEstimatorMCMC, StanEstimatorMAP
  from ..utils.features import moving_average
label_desc: Use image node_id 6 for calling the ETSModel obj's underlying member method code with example usage: obj._set_model_param_names() without return types