Weighted matrix factorization on the GPU with Theano and scikits.cuda