code: def pipeline_fourth():
      #          XG
      #      |         \
      #     XG          KNN
      #   |    \        |  \
      # QDA     KNN     LR  LDA
      # |  \    |    \
      # RF  RF  KNN KNN
      pipeline = pipeline_first()
      new_node = PipelineNode("qda")
      for model_type in ("rf", "rf"):
          new_node.nodes_from.append(PipelineNode(model_type))
      pipeline.update_subtree(
          pipeline.root_node.nodes_from[0].nodes_from[1], new_node
      )
      new_node = PipelineNode("knn")
      for model_type in ("knn", "knn"):
          new_node.nodes_from.append(PipelineNode(model_type))
      pipeline.update_subtree(
          pipeline.root_node.nodes_from[0].nodes_from[0], new_node
      )
      return pipeline
  
imports: import glob
  import os
  import numpy
  import pytest
  from sklearn.datasets import load_breast_cancer
  from fedot.core.caching.pipelines_cache import OperationsCache
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 8 for calling a global function with example usage: pipeline_fourth() and returns: pipeline