update.#1
Open
sanchittechnogeek wants to merge 294 commits into
Open
Conversation
xrange() is deprecated in Python 3.x. consider using range() instead.
In line 119: Before: because that it is how many neurons After: because that is how many neurons
inaccuracy regarding hierarchical softmax. This pull request fixes it by clarifying the use cases of hierarchical softmax.
Fix in NN2 lecture notes
Corrected the loss function of logistic regression. Added the missing negative sign and also a short comment on the loss function (i.e the loss function of logistic regression minimizes the negative-log likelihood)
Fixed bug in variance calculation at the second step. See https://en.wikipedia.org/wiki/Variance#Product_of_independent_variables. Co-authored-by: mli0603 <lizhaoshuo12345@126.com>
The linear classification notes linked to an interactive demo at:
http://vision.stanford.edu/teaching/cs231n/linear-classify-demo
which is now a dead URL. The demo was later moved to:
http://vision.stanford.edu/teaching/cs231n-demos/linear-classify/
This commit embeds the demo directly in the repository under:
assets/linear-classify-demo/
mirroring the existing pattern used by:
assets/conv-demo/
Demo source attribution / original URL:
http://vision.stanford.edu/teaching/cs231n-demos/linear-classify/
The now dead link was last updated in commit ed95fdf
This avoids issues with future broken external URLs as the demo is self-contained within the repo.
And by version controlling the demo, future contributions can be made to the demo itself.
The link in linear-classify.md is updated to a relative path so it remains valid regardless of hosting.
Changes to the original demo source have been kept minimal:
- MathJax CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
changed to https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js
(cdn.mathjax.org was shut down and no longer resolves)
- Google Fonts: http:// upgraded to https://
All other source code is unchanged from the original. e.g.
```
$ wget -qO- "http://vision.stanford.edu/teaching/cs231n-demos/linear-classify/" | diff - assets/linear-classify-demo/index.html
7c7
< src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
---
> src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
17c17
< <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
---
> <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
```
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
[linear-classify-demo]: Fix dead link and embed demo locally into repo.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating the repository! 4:00pm 4/6/2022 IST