Skip to content

Commit

Permalink
Merge branch 'master' into 315-fix-json-activation
Browse files Browse the repository at this point in the history
  • Loading branch information
robertleeplummerjr committed Dec 17, 2018
2 parents 71e19af + e68a370 commit 94f0098
Show file tree
Hide file tree
Showing 63 changed files with 24,431 additions and 16,785 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
+ [Transform](#transform)
- [Utilities](#utilities)
+ [`likely`](#likely)
+ [`toSVG`](#toSVG)
- [Neural Network Types](#neural-network-types)
+ [Why different Neural Network Types?](#why-different-neural-network-types)

Expand Down Expand Up @@ -502,6 +503,21 @@ const key = likely(input, net);

Likely example see: [simple letter detection](./examples/which-letter-simple.js)

### `toSVG`

```js
<script src="../../src/utilities/svg.min.js"></script>
```
Renders the network topology of a feedforward network
```js
document.getElementById('result').innerHTML = brain.utilities.toSVG{network,options)
```
toSVG example see: [network rendering](./examples/rendering-svg.html)
The user interface used:
![screenshot1](https://user-images.githubusercontent.com/43925925/48969024-e526ed80-f000-11e8-85bd-e10967cfaee2.png)
# Neural Network Types
* [`brain.NeuralNetwork`](src/neural-network.js) - [Feedforward Neural Network](https://en.wikipedia.org/wiki/Feedforward_neural_network) with backpropagation
* [`brain.NeuralNetworkGPU`](src/neural-network-gpu.js) - [Feedforward Neural Network](https://en.wikipedia.org/wiki/Feedforward_neural_network) with backpropagation, GPU version
Expand Down
33,338 changes: 16,708 additions & 16,630 deletions browser.js

Large diffs are not rendered by default.

213 changes: 111 additions & 102 deletions browser.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cross-validate.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/likely.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/lookup.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/neural-network-gpu.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/neural-network.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/recurrent/gru-time-step.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/recurrent/gru.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 94f0098

Please sign in to comment.