mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-09 07:12:37 -05:00
[PR #179] [MERGED] For bias, amend dJ/dw to dJ/db #232
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/GokuMohandas/Made-With-ML/pull/179
Author: @andrewng88
Created: 7/3/2020
Status: ✅ Merged
Merged: 7/3/2020
Merged by: @GokuMohandas
Base:
master← Head:master📝 Commits (1)
420f5edFor bias, amend dJ/dw to dJ/db📊 Changes
2 files changed (+5906 additions, -2 deletions)
View changed files
📝
notebooks/07_Linear_Regression/07_PT_Linear_Regression.ipynb(+2577 -1)📝
notebooks/07_Linear_Regression/07_TF_Linear_Regression.ipynb(+3329 -1)📄 Description
Hi Goku, as discussed at Slack please see the revision. I helped to amend both PyTorch and TF notebooks. BTW, it's my first PR :)
Cheers.
Goku Mohandas 1 hour ago
Hey @Andrew N., you just caught a big bug! It’s supposed to say dJ/db for the second one. Common practice on papers seems to be to leave out the bias (b) to simplify the math but it’s assumed, so technically y_hat is WX + b. Hope that helps and feel free to submit a PR correcting this on jupyter if you’d like to we can give you proper credit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.