def METHOD_NAME(self):
    """
    Checks reconstruction accuracy above 70% for a set of categories, length 8, for up to 500 unique categories (actual around 468).
    """  # noqa
    log.setLevel(logging.DEBUG)
    torch.manual_seed(2)
    priming_data, test_data = self.create_test_data()
    enc = CategoricalAutoEncoder(stop_after=20)
    enc.desired_error = 3
    enc.prepare(pd.Series(priming_data), pd.Series(priming_data))
    encoded_data = enc.encode(test_data)
    decoded_data = enc.decode(encoded_data)
    encoder_accuracy = accuracy_score(list(map(str, test_data)), list(map(str, decoded_data)))
    print(f'Categorical encoder accuracy for: {encoder_accuracy} on testing dataset')
    self.assertTrue(encoder_accuracy > 0.70)