From bc8ca47c2c523a4c81fc00f27f699a0050fddab6 Mon Sep 17 00:00:00 2001 From: hladu357 Date: Thu, 20 Jun 2024 22:43:58 +0200 Subject: [PATCH] tests --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 14d1577..8397089 100644 --- a/main.cpp +++ b/main.cpp @@ -141,7 +141,7 @@ float sigmoidDerivative(float x) { int main() { NeuralNetwork nn; nn.addLayer(2, 2, sigmoid, sigmoidDerivative); - nn.addLayer(1, 1, sigmoid, sigmoidDerivative); + nn.addLayer(1, 2, sigmoid, sigmoidDerivative); std::vector> ref = { {0, 0},