I’m sorry but this is horribly wrong on the two things I’ve tried reading. This article is Grandma level WRONG on both gradient descent and linear regression. Stop coding, go read a book.
It is the problem with all the boot camps, they are producing artisans, possibly skilled, but by no streeeeetch of the imagination are they anywhere near being scientists, let alone thinkers.