code: def ts_deviance(ts: np.array):
      """This function computes average module of difference between neighboring elements of time series."""
  
      return np.mean(np.abs(np.diff(ts)))
  
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 6 for calling a global function with example usage: ts_deviance(ts) and returns: np