code: def testDoubleTrain(self):
      sample = read_sample(SIMPLE_SAMPLES.SAMPLE_SIMPLE1)
  
      parameters = som_parameters()
      network = som(2, 2, type_conn.grid_eight, parameters, ccore=False)
  
      network.train(sample, 100, False)
      network.train(sample, 100, False)
  
      assert sum(network.awards) == len(sample)
  
      total_capture_points = 0
      for points in network.capture_objects:
          total_capture_points += len(points)
  
      assert total_capture_points == len(sample)
  
imports: import unittest
  import matplotlib
  from pyclustering.nnet.tests.som_templates import SomTestTemplates
  from pyclustering.nnet.som import som, type_conn, type_init, som_parameters
  from pyclustering.utils import read_sample
  from pyclustering.samples.definitions import SIMPLE_SAMPLES, FCPS_SAMPLES
label_desc: Use image node_id 24 for calling the SomUnitTest obj's underlying member method code with example usage: obj.testDoubleTrain() without return types