aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-09-03 16:41:17 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-09-03 16:41:17 -0500
commitbab6d665d98668f67686a3085d7de46204f67366 (patch)
treeecddf424a25319f4e60509f010284637fd3a3c00 /Makefile
parented930338f7936630705c665cad9dd6d562344efc (diff)
fix: write network parameter fixed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
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:
Feel free to download, copy and edit any repo