code: def test_init_with_kwargs(self):
      window_size = 5
      kappa = 0.95
      num_classes = 5
  
      stopping_criterion = KappaAverage(
          num_classes, kappa=kappa, window_size=window_size
      )
  
      self.assertEqual([], stopping_criterion.kappa_history)
      self.assertEqual(window_size, stopping_criterion.window_size)
      self.assertEqual(kappa, stopping_criterion.kappa)
      self.assertEqual(num_classes, stopping_criterion.num_classes)
  
imports: import unittest
  import numpy
  from numpy.testing import assert_array_equal
  from small_text.stopping_criteria.kappa import KappaAverage, _adapted_cohen_kappa_score
label_desc: Use image node_id 2 for calling the KappaAverageTest obj's underlying member method code with example usage: obj.test_init_with_kwargs() without return types