code: def test_fit_other_params_univariate():
      """Test univariate data with alternative starting clusters."""
      X = pd.DataFrame([-7.207066, -5.722571, 5.889715, 5.488990])
  
      cluster_expected = [0, 0, 1, 1]
      fit_expected = [1182.754, 1772.526, -295.421]
  
      model = EAgglo(member=np.array([0, 0, 1, 2]), alpha=2)
      fitted_model = model._fit(X)
  
      cluster_actual = fitted_model.cluster_
      fit_actual = fitted_model.gof_
  
      assert np.allclose(cluster_actual, cluster_expected)
      assert np.allclose(fit_actual, fit_expected)
  
file_path: sktime/sktime/annotation/tests/test_eagglo.py
imports: import numpy
  import pandas
  from sktime.annotation.eagglo import EAgglo
label_desc: Use image node_id 2 for calling a global function with example usage: test_fit_other_params_univariate() without return types