FIX don't normalize loss, use batch mode and line search.