code: def test_adapt_params(self):
      stepsize, stepsize_bar, h_bar = self.hmc_sampler._adapt_params(
          0.0025, 1, 1, np.log(0.025), 2, 1
      )
      np.testing.assert_almost_equal(stepsize, 3.13439452e-13)
      np.testing.assert_almost_equal(stepsize_bar, 3.6742481e-08)
      np.testing.assert_almost_equal(h_bar, 0.8875)
  
imports: import sys
  import unittest
  import numpy
  from pgmpy.factors.distributions import GaussianDistribution
  from pgmpy.sampling import HamiltonianMC, HamiltonianMCDA, GradLogPDFGaussian, NoUTurnSampler, NoUTurnSamplerDA
label_desc: Use image node_id 5 for calling the TestHMCInference obj's underlying member method code with example usage: obj.test_adapt_params() without return types