chore: upgrade backend dependencies (#2641)

chore: upgrade backend dependencies (#2641)
This commit is contained in:
atarashansky
2023-11-29 14:16:39 -08:00
committed by GitHub
parent 4bb9a2b834
commit 6505f6cbf5
36 changed files with 161 additions and 315 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def diffexp_ttest_from_mean_var(meanA, varA, nA, meanB, varB, nB, top_n, diffexp
# degrees of freedom for Welch's t-test
with np.errstate(divide="ignore", invalid="ignore"):
dof = sum_vn ** 2 / (vnA ** 2 / (nA - 1) + vnB ** 2 / (nB - 1))
dof = sum_vn**2 / (vnA**2 / (nA - 1) + vnB**2 / (nB - 1))
dof[np.isnan(dof)] = 1
# Welch's t-test score calculation