You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MetricsReloaded/metrics/pairwise_measures.py
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -429,6 +429,8 @@ def youden_index(self):
429
429
430
430
YI = Specificity + Sensitivity - 1
431
431
432
+
Youden, W.J, Index for rating diagnostic tests - 1950 Cancer 3 - 32,35
433
+
432
434
:return: Youden index
433
435
"""
434
436
returnself.specificity() +self.sensitivity() -1
@@ -441,6 +443,8 @@ def sensitivity(self):
441
443
442
444
Sens = \dfrac{TP}{\sharp Ref}
443
445
446
+
Yerushalmy J., Statistical Problems in assessing Methods of Medical Diagnosis with Special reference to X-Ray Techniques, 1947, Public Health Reports, pp1432-1449
447
+
444
448
This measure is not defined for empty reference. Will raise a warning and return a nan value
445
449
446
450
:return: sensitivity
@@ -458,6 +462,8 @@ def specificity(self):
458
462
459
463
Spec = \dfrac{TN}{\sharp {1-Ref}}
460
464
465
+
Yerushalmy J., Statistical Problems in assessing Methods of Medical Diagnosis with Special reference to X-Ray Techniques, 1947, Public Health Reports, pp1432-1449
466
+
461
467
This measure is not defined when there is no reference negative. This will
Burke D, Brundage J, Redfield R., Measurement of the False positive rate in a screening Program for Human Immunodeficiency Virus Infections - 1988 - The New England Journal of Medicine 319 (15) 961-964
Calculates and returns the MCC for the binary case
544
552
553
+
Matthews, B.W. Comparison of the predicted and observed secondary structure of T4 phage lysozyme. Biochimica et Biophysica Acta - Protein Structure - 1975 405 442-451
This function calculates the negative predictive value ratio between
756
770
the number of true negatives and the total number of negative elements
757
771
772
+
Fletcher, R.H and Fletcher S.W (2005) - Clinical Epidemiology, the essentials p45
773
+
758
774
:return: NPV
759
775
"""
760
776
ifself.tn() +self.fn() ==0:
@@ -791,6 +807,10 @@ def fppi(self):
791
807
"""
792
808
This function returns the average number of false positives per
793
809
image, assuming that the cases are collated on the last axis of the array
810
+
811
+
Bram Van Ginneken, Samuel G Armato III, Bartjan de Hoop, Saskia van Amelsvoort-van de Vorst, Thomas Duindam, Meindert Niemeijer, Keelin Murphy, Arnold Schilham, Alessandra Retico, Maria Evelina Fantacci, et al. Comparing and combining algorithms for computer-aided detection of pulmonary nodules in computed tomography scans: the anode09 study. Medical image analysis, 14(6):707–722, 2010.
812
+
Andriy I Bandos, Howard E Rockette, Tao Song, and David Gur. Area under the free-response roc curve (froc) and a related summary index. Biometrics, 65(1):247–256, 2009.
This function calculates the ratio of the intersection of prediction and
803
823
reference over reference.
804
824
825
+
Pavel Matula, Martin Maška, Dmitry V Sorokin, Petr Matula, Carlos Ortiz-de Solórzano, and Michal Kozubek. Cell tracking accuracy measurement based on comparison of acyclic oriented graphs. PloS one, 10(12):e0144959, 2015.
Heimann, T., et al. (2009), Comparison and evaluation of methods for liver segmentation from CT datasets. IEEE Trans Med Imaging. 28(8): p. 1251-65.
1129
+
Varduhi Yeghiazaryan and Irina Voiculescu. An overview of current evaluation methods used in medical image segmentation. Department of Computer Science, University of Oxford, 2015.
0 commit comments