Skip to content

Commit

Permalink
added patch number
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislit committed Nov 20, 2018
1 parent e3ce558 commit 7e382b0
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions abydos/stats/_confusion_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __str__(self):
def __repr__(self):
"""Return representation.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Returns
-------
Expand Down Expand Up @@ -578,7 +578,7 @@ def specificity(self):
def fnr(self):
r"""Return false negative rate.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
False negative rate is defined as
:math:`\frac{fn}{tp + fn}
Expand Down Expand Up @@ -629,7 +629,7 @@ def npv(self):
def false_omission_rate(self):
r"""Return false omission rate (FOR).
.. versionadded:: 0.4
.. versionadded:: 0.4.0
FOR is defined as :math:`\frac{fn}{tn + fn}`
Expand Down Expand Up @@ -677,7 +677,7 @@ def fallout(self):
def pos_likelihood_ratio(self):
r"""Return positive likelihood ratio.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Positive likelihood ratio is defined as
:math:`\frac{recall}{1-specificity}`
Expand All @@ -702,7 +702,7 @@ def pos_likelihood_ratio(self):
def neg_likelihood_ratio(self):
r"""Return negative likelihood ratio.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Negative likelihood ratio is defined as
:math:`\frac{1-recall}{specificity}`
Expand All @@ -727,7 +727,7 @@ def neg_likelihood_ratio(self):
def diagnostic_odds_ratio(self):
r"""Return diagnostic odds ratio.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Diagnostic odds ratio is defined as
:math:`\frac{TP \cdot TN}{FP \cdot FN}`
Expand Down Expand Up @@ -849,7 +849,7 @@ def balanced_accuracy(self):
def error_rate(self):
r"""Return error rate.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Error rate is defined as
:math:`\frac{fp + fn}{population}
Expand All @@ -876,7 +876,7 @@ def error_rate(self):
def prevalence(self):
r"""Return prevalence.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Prevalence is defined as
:math:`\frac{condition positive}{population}`
Expand Down Expand Up @@ -1655,7 +1655,7 @@ def kappa_statistic(self):
def phi_coefficient(self):
r"""Return φ coefficient.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
The :math:`\phi` coefficient is defined as
:math:`\phi = \frac{tp \cdot tn - fp \cdot tn}
Expand Down Expand Up @@ -1686,7 +1686,7 @@ def phi_coefficient(self):
def joint_entropy(self):
"""Return the joint entropy.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand Down Expand Up @@ -1714,7 +1714,7 @@ def joint_entropy(self):
def actual_entropy(self):
"""Return the actual entropy.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand Down Expand Up @@ -1745,7 +1745,7 @@ def actual_entropy(self):
def predicted_entropy(self):
"""Return the predicted entropy.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand Down Expand Up @@ -1776,7 +1776,7 @@ def predicted_entropy(self):
def mutual_information(self):
"""Return the mutual information.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand Down Expand Up @@ -1827,7 +1827,7 @@ def mutual_information(self):
def proficiency(self):
"""Return the proficiency.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
:cite:`Steingold:2015`
Expand All @@ -1853,7 +1853,7 @@ def proficiency(self):
def igr(self):
"""Return information gain ratio.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand All @@ -1876,7 +1876,7 @@ def igr(self):
def dependency(self):
"""Return dependency.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand All @@ -1897,7 +1897,7 @@ def dependency(self):
def lift(self):
"""Return lift.
.. versionadded:: 0.4
.. versionadded:: 0.4.0
Implementation based on https://github.com/Magnetic/proficiency-metric
Expand Down

0 comments on commit 7e382b0

Please sign in to comment.