Matlab, Gradient Descent, Linear Regression, Octave, Machine Learning.
accomplished with some simple matrix arithmetic. Note the formulae in comments in line 2. This function normalises all our features (independent variables) to somewhere between -1 and 0. We also return a vector of the max’s and mins for each feature for later. function [x, maxs, mins] =