This commit is contained in:
Michael Zhang 2023-10-01 22:55:05 -05:00
parent dab9a085ae
commit 5ff27d91f8
2 changed files with 17 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
*.asv
.vscode
*.pdf
*.pdf
*.zip

View file

@ -1,2 +1,15 @@
watch:
watchexec -e md -- pandoc HW1.md -o HW1.pdf
.PHONY: handin clean
handin: hw1_sol.pdf hw1_code.zip
clean:
rm -f hw1_sol.pdf hw1_code.zip
hw1_sol.pdf: HW1.md
pandoc $^ -o $@
hw1_code.zip: HW1_script.m MLE_Learning.m Bayes_Learning.m Bayes_Testing.m testing_data.txt training_data.txt validation_data.txt
zip hw1_code.zip -r $^
watch-pdf:
watchexec -e md -- make hw1_sol.pdf