docstr: ...Test HawkesExpKern setting of basic parameters
  of solver
docstr_tok: ["...","Test","HawkesExpKern","setting","of","basic","parameters","of","solver"]
code: def test_HawkesExpKern_solver_basic_settings(self):
      """...Test HawkesExpKern setting of basic parameters
      of solver
      """
      for solver in solvers:
          # tol
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              tol=self.float_1,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.tol, self.float_1)
          self.assertEqual(learner._solver_obj.tol, self.float_1)
          learner.tol = self.float_2
          self.assertEqual(learner.tol, self.float_2)
          self.assertEqual(learner._solver_obj.tol, self.float_2)
  
          # max_iter
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              max_iter=self.int_1,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.max_iter, self.int_1)
          self.assertEqual(learner._solver_obj.max_iter, self.int_1)
          learner.max_iter = self.int_2
          self.assertEqual(learner.max_iter, self.int_2)
          self.assertEqual(learner._solver_obj.max_iter, self.int_2)
  
          # verbose
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              verbose=True,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.verbose, True)
          self.assertEqual(learner._solver_obj.verbose, True)
          learner.verbose = False
          self.assertEqual(learner.verbose, False)
          self.assertEqual(learner._solver_obj.verbose, False)
  
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              verbose=False,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.verbose, False)
          self.assertEqual(learner._solver_obj.verbose, False)
          learner.verbose = True
          self.assertEqual(learner.verbose, True)
          self.assertEqual(learner._solver_obj.verbose, True)
  
          # print_every
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              print_every=self.int_1,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.print_every, self.int_1)
          self.assertEqual(learner._solver_obj.print_every, self.int_1)
          learner.print_every = self.int_2
          self.assertEqual(learner.print_every, self.int_2)
          self.assertEqual(learner._solver_obj.print_every, self.int_2)
  
          # record_every
          learner = HawkesExpKern(
              self.decays,
              solver=solver,
              record_every=self.int_1,
              **Test.specific_solver_kwargs(solver),
          )
          self.assertEqual(learner.record_every, self.int_1)
          self.assertEqual(learner._solver_obj.record_every, self.int_1)
          learner.record_every = self.int_2
          self.assertEqual(learner.record_every, self.int_2)
          self.assertEqual(learner._solver_obj.record_every, self.int_2)
  
imports: import unittest
  import numpy
  from tick.base.inference import InferenceTest
  from tick.hawkes import SimuHawkesExpKernels
  from tick.hawkes.inference import HawkesExpKern
  from tick.hawkes.model.model_hawkes_expkern_leastsq import ModelHawkesExpKernLeastSq
  from tick.hawkes.model.model_hawkes_expkern_loglik import ModelHawkesExpKernLogLik
  from tick.prox import ProxNuclear
  from tick.prox import ProxPositive, ProxL1, ProxL2Sq, ProxElasticNet
  from tick.solver import AGD, GD, BFGS, SGD, SVRG
label_desc: Use image node_id 12 for calling the Test obj's underlying member method code with example usage: obj.test_HawkesExpKern_solver_basic_settings() without return types