Stochastic gradient descent (often abbreviated SGD) is an iterative method for optimizing an custom objective function (a mathematical formulae for sensor nodes enerygy optimisation) with suitable smoothness properties.
SGD Algorithm is implemented from scratch for Linear Regression