code: def build_ensembler_from_name(name: str) -> BaseEnsembler:
      """
      Parameters
      ----------
      name: ``str``
          the name of ensemble module.
  
      Returns
      -------
      BaseEnsembler:
          the ensembler built using default parameters
  
      Raises
      ------
      AssertionError
          If an invalid name is passed in
      """
      assert name in ENSEMBLE_DICT, (
          "ensemble module do not have name " + name
      )
      return ENSEMBLE_DICT[name]()
  
imports: from .base import BaseEnsembler
  from .voting import Voting
  from .stacking import Stacking
label_desc: Use image node_id 2 for calling a global function with example usage: build_ensembler_from_name(name) and returns: ENSEMBLE_DICT