docstr: ...Test HawkesConditionalLaw estimates with different quadrature
  methods
docstr_tok: ["...","Test","HawkesConditionalLaw","estimates","with","different","quadrature","methods"]
code: def test_hawkes_quad_method(self):
      """...Test HawkesConditionalLaw estimates with different quadrature
      methods
      """
      model = HawkesConditionalLaw(n_quad=5, quad_method="gauss")
      model.fit(self.timestamps)
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[-0.81130911, -1.12992177], [-1.16313257, -1.72348019]],
      )
  
      model = HawkesConditionalLaw(n_quad=5, quad_method="gauss-")
      model.fit(self.timestamps)
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[-77.76904711, 0.69985519], [-42.87140913, 0.13607425]],
      )
  
      model = HawkesConditionalLaw(n_quad=5, quad_method="lin")
      model.fit(self.timestamps)
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[7.92561315, 1.74540188], [-28.57048537, 10.77926367]],
      )
  
      model = HawkesConditionalLaw(n_quad=5, quad_method="log")
      model.fit(self.timestamps)
      np.testing.assert_array_almost_equal(
          model.kernels_norms,
          [[35.70738975, 18.96902121], [-51.69638233, -30.33936597]],
      )
  
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 6 for calling the Test obj's underlying member method code with example usage: obj.test_hawkes_quad_method() without return types