feat(chalice): fixed funnels

This commit is contained in:
Taha Yassine Kraiem 2023-02-28 13:10:09 +01:00
parent 557024bc80
commit f042f85d75
3 changed files with 3 additions and 3 deletions

View file

@ -258,7 +258,7 @@ def pearson_corr(x: list, y: list):
return None, None, False
if n == 2:
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0, True
xmean = sum(x) / len(x)
ymean = sum(y) / len(y)

View file

@ -264,7 +264,7 @@ def pearson_corr(x: list, y: list):
return None, None, False
if n == 2:
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0, True
xmean = sum(x) / len(x)
ymean = sum(y) / len(y)

View file

@ -264,7 +264,7 @@ def pearson_corr(x: list, y: list):
return None, None, False
if n == 2:
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0
return math.copysign(1, x[1] - x[0]) * math.copysign(1, y[1] - y[0]), 1.0, True
xmean = sum(x) / len(x)
ymean = sum(y) / len(y)