code: def test_actual_results(params):
      """Test that the actual results are the expected ones."""
      ssa = SingularSpectrumAnalysis(**params)
      arr_actual = ssa.fit_transform(X).sum(axis=1)
      np.testing.assert_allclose(arr_actual, X, atol=1e-5, rtol=0.0)
  
file_path: pyts/pyts/decomposition/tests/test_ssa.py
imports: import numpy
  import pytest
  import re
  from pyts.decomposition.ssa import _outer_dot, _diagonal_averaging
  from pyts.decomposition import SingularSpectrumAnalysis
label_desc: Use image node_id 4 for calling a global function with example usage: test_actual_results(params) without return types