Skip to content

Commit

Permalink
fix bug in evaluation/_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yalinli2 committed Oct 16, 2020
1 parent bc0c3f5 commit 1dd140f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions biosteam/evaluation/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def spearman(self, parameters=(), metrics=()):
"""
from scipy.stats import spearmanr
if not parameters: parameters = self._parameters
table = self.table
parameter_indices = var_indices(parameters)
parameter_data = [table[i] for i in parameter_indices]
metric_indices = var_indices(metrics) if metrics else self._metric_indices
Expand Down

0 comments on commit 1dd140f

Please sign in to comment.