Sparsifying Parametric Models with L0 Regularization