diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-30 20:59:20 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-30 20:59:20 -0500 |
commit | ed930338f7936630705c665cad9dd6d562344efc (patch) | |
tree | 798051533e4bb52637dc9a7452e99b9903179af4 /Makefile | |
parent | 8daf85f463d159b2b69939233c18760d72b6f4ab (diff) |
add: network read and write done json_read reactored
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -22,10 +22,13 @@ build: $(OBJS) ${CC} ${DLIBS} -o ${BIN} ${OBJS} run: build - ./${BIN} train -a 1e-6 data/sample_data.json -e 150 + @./${BIN} train data/sample_data.json | tee data/train_history.txt + @./${BIN} predict data/sample_data.json | jq -r '.[] | [values[] as $$val | $$val] | @tsv' > ./data/net_data.tsv + @gnuplot -p utils/plot.gpi debug: build gdb -x utils/commands.gdb --tui --args ${BIN} train -a 230 data/sample_data.json -e 150 + gdb -x utils/commands.gdb --tui --args ${BIN} predict data/sample_data.json clean: @rm $(OBJS) $(OBJDIR) -rv |