default is mean absolute error (MAE), but can select mean square error (MSE)