The special ingredient to machine learning. We learned in the last post about Linear Regression. We concluded with a cost function that we needed to minimize. Today we will see how we minimize this cost function. To recap, the cost function was : Here, h𝚯(x) is the linear regression equation that we discussed earlier( y= …
Month: March 2023
A short guide on how to implement linear regression using libraries. Hola mates, long time no C. Yeah, I am just a python guy and I don’t like C/C++ too much simply because they aren’t that handy. A programming language is a tool that should be easy to use and should allow you to implement …
Let’s look at the hello world of machine learning algorithms. In this post, we will look at a very simple machine learning algorithm which is actually the “hello world” equivalent of programming languages. So what is linear regression? If you are from a statistics background chances are you already know what it means. In statistics, …