On 18 January 2014 20:51, Kevin K <richyoke...@gmail.com> wrote: > def foo(X, y, mylambda, N, D, epsilon): > ... > for j in xrange(D): > aj = 0 > cj = 0 > for i in xrange(N): > aj += 2 * (X[i,j] ** 2) > cj += 2 * (X[i,j] * (y[i] - w.transpose()*X[i].transpose() + > w[j]*X[i,j]))
Currently this just computes and throws away values... -- https://mail.python.org/mailman/listinfo/python-list