affine model and linear model work,
regularization folder moved to /loss