def do_logreg_submissions(do_confirmatory=True, do_heldout=True, do_screening=True): compute_submissions(prefix='logreg', dest_dir=MALARIA_LOGREGS_EXPERIMENT_ROOT, deployers=logreg_deployers, molids_provider=logreg_molids, y_provider=logreg_y, do_confirmatory=do_confirmatory, do_heldout=do_heldout, do_screening=do_screening)
def do_trees_submissions(do_confirmatory=True, do_heldout=True, do_screening=True): compute_submissions(prefix='trees', dest_dir=MALARIA_TREES_EXPERIMENT_ROOT, deployers=trees_deployers, molids_provider=trees_molids, y_provider=trees_y, do_confirmatory=do_confirmatory, do_heldout=do_heldout, do_screening=do_screening) info('Submissions computed!')
def submit(no_confirmatory=False, no_heldout=False, no_screening=False, with_bug=False, confirmatory_top=500, scr_top=1000): compute_submissions(prefix=malaria_logreg_file_prefix(with_bug=with_bug), dest_dir=MALARIA_LOGREGS_EXPERIMENT_ROOT, deployers=partial(logreg_deployers, with_bug=with_bug), molids_provider=logreg_molids, y_provider=logreg_y, do_confirmatory=not no_confirmatory, do_heldout=not no_heldout, do_screening=not no_screening, confirmatory_top=confirmatory_top, scr_top=scr_top)