From 75778c23de167946b8f567379da78c965aea9d87 Mon Sep 17 00:00:00 2001 From: Christian Hodgden Date: Fri, 9 Feb 2024 17:35:13 +0000 Subject: replaces space indents with tab indents --- test/unit_tests/activationFunctions.test.js | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'test/unit_tests/activationFunctions.test.js') diff --git a/test/unit_tests/activationFunctions.test.js b/test/unit_tests/activationFunctions.test.js index ed39405..4b68deb 100644 --- a/test/unit_tests/activationFunctions.test.js +++ b/test/unit_tests/activationFunctions.test.js @@ -3,21 +3,21 @@ const math = require('mathjs'); describe('Test Activation Function module', () => { - let result; - let testVector = [-2, -1, 0, 1, 2]; - testVector = math.matrix(testVector); - let testMatrix = math.matrix([testVector, testVector]); - - result = activationFunctionList['sigmoid'].gx(testVector); - result = activationFunctionList['sigmoid'].dg_dx(testVector); - - result = activationFunctionList['relu'].gx(testMatrix); - result = activationFunctionList['relu'].dg_dx(testMatrix); - - result = activationFunctionList['identity'].gx(testMatrix); - result = activationFunctionList['identity'].dg_dx(testMatrix); - - test.todo('Activation Function Tests'); + let result; + let testVector = [-2, -1, 0, 1, 2]; + testVector = math.matrix(testVector); + let testMatrix = math.matrix([testVector, testVector]); + + result = activationFunctionList['sigmoid'].gx(testVector); + result = activationFunctionList['sigmoid'].dg_dx(testVector); + + result = activationFunctionList['relu'].gx(testMatrix); + result = activationFunctionList['relu'].dg_dx(testMatrix); + + result = activationFunctionList['identity'].gx(testMatrix); + result = activationFunctionList['identity'].dg_dx(testMatrix); + + test.todo('Activation Function Tests'); }); -- cgit v1.2.3