diff options
Diffstat (limited to 'test/unit_tests/nnetwork.test.js')
-rw-r--r-- | test/unit_tests/nnetwork.test.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/unit_tests/nnetwork.test.js b/test/unit_tests/nnetwork.test.js index d7d9348..d09a0d7 100644 --- a/test/unit_tests/nnetwork.test.js +++ b/test/unit_tests/nnetwork.test.js @@ -4,23 +4,23 @@ const math = require('mathjs'); describe('Test NNetwork module', () => { - // let testConv = new BinaryConverter(2); - // let nodeCounts = [testConv._inputDigits, 3, testConv._outputDigits]; - // let afns = ['identity', 'relu', 'identity']; - - // let testNNetwork = new NNetwork(nodeCounts, afns, 0.1); - - // testConv.randomInput(); - // testNNetwork.forwardPropogation(testConv.inputActivation); - // testNNetwork.backPropogation(testConv.inputActivation, testConv.outputActivation); - - // testConv.randomInput(); - // testNNetwork.forwardPropogation(testConv.inputActivation); - // testNNetwork.backPropogation(testConv.inputActivation, testConv.outputActivation); - - // testNNetwork.gradientDescent(); + // let testConv = new BinaryConverter(2); + // let nodeCounts = [testConv._inputDigits, 3, testConv._outputDigits]; + // let afns = ['identity', 'relu', 'identity']; + + // let testNNetwork = new NNetwork(nodeCounts, afns, 0.1); + + // testConv.randomInput(); + // testNNetwork.forwardPropogation(testConv.inputActivation); + // testNNetwork.backPropogation(testConv.inputActivation, testConv.outputActivation); + + // testConv.randomInput(); + // testNNetwork.forwardPropogation(testConv.inputActivation); + // testNNetwork.backPropogation(testConv.inputActivation, testConv.outputActivation); + + // testNNetwork.gradientDescent(); - test.todo('NNetwork Tests'); + test.todo('NNetwork Tests'); }); |