docstr: ...Test HawkesConditionalLaw estimates with different conditional
  law methods
docstr_tok: ["...","Test","HawkesConditionalLaw","estimates","with","different","conditional","law","methods"]
code: def test_hawkes_claw_method(self):
      """...Test HawkesConditionalLaw estimates with different conditional
      law methods
      """
      model = HawkesConditionalLaw(n_quad=5, claw_method="lin")
      model.incremental_fit(self.timestamps, compute=False)
      model.compute()
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[-0.81130911, -1.12992177], [-1.16313257, -1.72348019]],
      )
  
      model = HawkesConditionalLaw(n_quad=5, claw_method="log")
      model.incremental_fit(self.timestamps)
  
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[0.46108403, -0.09467477], [-0.04787463, -3.82917571]],
      )
  
file_path: tick/tick/hawkes/inference/tests/hawkes_conditional_law_test.py
imports: import os
  import unittest
  import numpy
  from numpy.random import random, randint
  from tick.base.inference import InferenceTest
  from tick.hawkes.inference import HawkesConditionalLaw
label_desc: Use image node_id 7 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_claw_method() without return types