code: def test_reber_classification_data(self):
      invalid_data_ratio = 0.5
      n_words = 100
  
      words, labels = make_reber_classification(
          n_words, invalid_size=invalid_data_ratio
      )
  
      self.assertEqual(n_words, len(labels))
      self.assertEqual(
          math.ceil(n_words * invalid_data_ratio), sum(labels)
      )
  
      for word, label in zip(words, labels):
          self.assertEqual(bool(label), is_valid_by_reber(word))
  
file_path: neupy/tests/datasets/test_reber.py
imports: import math
  import numpy
  from neupy.datasets.reber import avaliable_letters
  from neupy.datasets import make_reber, is_valid_by_reber, make_reber_classification
  from base import BaseTestCase
label_desc: Use image node_id 3 for calling the ReberTestCase obj's underlying member method code with example usage: obj.test_reber_classification_data() without return types