哦, 相對論更加出名, 我唔係喺學術界都知
你有冇讀過呢?
既然有closed form solution 點解要用gradient descent 呢d numerical method?
我係話有closed form solution 做咩要用numerical method which include...
(呢個 post 並唔係教書,基礎相關教科書都有提 MLE)
I should mention that there are also numerical accuracy issues that can make the use of the closed form solution to the least squares problem unadvisable. However, this would require a discussion of ill-conditioning that seems likely to be beyond the current understanding of the original poster
computing a matrix inverse takes O(n^3 ) operations!