code: def get_mean_metrics(population) -> Sequence[float]:
      return np.mean([ind.fitness.values for ind in population], axis=0)
  
file_path: FEDOT/test/integration/quality/test_quality_improvement.py
imports: import logging
  import warnings
  from typing import Sequence
  import numpy
  from fedot import Fedot
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 4 for calling a global function with example usage: get_mean_metrics(population) and returns: np