[ML 2] 🧩Custom Linear Regression Class from scratch 💻
🌟How to build a gradient-descent-based linear regression model? 🤖
💫 Define a prediction function using the weights.
💫 Update the weights through gradient descent.
💫 Compute the model costs J(w).
💫 Train the model over 100 iterations.
💫 Re...
haochengcodedev.hashnode.dev2 min read