avoid calls to scipy.stats.stats.spearmanr, replace by
algorithms.formula.spearmanr()