To optimize the reg weight in L-BFGS we should use proper cross validation rather than validating on the test set