is_learn is always true here (line 495 checks it)
vm["loss_function"] is always defined, and its default is "squared" (line 563).
Moreover, value "squaredloss" does not correspond to any current implementation.
using v_array.size() makes code more readable
v_array has overloaded [], so the code can be shorter
shorter
Model movielens.reg should be inside models/ so it is ignored by .gitignore
Merge pull request #455 from martinpopel/cleanercode

Cleaner code