- Notifications
You must be signed in to change notification settings - Fork1.1k
Add custom loss functions and a R/W state matrix#936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
ashenmagic wants to merge32 commits intoBrainJS:masterChoose a base branch fromashenmagic:feature/loss-function
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes from1 commit
Commits
Show all changes
32 commits Select commitHold shift + click to select a range
ee5fc8d
Implement a loss function for GPU
ashenmagic6baf8c6
Add partial support for loss functions
ashenmagiceb909c9
Update loss.ts
ashenmagic1f2c681
OMG OMG OMG!!!!!! ZOOOOOMIESSS <3333
ashenmagicba12f82
Fixed the bug~! <3
ashenmagic7371a23
Generalize loss function for both CPU and GPU
ashenmagic2a7840a
Add memory function
ashenmagica762a48
Backup: Another thunderstorm, power outage risk
ashenmagic94fc99a
Revert "Backup: Another thunderstorm, power outage risk"
ashenmagicba03eb3
Add parameter `lossDelta`
ashenmagicaa337f3
Rename memory to RAM
ashenmagicc655c52
Add `updateRAM`
ashenmagicb45d581
Fix bug that required `ramSize` to be defined
ashenmagicb703e4a
Prune unused code
ashenmagicfda0349
Run `updateRAM` on both CPU and GPU nets
ashenmagic3d392f1
Design custom loss function for autoencoders
ashenmagicce98bf1
Fix CI task errors
ashenmagic51b9aa9
Fix a CI task related to type coersion
ashenmagicc5c8438
TypeScript hates me today
ashenmagice8384a5
Fix all lint errors
ashenmagica21c387
Remove unused `@ts-expect-error` directive
ashenmagic83574f6
Please, linter gods, pleaaaase stop hating me
ashenmagic52edc88
Properly initialize `NeuralNetwork.ram`
ashenmagic8f8f455
Finish updating autoencoder to use loss function
ashenmagic00b8515
Add a CPU variant of autoencoder
ashenmagice4e6906
Polish autoencoders and remove debug code
ashenmagic4d7b5ef
Remove debug code
ashenmagiccd0ad75
Export the CPU autoencoder implementation
ashenmagic693bd0b
Update tests and documentation
ashenmagica03161f
Merge branch 'main' into feature/loss-function
ashenmagic561dda3
Remove duplicate lines added during merge
ashenmagic42aece2
Resolve nested tests
ashenmagicFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Please, linter gods, pleaaaase stop hating me
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit83574f627586909b19bd96f9e69e3c9b1b0887bf
There are no files selected for viewing
7 changes: 6 additions & 1 deletionsrc/neural-network.ts
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
4 changes: 3 additions & 1 deletionsrc/utilities/to-svg.ts
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
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.