@vene, Adding the warning is a good idea but wouldn't that make too much a hassle to the user? He would be reading the warning every time the algorithm runs as `mini-batch` cannot be turned off and the algorithm is most likely `l-bfgs`. What do you think ?