import copy


def exact_to_2nd_order_model(model):
    """Convert model training on exact augmented objective to model training on
    2nd order approximation.
    """
    model_2nd = copy.deepcopy(model)
    model_2nd.approx = True
    model_2nd.feature_avg = True
    model_2nd.regularization = True
    return model_2nd