aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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
Feel free to download, copy and edit any repo