Skip to content

Commit 9a18c0e

Browse files
authored
Fix missing config paramter in Readme
Fixed #234
1 parent 2727591 commit 9a18c0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var config = {
5555
activation: 'sigmoid' // Supported activation types ['sigmoid', 'relu', 'leaky-relu', 'tanh']
5656
}
5757
//create a simple feed forward neural network with backpropagation
58-
var net = new brain.NeuralNetwork();
58+
var net = new brain.NeuralNetwork(config);
5959

6060
net.train([{input: [0, 0], output: [0]},
6161
{input: [0, 1], output: [1]},

0 commit comments

Comments
 (0)