code: def test_initialise_params():
      """Test for initialise parameters."""
      model = Hidalgo(
          K=2, n_iter=10, burn_in=0.5, sampling_rate=2, seed=1
      )
      N = 10
      mu = np.array(
          [
              1.464722,
              5.40974013,
              2.464722,
              4.78175011,
              1.17460641,
              1.95890874,
              1.05863706,
              1.06313386,
              1.85040636,
              1.28065266,
          ]
      )
      Iin = np.array(
          [
              2,
              4,
              7,
              3,
              9,
              4,
              0,
              4,
              7,
              1,
              4,
              9,
              0,
              9,
              3,
              8,
              6,
              9,
              8,
              5,
              9,
              5,
              8,
              9,
              5,
              6,
              7,
              5,
              7,
              4,
          ]
      )
      _rng = check_random_state(model.seed)
  
      (
          V_actual,
          NN_actual,
          a1_actual,
          b1_actual,
          c1_actual,
          Z_actual,
          f1_actual,
          N_in_actual,
      ) = model._initialise_params(N, mu, Iin, _rng)
  
      V_expected = [2.7142554736925324, 3.6367957651001124]
      NN_expected = [3, 7]
      a1_expected = np.array([4.0, 8.0])
      b1_expected = np.array([3.71425547, 4.63679577])
      c1_expected = np.array([4.0, 8.0])
      Z_expected = np.array([1, 1, 0, 0, 1, 1, 1, 1, 1, 0])
      f1_expected = np.array([15.0, 17.0])
      N_in_expected = 14
  
      assert np.allclose(V_actual, V_expected)
      assert np.allclose(NN_actual, NN_expected)
      assert np.allclose(a1_actual, a1_expected)
      assert np.allclose(b1_actual, b1_expected)
      assert np.allclose(c1_actual, c1_expected)
      assert np.allclose(Z_actual, Z_expected)
      assert np.allclose(f1_actual, f1_expected)
      assert N_in_actual == N_in_expected
  
imports: import numpy
  from sklearn.utils.validation import check_random_state
  from sktime.transformations.series.hidalgo import Hidalgo
label_desc: Use image node_id 3 for calling a global function with example usage: test_initialise_params() without return types