aboutsummaryrefslogtreecommitdiff
path: root/utils/settings.cfg
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-08-27 20:43:23 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-08-27 20:43:23 -0500
commit8daf85f463d159b2b69939233c18760d72b6f4ab (patch)
tree019641bf7eac5fbbad66d2116a2402f1b008f19f /utils/settings.cfg
parent624c04b33afff299121a5ded475070a2f0236cff (diff)
add: data and network initialization done
train subcommand can read and train the network TODO: - Refactor json_read() to parse multiple labels - Implement a function to save network weights once the network have trained - Implement a function to load trained weights to use with predict subcommand
Diffstat (limited to 'utils/settings.cfg')
-rw-r--r--utils/settings.cfg6
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/settings.cfg b/utils/settings.cfg
index 806f895..00bf040 100644
--- a/utils/settings.cfg
+++ b/utils/settings.cfg
@@ -2,7 +2,7 @@
loss = square ; options (square)
epochs = 40 ; comment
alpha = 1e-4
-weights_path = ~/.config/ml/weights.bin
+weights_path = utils/weights.bin
inputs = x, y
labels = z
@@ -12,5 +12,9 @@ labels = z
neurons=3
activation=relu
+[layer]
+neurons=4
+activation=relu
+
[outlayer]
activation = sigmoid
Feel free to download, copy and edit any repo