I keep seeing posts which state that Numerai scores are based on the Spearman correlation coefficient. The comment in the example seems to agree with this. However, the same example and the documentation state that the correlation for scoring is calculated using:
which returns the Pearson’s correlation coefficient, according to numpy’s documentation.
Which is actually used by Numerai to evaluate correlation for scoring, Spearman’s or Pearson’s? Is ranking the predictions enough for np.corrcoeff() to return the Spearman correlation?
The second line in the code above does indeed calculate Pearson. However, the line above, which ranks the predictions, means that Spearman is in fact calculated. You can think of this: Spearman = Ranking + Pearson