From f0c77d7b6a653397e803f9aa25ef4545183c5c2e Mon Sep 17 00:00:00 2001 From: Tim O'Donnell <timodonnell@gmail.com> Date: Tue, 13 Mar 2018 14:59:08 -0400 Subject: [PATCH] fix --- mhcflurry/select_allele_specific_models_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mhcflurry/select_allele_specific_models_command.py b/mhcflurry/select_allele_specific_models_command.py index 73edcecf..2f35d92b 100644 --- a/mhcflurry/select_allele_specific_models_command.py +++ b/mhcflurry/select_allele_specific_models_command.py @@ -780,7 +780,7 @@ class MassSpecModelSelector(object): # We additionally compute AUC score. additional_metadata_out["score_mass_spec_AUC"] = roc_auc_score( self.df[allele].values, - (-1 * predictions).values) + -1 * predictions) return ppv * multiplier summary = "mass-spec (%d hits / %d decoys)" % (total_hits, total_decoys) -- GitLab