docstr: ...Test that loss is still consistent after decays modification in
  ModelHawkesExpKernLogLik
docstr_tok: ["...","Test","that","loss","is","still","consistent","after","decays","modification","in","ModelHawkesExpKernLogLik"]
code: def test_model_hawkes_loglik_change_decays(self):
      """...Test that loss is still consistent after decays modification in
      ModelHawkesExpKernLogLik
      """
      decay = np.random.rand()
  
      self.assertNotEqual(decay, self.decay)
  
      model_change_decay = ModelHawkesExpKernLogLik(decay=decay)
      model_change_decay.fit(self.timestamps_list)
      loss_old_decay = model_change_decay.loss(self.coeffs)
  
      model_change_decay.decay = self.decay
  
      self.assertNotEqual(
          loss_old_decay, model_change_decay.loss(self.coeffs)
      )
  
      self.assertEqual(
          self.model_list.loss(self.coeffs),
          model_change_decay.loss(self.coeffs),
      )
  
file_path: tick/tick/hawkes/model/tests/model_hawkes_expkern_loglik_test.py
imports: import unittest
  import numpy
  from scipy.optimize import check_grad
  from tick.hawkes.model import ModelHawkesExpKernLogLik
  from tick.hawkes.model.tests.model_hawkes_test_utils import hawkes_log_likelihood, hawkes_exp_kernel_intensities
label_desc: Use image node_id 8 for calling the Test obj's underlying member method code with example usage: obj.test_model_hawkes_loglik_change_decays() without return types