hankcs / hankcs/CS224n

Assignment 1 q2_neural.py softmax gradient not explicitly calculated

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
689
Forks
266
PR merge metrics
No merged PRs in 30d

Description

In calculating gradients, the gradient of the softmax function is not calculated using the formula that is derived in the lecture notes. It seems like in the code, this step is skipped over, and the gradient of the cost function with respect to yhat is used only ('d3' variable). Am I missing something here?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.