]> code.communitydata.science - ml_measurement_error_public.git/blobdiff - simulations/grid_sweep.py
update real data examples code and rerun project.
[ml_measurement_error_public.git] / simulations / grid_sweep.py
index 86312ea77c6cf572e142cdaf846738c74f3b529d..b4287299938bb4ecae82db12dc830bc1e340809c 100755 (executable)
@@ -2,8 +2,14 @@
 
 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'):
+    print(remember_file)
+    remember = pyRemembeR.remember.Remember()
+    remember.set_file(remember_file)
+    remember[outfile] = arg_dict
+    remember.save_to_r()
     keys = []
     values = []
         

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