Skip to content

Commit

Permalink
code review documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
geokontop committed Dec 5, 2018
1 parent 05bddca commit fc099f4
Showing 1 changed file with 16 additions and 0 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.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

0 comments on commit fc099f4

Please sign in to comment.