code: def test_bam_train_different_inputs(self):
      self.assertInvalidVectorTrain(
          algorithms.DiscreteBAM(),
          np.array([1, 0, 0, 1]),
          np.array([1, 0]),
          is_feature1d=False,
      )
  
file_path: neupy/tests/algorithms/memory/test_bam.py
imports: import pickle
  import numpy
  from neupy import algorithms
  from neupy.exceptions import NotTrained
  from algorithms.memory.data import zero, one, half_one, half_zero
  from base import BaseTestCase
  from helpers import vectors_for_testing
label_desc: Use image node_id 9 for calling the BAMTestCase obj's underlying member method code with example usage: obj.test_bam_train_different_inputs() without return types