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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7be8d60..e56ada6 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,10 @@ build: $(OBJS) ${CC} ${DLIBS} -o ${BIN} ${OBJS} run: build - ./${BIN} train -a 230 test.json -e 150 + ./${BIN} train -a 1e-6 data/sample_data.json -e 150 debug: build - gdb -x utils/commands.gdb --tui --args ${BIN} train -a 230 test.json -e 150 + gdb -x utils/commands.gdb --tui --args ${BIN} train -a 230 data/sample_data.json -e 150 clean: @rm $(OBJS) $(OBJDIR) -rv -- cgit v1.2.3-70-g09d2