Yeah, I was trying to discuss with you. Sorry I forgot. Look at Eq.(2) in this paper: http://users.cecs.anu.edu.au/~chteo/pub/TeoLeSmoVis07.pdf
The risk should be normalized, I just make it comparable to other solvers. However, it seems no problem without the normalization.