From 17b2cf8dc274f950865911185fc4c6a9ccf915d5 Mon Sep 17 00:00:00 2001 From: jvech Date: Sat, 21 Oct 2023 21:43:36 -0500 Subject: setup: man page improved Documentation: Example sections was improved Files sections was added Fixes: default config filepath was fixed --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 856e3b4..4df3d18 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,9 @@ uninstall: rm -v $(BINPREFIX)/${BIN} rm -v $(MANPREFIX)/man1/ml.1 +man: build + help2man -N ./ml -I doc/man.txt > doc/ml.1 + 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 @@ -42,8 +45,8 @@ run: build @gnuplot utils/plot.gpi debug: build - 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 + gdb -x utils/commands.gdb --tui --args ${BIN} train data/xor.json -e 100 + @#gdb -x utils/commands.gdb --tui --args ${BIN} predict data/sample_data.json clean: @rm $(OBJS) $(OBJDIR) -rv -- cgit v1.2.3-70-g09d2