def test_robust_scaler(): """Ensure that the TPOT robust scaler outputs the input dataframe when no. of training features is 0""" tpot_obj = TPOT() assert np.array_equal( tpot_obj._robust_scaler(training_testing_data.ix[:, -3:]), training_testing_data.ix[:, -3:])
def test_robust_scaler(): """Ensure that the TPOT robust scaler outputs the input dataframe when no. of training features is 0""" tpot_obj = TPOT() assert np.array_equal(tpot_obj._robust_scaler(training_testing_data.ix[:, -3:]), training_testing_data.ix[:, -3:])