File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,10 @@ def calculateFitStat(
529
529
GINI = (2 * auc ) - 1
530
530
fitStats ["_GINI_" ] = GINI
531
531
532
- from scipy .stats import gamma # Holdover until fitstat generation via SWAT is sussed out
532
+ from scipy .stats import (
533
+ gamma ,
534
+ ) # Holdover until fitstat generation via SWAT is sussed out
535
+
533
536
_ , _ , scale = gamma .fit (dataSets [j ][1 ])
534
537
fitStats ["_GAMMA_" ] = 1 / scale
535
538
@@ -552,7 +555,9 @@ def calculateFitStat(
552
555
DIV = len (dataSets [j ][0 ])
553
556
fitStats ["_DIV_" ] = DIV
554
557
555
- TAU = pd .Series (dataSets [j ][0 ]).corr (pd .Series (dataSets [j ][1 ]), method = "kendall" )
558
+ TAU = pd .Series (dataSets [j ][0 ]).corr (
559
+ pd .Series (dataSets [j ][1 ]), method = "kendall"
560
+ )
556
561
fitStats ["_TAU_" ] = TAU
557
562
558
563
KSCut = None
You can’t perform that action at this time.
0 commit comments