Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 authored and yuezhao@cs.toronto.edu committed May 25, 2018
1 parent 7d50dee commit 1511780
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyod/utils/stat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ def wpearsonr(x, y, w=None):
# https://stats.stackexchange.com/questions/221246/such-thing-as-a-weighted-correlation

# unweighted version
# note the return is different
# TODO: fix output differences
if w is None:
return pearsonr(x, y)

Expand Down

0 comments on commit 1511780

Please sign in to comment.