]> code.communitydata.science - ml_measurement_error_public.git/blobdiff - simulations/grid_sweep.py
Added, but didn't test the remaining robustness checks.
[ml_measurement_error_public.git] / simulations / grid_sweep.py
index 86312ea77c6cf572e142cdaf846738c74f3b529d..7db920d2099577b0d24ec2c20b4704a98d682a45 100755 (executable)
@@ -2,8 +2,13 @@
 
 import fire
 from itertools import product
 
 import fire
 from itertools import product
+import pyRemembeR
 
 
-def main(command, arg_dict, outfile):
+def main(command, arg_dict, outfile, remember_file='remember_grid_sweep.RDS'):
+    remember = pyRemembeR.remember.Remember()
+    remember.set_file(remember_file)
+    remember[outfile] = arg_dict
+    remember.save_to_r()
     keys = []
     values = []
         
     keys = []
     values = []
         

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