From 7300f3b643a6b2fcc66d4f77c5097d263dabc554 Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 16 Jul 2024 07:11:51 -0500 Subject: add: tests scripts implemented --- tests/architectures/big_nn.cfg | 20 ++++++++++++++++++++ tests/architectures/gauss1d.cfg | 16 ++++++++++++++++ tests/architectures/xor.cfg | 16 ++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 tests/architectures/big_nn.cfg create mode 100644 tests/architectures/gauss1d.cfg create mode 100644 tests/architectures/xor.cfg (limited to 'tests/architectures') diff --git a/tests/architectures/big_nn.cfg b/tests/architectures/big_nn.cfg new file mode 100644 index 0000000..a7b90a5 --- /dev/null +++ b/tests/architectures/big_nn.cfg @@ -0,0 +1,20 @@ +[net] +loss = square ; options (square) +epochs = 1000 ; comment +alpha = 1e-6 +weights_path = data/big_nn.bin +inputs = x,y +labels = z + +; activation options (relu, sigmoid, softplus, leaky_relu) + +[layer] +neurons=20 +activation=relu + +[layer] +neurons=20 +activation=relu + +[outlayer] +activation = sigmoid diff --git a/tests/architectures/gauss1d.cfg b/tests/architectures/gauss1d.cfg new file mode 100644 index 0000000..db1601d --- /dev/null +++ b/tests/architectures/gauss1d.cfg @@ -0,0 +1,16 @@ +[net] +loss = square ; options (square) +epochs = 1000 ; comment +alpha = 1e-2 +weights_path = data/gauss1d.bin +inputs = x +labels = y + +; activation options (relu, sigmoid, softplus, leaky_relu) + +[layer] +neurons=10 +activation=sigmoid + +[outlayer] +activation = sigmoid diff --git a/tests/architectures/xor.cfg b/tests/architectures/xor.cfg new file mode 100644 index 0000000..e0b06d4 --- /dev/null +++ b/tests/architectures/xor.cfg @@ -0,0 +1,16 @@ +[net] +loss = square ; options (square) +epochs = 1000 ; comment +alpha = 0.05 +weights_path = data/xor.bin +inputs = x,y +labels = z + +; activation options (relu, sigmoid, softplus, leaky_relu) + +[layer] +neurons=10 +activation=relu + +[outlayer] +activation = sigmoid -- cgit v1.2.3-70-g09d2