code: def run_classification_baseline(
      train_data, test_data, timeout: float = 5
  ):
      baseline_model = Fedot(problem="classification", timeout=timeout)
      baseline_model.fit(
          features=train_data.features,
          target=train_data.target,
          predefined_model="rf",
      )
      baseline_model.predict(features=test_data.features)
      metrics = baseline_model.get_metrics(target=test_data.target)
      print(metrics)
  
file_path: FEDOT/cases/kc2_sourcecode_defects_classification.py
imports: from os.path import join
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.repository.tasks import TaskTypesEnum, Task
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 3 for calling a global function with example usage: run_classification_baseline(train_data, test_data, timeout) without return types