diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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: |