code: def test_kohonen_success(self):
      kh = algorithms.Kohonen(
          n_inputs=2,
          n_outputs=3,
          weight=np.array(
              [
                  [0.7071, 0.7071, -1.0000],
                  [-0.7071, 0.7071, 0.0000],
              ]
          ),
          step=0.5,
          verbose=False,
      )
  
      # test one iteration update
      data = np.reshape(X[0, :], (1, X.shape[1]))
      kh.train(data, epochs=1)
      np.testing.assert_array_almost_equal(
          kh.weight,
          np.array(
              [
                  [0.7071, 0.4516, -1.0000],
                  [-0.7071, 0.84385, 0.0000],
              ]
          ),
          decimal=4,
      )
  
file_path: neupy/tests/algorithms/associative/test_kohonen.py
imports: import numpy
  from neupy import algorithms
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the KohonenTestCase obj's underlying member method code with example usage: obj.test_kohonen_success() without return types