scrimba
Neural Networks in JavaScript
A Recurrent Neural Network That Learns Math
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

A Recurrent Neural Network That Learns Math
AboutCommentsNotes
A Recurrent Neural Network That Learns Math
Expand for more info
index.js
run
preview
console
const trainingData = [
'0+0=0',
'0+1=1',
'0+2=2',
'0+3=3',
'0+4=4',
'0+5=5',

'1+0=1',
'1+1=2',
'1+2=3',
'1+3=4',
'1+4=5',
'1+5=6',

'2+0=2',
'2+1=3',
'2+2=4',
'2+3=5',
'2+4=6',
'2+5=7',

'3+0=3',
'3+1=4',
'3+2=5',
'3+3=6',
'3+4=7',
'3+5=8',

'4+0=4',
'4+1=5',
'4+2=6',
'4+3=7',
'4+4=8',
'4+5=9',

'5+0=5',
'5+1=6',
'5+2=7',
'5+3=8',
'5+4=9',
'5+5=10',
];

Console
index.html
-6:09