Skip to content

Commit

Permalink
Minor edits #349 #350
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezazolanvari committed Feb 7, 2023
1 parent 8d65b1c commit d8a1eed
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pycm/pycm_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ class DistanceType(Enum):
GoodmanKruskalLambda = "GoodmanKruskalLambda"
GoodmanKruskalLambdaR = "GoodmanKruskalLambdaR"
GoodmanKruskalTauA = "GoodmanKruskalTauA"
GoodmanKruskalTauB = "GoodmanKruskalTauB"
GuttmanLambdaA = "GuttmanLambdaA"
GuttmanLambdaB = "GuttmanLambdaB"
Hamann = "Hamann"
HarrisLahey = "HarrisLahey"


def AMPLE_calc(TP, FP, FN, TN):
Expand Down Expand Up @@ -1312,6 +1317,11 @@ def HarrisLahey_calc(TP, FP, FN, TN):
DistanceType.Goodall: Goodall_calc,
DistanceType.GoodmanKruskalLambda: GoodmanKruskalLambda_calc,
DistanceType.GoodmanKruskalLambdaR: GoodmanKruskalLambdaR_calc,
DistanceType.GoodmanKruskalTauA: GoodmanKruskalTauA_calc
DistanceType.GoodmanKruskalTauA: GoodmanKruskalTauA_calc,
DistanceType.GoodmanKruskalTauB: GoodmanKruskalTauB_calc,
DistanceType.GuttmanLambdaA: GuttmanLambdaA_calc,
DistanceType.GuttmanLambdaB: GuttmanLambdaB_calc,
DistanceType.Hamann: Hamann_calc,
DistanceType.HarrisLahey: HarrisLahey_calc
}

0 comments on commit d8a1eed

Please sign in to comment.