def run(self): make_dirs('output/summary/') call([ 'python3', 'qanta/reporting/performance.py', 'generate', c.PRED_TARGET.format(self.fold), c.META_TARGET.format(self.fold), 'output/summary/{0}.json'.format(self.fold) ])
def run(self): make_dirs('output/models/') call([ 'vw', '-d', c.VW_INPUT.format('dev'), '-b', '30', '--loss_function', 'logistic', '-f', c.VW_MODEL ])
def run(self): make_dirs("output/summary/") call([ "python3", "qanta/reporting/performance.py", "generate", c.PRED_TARGET.format(self.fold), c.META_TARGET.format(self.fold), "output/summary/{0}.json".format(self.fold), ])
def run(self): make_dirs('output/predictions/') call([ 'vw', '-t', '--loss_function', 'logistic', '-d', c.VW_INPUT.format(self.fold), '-i', c.VW_MODEL, '-p', c.VW_PREDICTIONS.format(self.fold) ])
def run(self): call([ 'vw', '-t', '--loss_function', 'logistic', '-d', c.VW_INPUT.format('dev'), '-i', c.VW_MODEL, '--audit_regressor', c.VW_AUDIT_REGRESSOR ]) df = parse_audit(c.VW_AUDIT_REGRESSOR) audit_report(df, c.VW_AUDIT_REGRESSOR_REPORT)
def run(self): call([ 'vw', '-i', c.DOMAIN_MODEL_FORMAT.format(self.model_num), '-t', '-k', '--loss_function', 'logistic', '-d', c.DOMAIN_TARGET_PREFIX + str(self.data_num), '-f', c.DOMAIN_MODEL_FORMAT.format(self.model_num), '-p', c.DOMAIN_PREDICTIONS_PREFIX + str(self.data_num), ])
def run(self): call([ 'vw', '-d', c.DOMAIN_TARGET_PREFIX + str(self.group_num), '-k', '-q', 'tt', '-b', '28', '--loss_function', 'logistic', '-f', c.DOMAIN_MODEL_FORMAT.format(self.group_num) ])
def run(self): call(['bash', 'bin/vw_merge.sh', self.fold])