Basically you have to calculate the partial derivative of the error function with respect to each dimension of w vector.

Then update each dimension of w using its partial derivative and the original w vector, and also the -eta.

This will help:

http://www.youtube.com/watch?v=U7HQ_...hannel&list=UL