code: def test_fit_with_init(self, implementation, params="stl", n_iter=5):
      lengths = [10] * 10
      h = self.new_hmm(implementation)
      X, _state_sequence = h.sample(sum(lengths))
  
      # use init_function to initialize paramerters
      h = hmm.PoissonHMM(
          self.n_components, params=params, init_params=params
      )
      h._init(X, lengths)
  
      assert_log_likelihood_increasing(h, X, lengths, n_iter)
  
file_path: hmmlearn/lib/hmmlearn/tests/test_poisson_hmm.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pytest
  from sklearn.utils import check_random_state
  from hmmlearn import hmm
  from .None import assert_log_likelihood_increasing, normalized
label_desc: Use image node_id 6 for calling the TestPoissonHMM obj's underlying member method code with example usage: obj.test_fit_with_init(implementation, params, n_iter) without return types