Skip to content

Commit 849f282

Browse files
committed
Changes to Readme
1 parent a26a51b commit 849f282

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,10 @@ However, there is no reason to use a neural network to figure out XOR. (-: So, h
9999

100100
## More Examples
101101
You can check out this fantastic screencast, which explains how to train a simple neural network using a real world dataset: [How to create a neural network in the browser using Brain.js](https://scrimba.com/c/c36zkcb).
102-
* [writing a children's book using a recurrent neural neural network](./examples/childrens-book.js)
102+
* [writing a children's book using a recurrent neural network](./examples/childrens-book.js)
103103
* [simple letter detection](./examples/which-letter-simple.js)
104104

105105
# Usage
106-
107106
### Node
108107
If you have [node](http://nodejs.org/), you can install `brain.js` with [npm](http://npmjs.org):
109108

@@ -232,7 +231,7 @@ net.train(data, {
232231

233232
The network will stop training whenever one of the two criteria is met: the training error has gone below the threshold (default `0.005`), or the max number of iterations (default `20000`) has been reached.
234233

235-
By default training will not let you know how its doing until the end, but set `log` to `true` to get periodic updates on the current training error of the network. The training error should decrease every time. The updates will be printed to console. If you set `log` to a function, this function will be called with the updates instead of printing to the console.
234+
By default training will not let you know how it's doing until the end, but set `log` to `true` to get periodic updates on the current training error of the network. The training error should decrease every time. The updates will be printed to console. If you set `log` to a function, this function will be called with the updates instead of printing to the console.
236235

237236
The learning rate is a parameter that influences how quickly the network trains. It's a number from `0` to `1`. If the learning rate is close to `0`, it will take longer to train. If the learning rate is closer to `1`, it will train faster, but training results may be constrained to a local minimum and perform badly on new data.(_Overfitting_) The default learning rate is `0.3`.
238237

0 commit comments

Comments
 (0)