]> code.communitydata.science - ml_measurement_error_public.git/blobdiff - civil_comments/Makefile
real-data example on raw perspective scores
[ml_measurement_error_public.git] / civil_comments / Makefile
index 3c331c2acaf707982da153c7b6348d6e3d9e1cd6..ab05a350573e2cde9b1a3fbc0760389ab39b865b 100644 (file)
@@ -1,6 +1,14 @@
+qall: iv_perspective_example.RDS dv_perspective_example.RDS
+
 srun_1core=srun -A comdata -p compute-bigmem --mem=4G --time=12:00:00 -c 1 --pty /usr/bin/bash -l
+srun=srun -A comdata -p compute-bigmem --mem=4G --time=12:00:00 --pty /usr/bin/bash -l
+
 perspective_scores.csv: perspective_json_to_csv.sh perspective_results.json
        $(srun_1core) ./$^ $@
 
+iv_perspective_example.RDS: 02_iv_example.R perspective_scores.csv
+       $(srun) Rscript $<
 
+dv_perspective_example.RDS: 01_dv_example.R perspective_scores.csv
+        $(srun) Rscript $<
 

Community Data Science Collective || Want to submit a patch?