---
title: "Marcel Bischoff (@marcelbischoff) | Hashnode"
description: "Marcel Bischoff (@marcelbischoff) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@marcelbischoff"
---

@marcelbischoff

# Marcel Bischoff

@marcelbischoff · Joined February 2021

## Comments

[Yes, gradient descent is way more important for machine learning, and also if you have a lot of parameters the matrices get too big to efficiently invert them and you are better of with gradient descent. When I started looking into ML I was very confused that linear regression is even considered machine learning. But you can explain a lot of important things with it like gradient descent, supervised learning over/underfitting etc.](https://hashnode.com/posts/an-intuitive-overview-of-gradient-descent/602c32ff4bb9c4083f027eb8/comment/60300aedf51caf44485613cc#reply-6032d16172a689446db3f326)

Reply · Article · Feb 21, 2021 · [An intuitive overview of Gradient Descent](https://hashnode.com/posts/an-intuitive-overview-of-gradient-descent/602c32ff4bb9c4083f027eb8)

[Quick thing: for linear regression you actually don't need gradient descent and you can solve it directly using linear algebra (it's called the Normal Equation in Machine Learning). Here is a sample code I posted on twitter recently: import numpy as np number\_of\_flats = (1, 2, 3, 4, 5, 6, 7) price\_of\_house = (10000, 20000, 30000, 40000, 50000, 60000, 70000) A = np.vstack(\[np.ones(len(number\_of\_flats)), number\_of\_flats\]).transpose() b, a = np.linalg.pinv(A.transpose().dot(A)).dot(A.transpose()).dot(price\_of\_house) model = lambda x: a\*x+b print(model(10))](https://hashnode.com/posts/an-intuitive-overview-of-gradient-descent/602c32ff4bb9c4083f027eb8/comment/60300aedf51caf44485613cc)

Comment · Article · Feb 19, 2021 · [An intuitive overview of Gradient Descent](https://hashnode.com/posts/an-intuitive-overview-of-gradient-descent/602c32ff4bb9c4083f027eb8)
