Matlab, Gradient Descent, Linear Regression, Octave, Machine Learning.
(x’s) that we want to predict. Normalise the prediction using the mass/mins from earlier. Perform our hypothesis: hø = ø0 + ø1*x1 + ø2*x2 + ø3*x3. (We add a “1” column so simple matrix multiplication will do above equation) % plot costs plot(costs, 1:repeat); % predict a value p = [6;6;6]; %