code: def choose_new_model(boosting_model_candidates: List[str]) -> str:
      """Since 'linear' and 'dtreg' operations are suitable for solving the problem
      and they are simpler than others, they are preferred"""
  
      if "linear" in boosting_model_candidates:
          new_model = "linear"
      elif "dtreg" in boosting_model_candidates:
          new_model = "dtreg"
      else:
          new_model = choice(boosting_model_candidates)
      return new_model
  
file_path: FEDOT/fedot/core/composer/gp_composer/specific_operators.py
imports: from random import choice, random
  from typing import List
  from golem.core.optimisers.genetic.operators.base_mutations import get_mutation_prob
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.tuning.hyperparams import ParametersChanger
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.core.repository.tasks import TaskTypesEnum
label_desc: Use image node_id 4 for calling a global function with example usage: choose_new_model(boosting_model_candidates) and returns: new_model