code: def ts_inverse_transform(
      series: TimeSeries, params: Mapping[str, Any], *args, **kwargs
  ) -> TimeSeries:
      transformer = params["fitted"]
  
      tr_out = transformer.inverse_transform(
          Scaler.stack_samples(series)
      )
      inv_transformed_vals = Scaler.unstack_samples(
          tr_out, series=series
      )
  
      return series.with_values(inv_transformed_vals)
  
file_path: darts/darts/dataprocessing/transformers/scaler.py
imports: from copy import deepcopy
  from typing import Any, Mapping, Sequence, Union
  import numpy
  from sklearn.preprocessing import MinMaxScaler
  from darts.logging import get_logger, raise_log
  from darts.timeseries import TimeSeries
  from .fittable_data_transformer import FittableDataTransformer
  from .invertible_data_transformer import InvertibleDataTransformer
label_desc: Use image node_id 3 for calling the Scaler obj's underlying member method code with example usage: obj.ts_inverse_transform(series, params) and returns: series