import copy


def exact_to_2nd_order_no_1st_model(model):
    """Convert model training on exact augmented objective to model training on
    2nd order approximation without feature averaging (1st order approx).
    """
    model_2nd_no_1st = copy.deepcopy(model)
    model_2nd_no_1st.approx = True
    model_2nd_no_1st.feature_avg = False
    model_2nd_no_1st.regularization = True
    return model_2nd_no_1st