code: def test_lvq_initialization_exceptions(self):
      with self.assertRaises(ValueError):
          # n_sublcasses < n_classes
          algorithms.LVQ(n_inputs=2, n_subclasses=2, n_classes=3)
  
      with self.assertRaises(ValueError):
          # sum(prototypes_per_class) != n_subclasses
          algorithms.LVQ(
              n_inputs=2,
              n_subclasses=10,
              n_classes=3,
              prototypes_per_class=[5, 3, 3],
          )
  
      with self.assertRaises(ValueError):
          # len(prototypes_per_class) != n_classes
          algorithms.LVQ(
              n_inputs=2,
              n_subclasses=10,
              n_classes=3,
              prototypes_per_class=[5, 5],
          )
  
imports: from functools import partial
  import numpy
  from sklearn import datasets
  from neupy import algorithms, init
  from neupy.exceptions import NotTrained
  from base import BaseTestCase
  from helpers import compare_networks
label_desc: Use image node_id 2 for calling the LVQTestCase obj's underlying member method code with example usage: obj.test_lvq_initialization_exceptions() without return types