docstr: ...Test changing parameters of ModelHawkesSumExpKernLeastSq
          
docstr_tok: ["...","Test","changing","parameters","of","ModelHawkesSumExpKernLeastSq"]
code: def test_model_hawkes_sum_exp_kernel_least_sq_parameters_change(self):
      """...Test changing parameters of ModelHawkesSumExpKernLeastSq"""
      model = ModelHawkesSumExpKernLeastSq(
          self.decays, n_baselines=3, period_length=10.0
      )
      new_decays = model.decays + 1.0
      model.decays = new_decays
      np.testing.assert_array_equal(model.decays, new_decays)
  
      new_n_baselines = model.n_baselines + 1
      model.n_baselines = new_n_baselines
      np.testing.assert_array_equal(model.n_baselines, new_n_baselines)
  
      new_period_length = model.period_length + 1
      model.period_length = new_period_length
      np.testing.assert_array_equal(
          model.period_length, new_period_length
      )
  
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 3 for calling the Test obj's underlying member method code with example usage: obj.test_model_hawkes_sum_exp_kernel_least_sq_parameters_change() without return types