MCPcopy
hub / github.com/BrainJS/brain.js / xorNet

Function xorNet

test/recurrent/rnn.js:85–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 });
84 describe('xor', () => {
85 function xorNet() {
86 const net = new RNN({
87 hiddenLayers: [20, 20],
88 inputSize: 3,
89 inputRange: 3,
90 outputSize: 3
91 });
92 net.initialize();
93 return net;
94 }
95
96 let xorNetValues = [
97 [0, 0, 0],

Callers 1

rnn.jsFile · 0.85

Calls 1

initializeMethod · 0.95

Tested by

no test coverage detected