View Single Post
Old 05-08-2012, 01:49 AM
sakumar sakumar is offline
Join Date: Apr 2012
Posts: 40
Default Re: Evaluating a gradient function with vectors

I realized that the numerator term (y_n*x_n) is a size 3 x n matrix that doesn't change for a particular data-set. So I evaluate it before I start the logistic regression loop. Inside the loop, the denominator has to be evaluated because w is changing each time.
Reply With Quote