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 dataset. 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.
