Issue 925: Fix broken example links #24
Merged
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.
Some of the example links are broken on https://brain.js.org/#/examples, so I'm making this pull request in response to BrainJS/brain.js#925
a chore update BrainJS/brain.js@812b27d broke all the following links which I updated on the 'store':
Using node streams
github.com/BrainJS/brain.js/blob/master/examples/javascript/stream-example.js
updated to -> github.com/BrainJS/brain.js-examples/blob/main/src/stream-example.ts
Forecasting
github.com/BrainJS/brain.js/blob/master/examples/javascript/predict-numbers.js
updated to -> github.com/BrainJS/brain.js-examples/blob/main/src/predict-numbers.ts
Maths
github.com/BrainJS/brain.js/blob/master/examples/javascript/learn-math.js
updated to -> github.com/BrainJS/brain.js-examples/blob/main/src/learn-math.ts
Cross Validate
github.com/BrainJS/brain.js/blob/master/examples/javascript/cross-validate.js
updated to -> github.com/BrainJS/brain.js-examples/blob/main/src/cross-validate.ts
GPU powered AI
github.com/BrainJS/brain.js/blob/master/examples/javascript/gpu.html
updated to -> github.com/BrainJS/brain.js-examples/blob/main/src/feed-forward-gpu-xor.ts
Also For some reason "using node streams" was repeated twice (there were two duplicate links side-by-side on site) so i removed that duplicate
Unfortunately I only can update to the typescript examples because the js examples were never coppied when that chore was completed. Maybe we add the js links back in a future update we can then have the links just point to both the .ts and .js versions. At least the examples wont be broken for now