summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 271f680..75e6e6d 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ CONFUSION_MATRICES = $(CONFUSION_MATRICES_DIR)/lazar-all.csv $(CONFUSION_MATRICE
CV_SUMMARY = 10-fold-crossvalidations/summary.yaml
PA_SUMMARY = pyrrolizidine-alkaloids/summary.yaml
+SUMMARY = summary.yaml
# PA predictions
@@ -39,10 +40,10 @@ PA_PREDICTIONS = $(PA_LAZAR_DIR)/pa-mp2d-predictions.csv $(PA_LAZAR_DIR)/pa-pade
TABLES = tables/lazar-summary.csv tables/r-summary.csv tables/tensorflow-summary.csv tables/pa-tab.tex tables/pa-summary.csv
FIGURES = figures/roc.png figures/tsne-mp2d.png figures/tsne-padel.png
-all: $(TABLES) $(FIGURES) $(CV_SUMMARY) mutagenicity.pdf
+all: $(TABLES) $(FIGURES) $(SUMMARY) mutagenicity.pdf
include $(PANDOC_SCHOLAR_PATH)/Makefile
-mutagenicity.mustache.md: $(CV_SUMMARY) mutagenicity.md $(TABLES) $(FIGURES)
+mutagenicity.mustache.md: $(SUMMARY) mutagenicity.md $(TABLES) $(FIGURES)
mustache $^ > $@
# figures
@@ -85,6 +86,9 @@ tables/r-summary.csv: $(CV_SUMMARY)
tables/tensorflow-summary.csv: $(CV_SUMMARY)
scripts/summary2table.rb tensorflow > $@
+$(SUMMARY): $(PA_SUMMARY) $(CV_SUMMARY)
+ scripts/summary.rb $^ > $@
+
# PA summary
$(PA_SUMMARY): tables/pa-table.csv