docstr: ...Test that multiple events list for ModelHawkesExpKernLeastSq
  are correctly handle with incremental_fit
docstr_tok: ["...","Test","that","multiple","events","list","for","ModelHawkesExpKernLeastSq","are","correctly","handle","with","incremental_fit"]
code: def test_model_hawkes_least_sq_incremental_fit(self):
      """...Test that multiple events list for ModelHawkesExpKernLeastSq
      are correctly handle with incremental_fit
      """
      model_incremental_fit = ModelHawkesSumExpKernLeastSq(
          decays=self.decays
      )
  
      for timestamps in self.timestamps_list:
          model_incremental_fit.incremental_fit(timestamps)
  
      self.assertEqual(
          model_incremental_fit.loss(self.coeffs),
          self.model_list.loss(self.coeffs),
      )
  
imports: import pickle
  import unittest
  import numpy
  from numpy.linalg import norm
  from scipy.optimize import check_grad, fmin_bfgs
  from tick.base.inference import InferenceTest
  from tick.hawkes.model import ModelHawkesSumExpKernLeastSq
  from tick.hawkes.model.tests.model_hawkes_test_utils import hawkes_sumexp_kernel_intensities, hawkes_sumexp_kernel_varying_intensities, hawkes_least_square_error
label_desc: Use image node_id 7 for calling the Test obj's underlying member method code with example usage: obj.test_model_hawkes_least_sq_incremental_fit() without return types