From 5aa9313776aff822ce71ee8b42c5dc8f4f3900ba Mon Sep 17 00:00:00 2001 From: lluni Date: Sun, 22 May 2022 01:11:38 +0200 Subject: [PATCH] Added support for different activation and loss functions --- .idea/gradle.xml | 1 + .idea/workspace.xml | 44 +++++++++++++++++++++++--- src/main/java/ActivationFunctions.java | 39 +++++++++++++++++++++++ src/main/java/ActivationLayer.java | 26 +++------------ src/main/java/ExampleXOR.java | 9 +++--- src/main/java/LossFunctions.java | 17 ++++++++++ src/main/java/Network.java | 44 +++++++++----------------- 7 files changed, 119 insertions(+), 61 deletions(-) create mode 100644 src/main/java/ActivationFunctions.java create mode 100644 src/main/java/LossFunctions.java diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ba1ec5c..611e7c8 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ + - + + + + - - + + + + + + + + + + + + +