Machine Learning Crash Course
In the course, in lecture<p>&quot;Reducing Loss: Gradient Descent&quot;<p>is<p>&quot;Convex problems have only one minimum; that is, only one place where the slope is exactly 0. That minimum is where the loss function converges.&quot;<p>The first sentence is flatly wrong:  E.g., for positive integer n and the set of real numbers R, function f: R^n --&gt; R where for all x in R^n f(x) = 0, f is convex, concave, and linear, and for all x in R^n x is a minimum and a maximum of f.<p>Can there be uncountably infinitely many alternative minima for the Google ML problems?  Yes, e.g., just enter one of the independent variables twice.<p>The second sentence is nonsense.<p>Grotesque, outrageous incompetence!!!!<p>It has long been known that minimizing a convex function, even a differentiable convex function, with just gradient descent can be just horribly inefficient.  A LOT is known about how to do much better than just gradient descent.  E.g., there is Newton iteration (right, that Newton, hundreds of years ago) and quasi-Newton.  And there&#x27;s more.<p>Why so inefficient?  Well, draw a picture like Google did except use just two independent variables instead of just the one in the Google picture.  Then see that the resulting, convex &quot;bowl&quot; can be like a long, narrow boat with a very gentle slope in one direction and a very steep slope in an orthogonal direction.  Yes the cross section of the bowl can be, first cut, an ellipse with one short axis and one long one.  Sure, the axes are eigenvectors, etc. and the ellipse is part of a local quadratic approximation.  Well, gradient descent keeps going back and forth nearly parallel to the short axis of the ellipse and making nearly no progress on the long axis.  People have known this and known good things to do about it for, uh, at least half a century.<p>For the Google ML problems, might (1) tweak Newton iteration to improve the rate of convergence to a minimum or (2) at each iteration don&#x27;t get a gradient descent but get a supporting hyperplane of the epigraph of the convex function, as the iterations proceed, accumulate these hyperplanes, notice that they lead to an approximation of the full epigraph, and use linear programming or some tweak of that to minimize the hyperplane approximation to the convex function -- there is much more that can be said here.  By the way, the convex function for that ML problem is quite special, e.g., quadratic.<p>A lot has long been known and well polished in regression and classification, e.g., with TeX markup:<p>N.\ R.\ Draper and
H.\ Smith,
{\it Applied Regression Analysis,\&#x2F;}
John Wiley and Sons,
New York,
1968.\ \<p>Leo Breiman,
Jerome H.\ Friedman,
Richard A.\ Olshen,
Charles J.\ Stone,
{\it Classification and Regression Trees,\&#x2F;}
ISBN 0-534-98054-6,
Wadsworth \&amp; Brooks&#x2F;Cole,
Pacific Grove, California,
1984.\ \<p>C.\ Radhakrishna Rao,
{\it Linear Statistical Inference and
Its Applications:\ \
Second Edition,\&#x2F;}
ISBN 0-471-70823-2,
John Wiley and Sons,
New York,
1967.\ \<p>A good start on convexity is<p>Wendell H.\ Fleming,
{\it Functions of Several Variables,\&#x2F;}
Addison-Wesley,
Reading, Massachusetts,
1965.\ \<p>Total, fun, dessert ice cream on convexity is Jensen&#x27;s inequality; right away can use it to prove a lot of classic inequalities.<p>Gee, look on the upside!!!!  From this sample, the claims of machine learning (ML) revolutionizing the economy are nonsense!!!!  And for startups, don&#x27;t much have to worry about serious competition from Google!!!!