From 8daf85f463d159b2b69939233c18760d72b6f4ab Mon Sep 17 00:00:00 2001 From: jvech Date: Sun, 27 Aug 2023 20:43:23 -0500 Subject: 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 --- utils/settings.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'utils/settings.cfg') 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 -- cgit v1.2.3-70-g09d2