From bab6d665d98668f67686a3085d7de46204f67366 Mon Sep 17 00:00:00 2001 From: jvech Date: Sun, 3 Sep 2023 16:41:17 -0500 Subject: fix: write network parameter fixed --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7cbbd9c..457dc62 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,12 @@ build: $(OBJS) run: build @./${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 + @./${BIN} predict data/sample_data.json | jq -r '.[] | [values[] as $$val | $$val] | @tsv' > data/net_data.tsv + @jq -r '.[] | [values[] as $$val | $$val] | @tsv' data/sample_data.json > data/sample_data.tsv + @gnuplot 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} train data/sample_data.json gdb -x utils/commands.gdb --tui --args ${BIN} predict data/sample_data.json clean: -- cgit v1.2.3-70-g09d2