def test_binaryclass_y_test_data(self, get_logistic_regression_data):
    (X, y) = get_logistic_regression_data
    y = np.random.choice(['hat', 'bowl'], size=y.shape[0])
    data_processor = DataProcessors.binaryclass
    data = data_processor().process_y_test_data(y)
    check_label_encoder(data['y_test']['data'], test=self._test)
def test_binaryclass_y_test_data(self, get_logistic_regression_data):
    (X, y) = get_logistic_regression_data
    y = np.random.choice(['hat', 'bowl'], size=y.shape[0])
    data_processor = DataProcessors.binaryclass
    data = data_processor().process_y_test_data(y)
    check_label_encoder(data['y_test']['data'], test=self._test)