code: def __init__(self, *args, dtype="float64", **kwargs):
      unittest.TestCase.__init__(self, *args, **kwargs)
      self.dtype = dtype
      self.decimal_places = 7
      self.delta_check_grad = 1e-5
      self.delta_model_grad = 2e-3
      if np.dtype(self.dtype) == np.dtype("float32"):
          self.decimal_places = 3
          self.delta_check_grad = 3e-2
          self.delta_model_grad = 2e-2
  
file_path: tick/tick/base_model/tests/generalized_linear_model.py
imports: import warnings
  import numpy
  from numpy.linalg import norm
  from scipy.optimize import check_grad, fmin_bfgs
  import unittest
label_desc: Use image node_id 1 to create a new TestGLM object from inherited base classes: unittest with example: obj = TestGLM()