code: def compute_prediction_intervals(
      arrays: List[np.array], nominal_error: int = 0.1
  ):
      """Provided a list of np.arrays this function computes upper and low quantiles, max, min, median and mean arrays."""
  
      arrays = np.array(arrays)
  
      return {
          "quantile_up": np.quantile(
              arrays,
              q=1 - nominal_error / 2,
              axis=0,
              method="median_unbiased",
          ),
          "quantile_low": np.quantile(
              arrays,
              q=nominal_error / 2,
              axis=0,
              method="median_unbiased",
          ),
          "mean": np.mean(arrays, axis=0),
          "median": np.median(arrays, axis=0),
          "max": np.max(arrays, axis=0),
          "min": np.min(arrays, axis=0),
      }
  
file_path: FEDOT/fedot/core/pipelines/prediction_intervals/utils.py
imports: import numpy
  from typing import List
  from fedot.core.pipelines.ts_wrappers import fitted_values
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from golem.core.optimisers.opt_history_objects.individual import Individual
  from fedot.core.pipelines.prediction_intervals.params import PredictionIntervalsParams
  from fedot.core.pipelines.prediction_intervals.graph_distance import get_distance_between
label_desc: Use image node_id 1 for calling a global function with example usage: compute_prediction_intervals(arrays, nominal_error) and returns: dict