original_docstring: 
          begin estimating of model_name is specified as model to estimate, otherwise return False
  
          Parameters
          ----------
          model_name
  
          Returns
          -------
  
          
docstring: begin estimating of model_name is specified as model to estimate, otherwise return False
  Parameters
  
  
  
  Returns
docstring_tokens: begin estimating of model_name is specified as model to estimate otherwise return False Parameters Returns
code: def begin_estimation(self, model_name, bundle_name=None):
          """
          begin estimating of model_name is specified as model to estimate, otherwise return False
  
          Parameters
          ----------
          model_name
  
          Returns
          -------
  
          """
          # load estimation settings file
          if not self.settings_initialized:
              self.initialize_settings()
  
          # global estimation setting
          if not self.enabled:
              return None
  
          bundle_name = bundle_name or model_name
  
          if bundle_name not in self.bundles:
              logger.warning(f"estimation bundle {bundle_name} not in settings file {ESTIMATION_SETTINGS_FILE_NAME}")
              return None
  
          # can't estimate the same model simultaneously
          assert model_name not in self.estimating, \
              "Cant begin estimating %s - already estimating that model." % (model_name, )
  
          assert bundle_name in self.model_estimation_table_types, \
              "No estimation_table_type for %s in %s." % (bundle_name, ESTIMATION_SETTINGS_FILE_NAME)
  
          model_estimation_table_type = self.model_estimation_table_types[bundle_name]
  
          assert model_estimation_table_type in self.estimation_table_recipes, \
              "model_estimation_table_type '%s' for model %s no in %s." % \
              (model_estimation_table_type, model_name, ESTIMATION_SETTINGS_FILE_NAME)
  
          self.estimating[model_name] = \
              Estimator(bundle_name, model_name,
                        estimation_table_recipes=self.estimation_table_recipes[model_estimation_table_type])
  
          return self.estimating[model_name]
code_tokens: def begin_estimation ( self , model_name , bundle_name = None ) : if not self . settings_initialized : self . initialize_settings ( ) if not self . enabled : return None bundle_name = bundle_name or model_name if bundle_name not in self . bundles : logger . warning ( f"estimation bundle {bundle_name} not in settings file {ESTIMATION_SETTINGS_FILE_NAME}" ) return None assert model_name not in self . estimating , "Cant begin estimating %s - already estimating that model." % ( model_name , ) assert bundle_name in self . model_estimation_table_types , "No estimation_table_type for %s in %s." % ( bundle_name , ESTIMATION_SETTINGS_FILE_NAME ) model_estimation_table_type = self . model_estimation_table_types [ bundle_name ] assert model_estimation_table_type in self . estimation_table_recipes , "model_estimation_table_type '%s' for model %s no in %s." % ( model_estimation_table_type , model_name , ESTIMATION_SETTINGS_FILE_NAME ) self . estimating [ model_name ] = Estimator ( bundle_name , model_name , estimation_table_recipes = self . estimation_table_recipes [ model_estimation_table_type ] ) return self . estimating [ model_name ]
short_docstring: begin estimating of model_name is specified as model to estimate, otherwise return False
  Parameters
short_docstring_tokens: begin estimating of model_name is specified as model to estimate otherwise return False Parameters
comment: """
          begin estimating of model_name is specified as model to estimate, otherwise return False
  
          Parameters
          ----------
          model_name
  
          Returns
          -------
  
          """$SEP$# load estimation settings file$SEP$# global estimation setting$SEP$# can't estimate the same model simultaneously