Misplaced Pages

Accuracy and precision: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 12:14, 16 August 2024 editPinkDucky91 (talk | contribs)Extended confirmed users12,469 edits Converted citationTags: Visual edit Mobile edit Mobile web edit← Previous edit Latest revision as of 17:03, 21 October 2024 edit undoChopinAficionado (talk | contribs)Extended confirmed users12,184 editsm In logic simulationTag: Visual edit 
(12 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Short description|Characterization of measurement error}} {{Short description|Characterization of measurement error}}
] (or ]) measurements under unchanged conditions show the same results.]]


Accuracy and precision are two measures of '']'': '''Accuracy and precision''' are two measures of '']''.
* '''''Accuracy''''' measures how close a given set of observations are to their '']'' '''''Accuracy''''' is how close a given set of ] (]s or readings) are to their '']''.
* '''''Precision''''' measures how close the observations are to each other. '''''Precision''''' is how close the measurements are to each other.


The ] (ISO) defines a related measure:<ref name="iso5725"/>
]
'''''trueness''''', "the closeness of agreement between the ] of a large number of test results and the true or accepted reference value."
]


While ''precision'' is a description of '']'' (a measure of ]),
In the language of statistics:
''accuracy'' has two different definitions:
* Accuracy is a description of '']'', a measure of ]
# More commonly, a description of '']'' (a measure of ] of a given measure of ], such as the mean). In this definition of "accuracy", the concept is independent of "precision", so a particular set of data can be said to be accurate, precise, both, or neither. This concept corresponds to ISO's ''trueness''.
* Precision is a description of '']'', a measure of ].
# A combination of both precision and trueness, accounting for the two types of observational error (random and systematic), so that high accuracy requires both high precision and high trueness. This usage corresponds to ISO's definition of ''accuracy'' (trueness and precision).<ref name="l641">{{cite journal | last=Menditto | first=Antonio | last2=Patriarca | first2=Marina | last3=Magnusson | first3=Bertil | title=Understanding the meaning of accuracy, trueness and precision | journal=Accreditation and Quality Assurance | volume=12 | issue=1 | date=2007-01-09 | issn=0949-1775 | doi=10.1007/s00769-006-0191-z | pages=45–47}}</ref>


==Common technical definition==
In the context of observations made on a ratio or interval ], a ] can be said to be accurate if its ] is close to the true value of the quantity being measured and precise if its ] is small.
In simpler terms, given a ] or set of data points from repeated measurements of the same quantity, the sample or set can be said to be ''accurate'' if their ] is close to the true value of the quantity being measured, while the set can be said to be ''precise'' if their ] is relatively small.


See ] below for i) other words that refer to the same concepts; and ii) the use of the words 'accuracy' and 'precision' to refer to related but different concepts.

==Common technical definition==
In the fields of ] and ], the accuracy of a ] system is the degree of closeness of measurements of a ] to that quantity's true ].<ref name=metrology_terms> — Basic and general concepts and associated terms (VIM)</ref> The precision of a measurement system, related to ] and ], is the degree to which repeated measurements under unchanged conditions show the same ]s.<ref name=metrology_terms /><ref name=Taylor>{{cite book |title=An Introduction to Error Analysis: The Study of Uncertainties in Physical Measurements |first= John Robert |last= Taylor |url=https://books.google.com/books?id=giFQcZub80oC&pg=PA128 |pages=128–129 |isbn=0-935702-75-X |year=1999 |publisher=University Science Books}}</ref> Although the two words precision and accuracy can be ] in ] use, they are deliberately contrasted in the context of the ]. In the fields of ] and ], the accuracy of a ] system is the degree of closeness of measurements of a ] to that quantity's true ].<ref name=metrology_terms> — Basic and general concepts and associated terms (VIM)</ref> The precision of a measurement system, related to ] and ], is the degree to which repeated measurements under unchanged conditions show the same ]s.<ref name=metrology_terms /><ref name=Taylor>{{cite book |title=An Introduction to Error Analysis: The Study of Uncertainties in Physical Measurements |first= John Robert |last= Taylor |url=https://books.google.com/books?id=giFQcZub80oC&pg=PA128 |pages=128–129 |isbn=0-935702-75-X |year=1999 |publisher=University Science Books}}</ref> Although the two words precision and accuracy can be ] in ] use, they are deliberately contrasted in the context of the ].


Line 32: Line 34:
In military terms, accuracy refers primarily to the accuracy of fire (''justesse de tir''), the precision of fire expressed by the closeness of a grouping of shots at and around the centre of the target.<ref>North Atlantic Treaty Organization, NATO Standardization Agency AAP-6 – Glossary of terms and definitions, p 43.</ref> In military terms, accuracy refers primarily to the accuracy of fire (''justesse de tir''), the precision of fire expressed by the closeness of a grouping of shots at and around the centre of the target.<ref>North Atlantic Treaty Organization, NATO Standardization Agency AAP-6 – Glossary of terms and definitions, p 43.</ref>


=={{visible anchor|ISO definition (ISO 5725)|ISO_Definition_.28ISO_5725.29}}==
===Quantification===
A shift in the meaning of these terms appeared with the publication of the ISO 5725 series of standards in 1994, which is also reflected in the 2008 issue of the BIPM ] (VIM), items 2.13 and 2.14.<ref name="metrology_terms"/>

According to ISO 5725-1,<ref name="iso5725">BS ISO 5725-1: "Accuracy (trueness and precision) of measurement methods and results - Part 1: General principles and definitions.", p.1 (1994)</ref> the general term "accuracy" is used to describe the closeness of a measurement to the true value. When the term is applied to sets of measurements of the same ], it involves a component of random error and a component of systematic error. In this case trueness is the closeness of the mean of a set of measurement results to the actual (true) value, that is the systematic error, and precision is the closeness of agreement among a set of results, that is the random error.

ISO 5725-1 and VIM also avoid the use of the term "]", previously specified in BS 5497-1,<ref>BS 5497-1: "Precision of test methods. Guide for the determination of repeatability and reproducibility for a standard test method." (1979)</ref> because it has different connotations outside the fields of science and engineering, as in medicine and law.

{{Gallery
|title=Accuracy of a ] according to BIPM and ISO 5725
|width=150
|align=center
| File:High accuracy Low precision.svg|Low accuracy due to low precision <!-- Note that the use of "high accuracy" in the filename is not in accord with the ISO 52725 terminology that is illustrated here! -->
| File:High precision Low accuracy.svg|Low accuracy even with high precision}}

==Quantification and applications==
{{See also|False precision}} {{See also|False precision}}
In industrial instrumentation, accuracy is the measurement tolerance, or transmission of the instrument and defines the limits of the errors made when the instrument is used in normal operating conditions.<ref>Creus, Antonio. ''Instrumentación Industrial''{{citation needed|date=February 2015}}</ref> In industrial instrumentation, accuracy is the measurement tolerance, or transmission of the instrument and defines the limits of the errors made when the instrument is used in normal operating conditions.<ref>Creus, Antonio. ''Instrumentación Industrial''{{citation needed|date=February 2015}}</ref>
Line 55: Line 71:
In engineering, precision is often taken as three times Standard Deviation of measurements taken, representing the range that 99.73% of measurements can occur within.<ref>{{Cite book|last=Black|first=J. Temple|url=http://worldcat.org/oclc/1246529321|title=DeGarmo's materials and processes in manufacturing.|date=21 July 2020|publisher=John Wiley & Sons |isbn=978-1-119-72329-5|oclc=1246529321}}</ref> For example, an ergonomist measuring the human body can be confident that 99.73% of their extracted measurements fall within ± 0.7&nbsp;cm - if using the GRYPHON processing system - or ± 13&nbsp;cm - if using unprocessed data.<ref>{{Cite journal|last1=Parker|first1=Christopher J.|last2=Gill|first2=Simeon|last3=Harwood|first3=Adrian|last4=Hayes|first4=Steven G.|last5=Ahmed|first5=Maryam|date=2021-05-19|title=A Method for Increasing 3D Body Scanning's Precision: Gryphon and Consecutive Scanning|journal=Ergonomics|volume=65|issue=1|language=en|pages=39–59|doi=10.1080/00140139.2021.1931473|pmid=34006206|issn=0014-0139|doi-access=free}}</ref> In engineering, precision is often taken as three times Standard Deviation of measurements taken, representing the range that 99.73% of measurements can occur within.<ref>{{Cite book|last=Black|first=J. Temple|url=http://worldcat.org/oclc/1246529321|title=DeGarmo's materials and processes in manufacturing.|date=21 July 2020|publisher=John Wiley & Sons |isbn=978-1-119-72329-5|oclc=1246529321}}</ref> For example, an ergonomist measuring the human body can be confident that 99.73% of their extracted measurements fall within ± 0.7&nbsp;cm - if using the GRYPHON processing system - or ± 13&nbsp;cm - if using unprocessed data.<ref>{{Cite journal|last1=Parker|first1=Christopher J.|last2=Gill|first2=Simeon|last3=Harwood|first3=Adrian|last4=Hayes|first4=Steven G.|last5=Ahmed|first5=Maryam|date=2021-05-19|title=A Method for Increasing 3D Body Scanning's Precision: Gryphon and Consecutive Scanning|journal=Ergonomics|volume=65|issue=1|language=en|pages=39–59|doi=10.1080/00140139.2021.1931473|pmid=34006206|issn=0014-0139|doi-access=free}}</ref>


==In classification==
=={{visible anchor|ISO definition (ISO 5725)|ISO_Definition_.28ISO_5725.29}}==
===In binary classification===
]
{{Main|Evaluation of binary classifiers#Single metrics}}
A shift in the meaning of these terms appeared with the publication of the ISO 5725 series of standards in 1994, which is also reflected in the 2008 issue of the BIPM ] (VIM), items 2.13 and 2.14.<ref name="metrology_terms"/>
''Accuracy'' is also used as a statistical measure of how well a ] test correctly identifies or excludes a condition. That is, the accuracy is the proportion of correct predictions (both ]s and ]s) among the total number of cases examined.<ref>{{cite journal| url= http://www.umich.edu/~ners580/ners-bioe_481/lectures/pdfs/1978-10-semNucMed_Metz-basicROC.pdf |archive-url=https://ghostarchive.org/archive/20221009/http://www.umich.edu/~ners580/ners-bioe_481/lectures/pdfs/1978-10-semNucMed_Metz-basicROC.pdf |archive-date=2022-10-09 |url-status=live |last= Metz |first= CE |title= Basic principles of ROC analysis |journal= Semin Nucl Med.| date= October 1978 |volume= 8| number=4 |pages=283–98|doi= 10.1016/s0001-2998(78)80014-2 |pmid= 112681 }}</ref> As such, it compares estimates of ]. To make the context clear by the semantics, it is often referred to as the "Rand accuracy" or "]".<ref>{{cite web |url=http://www.alta.asn.au/events/altss_w2003_proc/altss/courses/powers/ALTSS2003-Val+Eval-L3.pdf |title=Archived copy |access-date=2015-08-09 |url-status=dead |archive-url=https://web.archive.org/web/20150311073014/http://alta.asn.au/events/altss_w2003_proc/altss/courses/powers/ALTSS2003-Val+Eval-L3.pdf |archive-date=2015-03-11 }}</ref><ref>{{cite arXiv |eprint=1503.06410|title=What the F-measure doesn't measure|last1=Powers|first1=David M. W.|class=cs.IR|year=2015}}</ref><ref>{{cite web|url=http://www.anthology.aclweb.org/E/E12/E12-1035.pdf |archive-url=https://ghostarchive.org/archive/20221009/http://www.anthology.aclweb.org/E/E12/E12-1035.pdf |archive-date=2022-10-09 |url-status=live|title=The Problem with Kappa|author=David M W Powers|website=Anthology.aclweb.org|access-date=11 December 2017}}</ref> It is a parameter of the test.
The formula for quantifying binary accuracy is:
<math display="block">\text{Accuracy}=\frac{TP+TN}{TP+TN+FP+FN}</math>
where {{math|1=TP = True positive}}; {{math|1=FP = False positive}}; {{math|1=TN = True negative}}; {{math|1=FN = False negative}}


In this context, the concepts of trueness and precision as defined by ISO 5725-1 are not applicable. One reason is that there is not a single “true value” of a quantity, but rather two possible true values for every case, while accuracy is an average across all cases and therefore takes into account both values. However, the term '']'' is used in this context to mean a different metric originating from the field of information retrieval (]).
According to ISO 5725-1,<ref name="iso5725">BS ISO 5725-1: "Accuracy (trueness and precision) of measurement methods and results - Part 1: General principles and definitions.", p.1 (1994)</ref> the general term "accuracy" is used to describe the closeness of a measurement to the true value. When the term is applied to sets of measurements of the same ], it involves a component of random error and a component of systematic error. In this case trueness is the closeness of the mean of a set of measurement results to the actual (true) value, that is the systematic error, and precision is the closeness of agreement among a set of results, that is the random error.


===In multiclass classification===
ISO 5725-1 and VIM also avoid the use of the term "]", previously specified in BS 5497-1,<ref>BS 5497-1: "Precision of test methods. Guide for the determination of repeatability and reproducibility for a standard test method." (1979)</ref> because it has different connotations outside the fields of science and engineering, as in medicine and law.
When computing accuracy in multiclass classification, accuracy is simply the fraction of correct classifications:<ref name="op24">{{cite journal|last=Opitz|first=Juri|title=A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice|journal=Transactions of the Association for Computational Linguistics|date=2024|volume=12|pages=820–836|doi=10.1162/tacl_a_00675|url=https://doi.org/10.1162/tacl_a_00675|arxiv=2404.16958}}</ref><ref>{{cite web |title=3.3. Metrics and scoring: quantifying the quality of predictions |url=https://scikit-learn.org/stable/modules/model_evaluation.html#accuracy-score |website=scikit-learn |access-date=17 May 2022 |language=en}}</ref>
<math display="block">\text{Accuracy}=\frac{\text{correct classifications}}{\text{all classifications}}</math>
This is usually expressed as a percentage. For example, if a classifier makes ten predictions and nine of them are correct, the accuracy is 90%.


Accuracy is sometimes also viewed as a ''micro metric'', to underline that it tends to be greatly affected by the particular class prevalence in a dataset and the classifier's biases.<ref name="op24"/>
{{Gallery
|title=Accuracy of a ] according to BIPM and ISO 5725
|width=150
|align=center
| File:High accuracy Low precision.svg|Low accuracy due to low precision <!-- Note that the use of "high accuracy" in the filename is not in accord with the ISO 52725 terminology that is illustrated here! -->
| File:High precision Low accuracy.svg|Low accuracy even with high precision}}


Furthermore, it is also called top-1 accuracy to distinguish it from top-5 accuracy, common in ] evaluation. To evaluate top-5 accuracy, the classifier must provide relative likelihoods for each class. When these are sorted, a classification is considered correct if the correct classification falls anywhere within the top 5 predictions made by the network. Top-5 accuracy was popularized by the ] challenge. It is usually higher than top-1 accuracy, as any correct predictions in the 2nd through 5th positions will not improve the top-1 score, but do improve the top-5 score.
==Terminological disambiguation==
Concern for the measurement of error is widespread across many fields and many terms have been used to deal with the same, or related, concepts.

===Different names, same concepts===

The three core concepts on this page, as named in different places, are listed in the same order in each subsection below.

'''This Misplaced Pages page'''

Validity (avoidance of observational error, the overarching concern)

· Accuracy

· Precision

'''ISO 5725'''

Accuracy

· Trueness (avoidance of systematic error; previously, avoidance of bias)

· Precision (avoidance of random error)

'''Statistics'''

Accuracy

· Bias

· Variability

'''Psychometrics'''

Measurement properties<ref>{{Cite journal |last=Souza |first=Ana Cláudia de |last2=Alexandre |first2=Neusa Maria Costa |last3=Guirardello |first3=Edinêis de Brito |date=2017 |title=Psychometric properties in instruments evaluation of reliability and validity |url=https://pubmed.ncbi.nlm.nih.gov/28977189/ |journal=Epidemiologia E Servicos De Saude: Revista Do Sistema Unico De Saude Do Brasil |volume=26 |issue=3 |pages=649–659 |doi=10.5123/S1679-49742017000300022 |issn=2237-9622 |pmid=28977189}}</ref>

· Validity (avoidance of constant error)

· Reliability (avoidance of variable error).

===Same names, different concepts===

See ] below for the use of the words 'accuracy' and 'precision' to refer to related but different concepts.

== In classification ==

In ], observations made against a ], the concepts of accuracy and precision remain relevant. A classifier can suffer from systematic errors and from a lack of reliability. However, in ] the terms 'accuracy' and 'precision' are also and primarily used with a different meaning; most commonly, the words relate to formulae for quantifying the error resulting from the reporting by a classifier of, for example, ].


==In psychometrics and psychophysics== ==In psychometrics and psychophysics==
Line 123: Line 96:
] ]
In ], a common mistake in evaluation of accurate models is to compare a ] to a ] ]. This is a comparison of differences in precision, not accuracy. Precision is measured with respect to detail and accuracy is measured with respect to reality.<ref>{{cite journal|title=none| first= John M. |last= Acken |work= Encyclopedia of Computer Science and Technology |volume= 36 |year= 1997| pages= 281–306}}</ref><ref>{{cite journal| title= 1990 Workshop on Logic-Level Modelling for ASICS |first1= Mark |last1= Glasser |first2= Rob |last2= Mathews |first3= John M. |last3= Acken |journal=SIGDA Newsletter |volume= 20 |number= 1 |date= June 1990}}</ref> In ], a common mistake in evaluation of accurate models is to compare a ] to a ] ]. This is a comparison of differences in precision, not accuracy. Precision is measured with respect to detail and accuracy is measured with respect to reality.<ref>{{cite journal|title=none| first= John M. |last= Acken |work= Encyclopedia of Computer Science and Technology |volume= 36 |year= 1997| pages= 281–306}}</ref><ref>{{cite journal| title= 1990 Workshop on Logic-Level Modelling for ASICS |first1= Mark |last1= Glasser |first2= Rob |last2= Mathews |first3= John M. |last3= Acken |journal=SIGDA Newsletter |volume= 20 |number= 1 |date= June 1990}}</ref>
==In information systems==

Information retrieval systems, such as ]s and ]s, are evaluated by ], some of which are derived from the ], which divides results into true positives (documents correctly retrieved), true negatives (documents correctly not retrieved), false positives (documents incorrectly retrieved), and false negatives (documents incorrectly not retrieved). Commonly used metrics include the notions of ]. In this context, precision is defined as the fraction of documents correctly retrieved compared to the documents retrieved (true positives divided by true positives plus false positives), using a set of ] relevant results selected by humans. Recall is defined as the fraction of documents correctly retrieved compared to the relevant documents (true positives divided by true positives plus false negatives). Less commonly, the metric of accuracy is used, is defined as the fraction of documents correctly classified compared to the documents (true positives plus true negatives divided by true positives plus true negatives plus false positives plus false negatives).


None of these metrics take into account the ranking of results. Ranking is very important for web search engines because readers seldom go past the first page of results, and there are too many documents on the web to manually classify all of them as to whether they should be included or excluded from a given search. Adding a cutoff at a particular number of results takes ranking into account to some degree. The measure ], for example, is a measure of precision looking only at the top ten (k=10) search results. More sophisticated metrics, such as ], take into account each individual ranking, and are more commonly used where this is important.


==In cognitive systems== ==In cognitive systems==

Latest revision as of 17:03, 21 October 2024

Characterization of measurement error
Accuracy is the proximity of measurement results to the accepted value; precision is the degree to which repeated (or reproducible) measurements under unchanged conditions show the same results.

Accuracy and precision are two measures of observational error. Accuracy is how close a given set of measurements (observations or readings) are to their true value. Precision is how close the measurements are to each other.

The International Organization for Standardization (ISO) defines a related measure: trueness, "the closeness of agreement between the arithmetic mean of a large number of test results and the true or accepted reference value."

According to ISO 5725-1, accuracy consists of trueness (proximity of the mean of measurement results to the true value) and precision (repeatability or reproducibility of the measurement).

While precision is a description of random errors (a measure of statistical variability), accuracy has two different definitions:

  1. More commonly, a description of systematic errors (a measure of statistical bias of a given measure of central tendency, such as the mean). In this definition of "accuracy", the concept is independent of "precision", so a particular set of data can be said to be accurate, precise, both, or neither. This concept corresponds to ISO's trueness.
  2. A combination of both precision and trueness, accounting for the two types of observational error (random and systematic), so that high accuracy requires both high precision and high trueness. This usage corresponds to ISO's definition of accuracy (trueness and precision).

Common technical definition

In simpler terms, given a statistical sample or set of data points from repeated measurements of the same quantity, the sample or set can be said to be accurate if their average is close to the true value of the quantity being measured, while the set can be said to be precise if their standard deviation is relatively small.

In the fields of science and engineering, the accuracy of a measurement system is the degree of closeness of measurements of a quantity to that quantity's true value. The precision of a measurement system, related to reproducibility and repeatability, is the degree to which repeated measurements under unchanged conditions show the same results. Although the two words precision and accuracy can be synonymous in colloquial use, they are deliberately contrasted in the context of the scientific method.

The field of statistics, where the interpretation of measurements plays a central role, prefers to use the terms bias and variability instead of accuracy and precision: bias is the amount of inaccuracy and variability is the amount of imprecision.

A measurement system can be accurate but not precise, precise but not accurate, neither, or both. For example, if an experiment contains a systematic error, then increasing the sample size generally increases precision but does not improve accuracy. The result would be a consistent yet inaccurate string of results from the flawed experiment. Eliminating the systematic error improves accuracy but does not change precision.

A measurement system is considered valid if it is both accurate and precise. Related terms include bias (non-random or directed effects caused by a factor or factors unrelated to the independent variable) and error (random variability).

The terminology is also applied to indirect measurements—that is, values obtained by a computational procedure from observed data.

In addition to accuracy and precision, measurements may also have a measurement resolution, which is the smallest change in the underlying physical quantity that produces a response in the measurement.

In numerical analysis, accuracy is also the nearness of a calculation to the true value; while precision is the resolution of the representation, typically defined by the number of decimal or binary digits.

In military terms, accuracy refers primarily to the accuracy of fire (justesse de tir), the precision of fire expressed by the closeness of a grouping of shots at and around the centre of the target.

ISO definition (ISO 5725)

A shift in the meaning of these terms appeared with the publication of the ISO 5725 series of standards in 1994, which is also reflected in the 2008 issue of the BIPM International Vocabulary of Metrology (VIM), items 2.13 and 2.14.

According to ISO 5725-1, the general term "accuracy" is used to describe the closeness of a measurement to the true value. When the term is applied to sets of measurements of the same measurand, it involves a component of random error and a component of systematic error. In this case trueness is the closeness of the mean of a set of measurement results to the actual (true) value, that is the systematic error, and precision is the closeness of agreement among a set of results, that is the random error.

ISO 5725-1 and VIM also avoid the use of the term "bias", previously specified in BS 5497-1, because it has different connotations outside the fields of science and engineering, as in medicine and law.

Accuracy of a target grouping according to BIPM and ISO 5725
  • Low accuracy due to low precision Low accuracy due to low precision
  • Low accuracy even with high precision Low accuracy even with high precision

Quantification and applications

See also: False precision

In industrial instrumentation, accuracy is the measurement tolerance, or transmission of the instrument and defines the limits of the errors made when the instrument is used in normal operating conditions.

Ideally a measurement device is both accurate and precise, with measurements all close to and tightly clustered around the true value. The accuracy and precision of a measurement process is usually established by repeatedly measuring some traceable reference standard. Such standards are defined in the International System of Units (abbreviated SI from French: Système international d'unités) and maintained by national standards organizations such as the National Institute of Standards and Technology in the United States.

This also applies when measurements are repeated and averaged. In that case, the term standard error is properly applied: the precision of the average is equal to the known standard deviation of the process divided by the square root of the number of measurements averaged. Further, the central limit theorem shows that the probability distribution of the averaged measurements will be closer to a normal distribution than that of individual measurements.

With regard to accuracy we can distinguish:

  • the difference between the mean of the measurements and the reference value, the bias. Establishing and correcting for bias is necessary for calibration.
  • the combined effect of that and precision.

A common convention in science and engineering is to express accuracy and/or precision implicitly by means of significant figures. Where not explicitly stated, the margin of error is understood to be one-half the value of the last significant place. For instance, a recording of 843.6 m, or 843.0 m, or 800.0 m would imply a margin of 0.05 m (the last significant place is the tenths place), while a recording of 843 m would imply a margin of error of 0.5 m (the last significant digits are the units).

A reading of 8,000 m, with trailing zeros and no decimal point, is ambiguous; the trailing zeros may or may not be intended as significant figures. To avoid this ambiguity, the number could be represented in scientific notation: 8.0 × 10 m indicates that the first zero is significant (hence a margin of 50 m) while 8.000 × 10 m indicates that all three zeros are significant, giving a margin of 0.5 m. Similarly, one can use a multiple of the basic measurement unit: 8.0 km is equivalent to 8.0 × 10 m. It indicates a margin of 0.05 km (50 m). However, reliance on this convention can lead to false precision errors when accepting data from sources that do not obey it. For example, a source reporting a number like 153,753 with precision +/- 5,000 looks like it has precision +/- 0.5. Under the convention it would have been rounded to 150,000.

Alternatively, in a scientific context, if it is desired to indicate the margin of error with more precision, one can use a notation such as 7.54398(23) × 10 m, meaning a range of between 7.54375 and 7.54421 × 10 m.

Precision includes:

  • repeatability — the variation arising when all efforts are made to keep conditions constant by using the same instrument and operator, and repeating during a short time period; and
  • reproducibility — the variation arising using the same measurement process among different instruments and operators, and over longer time periods.

In engineering, precision is often taken as three times Standard Deviation of measurements taken, representing the range that 99.73% of measurements can occur within. For example, an ergonomist measuring the human body can be confident that 99.73% of their extracted measurements fall within ± 0.7 cm - if using the GRYPHON processing system - or ± 13 cm - if using unprocessed data.

In classification

In binary classification

Main article: Evaluation of binary classifiers § Single metrics

Accuracy is also used as a statistical measure of how well a binary classification test correctly identifies or excludes a condition. That is, the accuracy is the proportion of correct predictions (both true positives and true negatives) among the total number of cases examined. As such, it compares estimates of pre- and post-test probability. To make the context clear by the semantics, it is often referred to as the "Rand accuracy" or "Rand index". It is a parameter of the test. The formula for quantifying binary accuracy is: Accuracy = T P + T N T P + T N + F P + F N {\displaystyle {\text{Accuracy}}={\frac {TP+TN}{TP+TN+FP+FN}}} where TP = True positive; FP = False positive; TN = True negative; FN = False negative

In this context, the concepts of trueness and precision as defined by ISO 5725-1 are not applicable. One reason is that there is not a single “true value” of a quantity, but rather two possible true values for every case, while accuracy is an average across all cases and therefore takes into account both values. However, the term precision is used in this context to mean a different metric originating from the field of information retrieval (see below).

In multiclass classification

When computing accuracy in multiclass classification, accuracy is simply the fraction of correct classifications: Accuracy = correct classifications all classifications {\displaystyle {\text{Accuracy}}={\frac {\text{correct classifications}}{\text{all classifications}}}} This is usually expressed as a percentage. For example, if a classifier makes ten predictions and nine of them are correct, the accuracy is 90%.

Accuracy is sometimes also viewed as a micro metric, to underline that it tends to be greatly affected by the particular class prevalence in a dataset and the classifier's biases.

Furthermore, it is also called top-1 accuracy to distinguish it from top-5 accuracy, common in convolutional neural network evaluation. To evaluate top-5 accuracy, the classifier must provide relative likelihoods for each class. When these are sorted, a classification is considered correct if the correct classification falls anywhere within the top 5 predictions made by the network. Top-5 accuracy was popularized by the ImageNet challenge. It is usually higher than top-1 accuracy, as any correct predictions in the 2nd through 5th positions will not improve the top-1 score, but do improve the top-5 score.

In psychometrics and psychophysics

In psychometrics and psychophysics, the term accuracy is interchangeably used with validity and constant error. Precision is a synonym for reliability and variable error. The validity of a measurement instrument or psychological test is established through experiment or correlation with behavior. Reliability is established with a variety of statistical techniques, classically through an internal consistency test like Cronbach's alpha to ensure sets of related questions have related responses, and then comparison of those related question between reference and target population.

In logic simulation

Comparative Waveforms for Logic values, circuit voltages, and measure voltages

In logic simulation, a common mistake in evaluation of accurate models is to compare a logic simulation model to a transistor circuit simulation model. This is a comparison of differences in precision, not accuracy. Precision is measured with respect to detail and accuracy is measured with respect to reality.

In information systems

Information retrieval systems, such as databases and web search engines, are evaluated by many different metrics, some of which are derived from the confusion matrix, which divides results into true positives (documents correctly retrieved), true negatives (documents correctly not retrieved), false positives (documents incorrectly retrieved), and false negatives (documents incorrectly not retrieved). Commonly used metrics include the notions of precision and recall. In this context, precision is defined as the fraction of documents correctly retrieved compared to the documents retrieved (true positives divided by true positives plus false positives), using a set of ground truth relevant results selected by humans. Recall is defined as the fraction of documents correctly retrieved compared to the relevant documents (true positives divided by true positives plus false negatives). Less commonly, the metric of accuracy is used, is defined as the fraction of documents correctly classified compared to the documents (true positives plus true negatives divided by true positives plus true negatives plus false positives plus false negatives).

None of these metrics take into account the ranking of results. Ranking is very important for web search engines because readers seldom go past the first page of results, and there are too many documents on the web to manually classify all of them as to whether they should be included or excluded from a given search. Adding a cutoff at a particular number of results takes ranking into account to some degree. The measure precision at k, for example, is a measure of precision looking only at the top ten (k=10) search results. More sophisticated metrics, such as discounted cumulative gain, take into account each individual ranking, and are more commonly used where this is important.

In cognitive systems

In cognitive systems, accuracy and precision is used to characterize and measure results of a cognitive process performed by biological or artificial entities where a cognitive process is a transformation of data, information, knowledge, or wisdom to a higher-valued form. (DIKW Pyramid) Sometimes, a cognitive process produces exactly the intended or desired output but sometimes produces output far from the intended or desired. Furthermore, repetitions of a cognitive process do not always produce the same output. Cognitive accuracy (CA) is the propensity of a cognitive process to produce the intended or desired output. Cognitive precision (CP) is the propensity of a cognitive process to produce the same output. To measure augmented cognition in human/cog ensembles, where one or more humans work collaboratively with one or more cognitive systems (cogs), increases in cognitive accuracy and cognitive precision assist in measuring the degree of cognitive augmentation.

See also

References

  1. ^ BS ISO 5725-1: "Accuracy (trueness and precision) of measurement methods and results - Part 1: General principles and definitions.", p.1 (1994)
  2. Menditto, Antonio; Patriarca, Marina; Magnusson, Bertil (2007-01-09). "Understanding the meaning of accuracy, trueness and precision". Accreditation and Quality Assurance. 12 (1): 45–47. doi:10.1007/s00769-006-0191-z. ISSN 0949-1775.
  3. ^ JCGM 200:2008 International vocabulary of metrology — Basic and general concepts and associated terms (VIM)
  4. Taylor, John Robert (1999). An Introduction to Error Analysis: The Study of Uncertainties in Physical Measurements. University Science Books. pp. 128–129. ISBN 0-935702-75-X.
  5. North Atlantic Treaty Organization, NATO Standardization Agency AAP-6 – Glossary of terms and definitions, p 43.
  6. BS 5497-1: "Precision of test methods. Guide for the determination of repeatability and reproducibility for a standard test method." (1979)
  7. Creus, Antonio. Instrumentación Industrial
  8. Black, J. Temple (21 July 2020). DeGarmo's materials and processes in manufacturing. John Wiley & Sons. ISBN 978-1-119-72329-5. OCLC 1246529321.
  9. Parker, Christopher J.; Gill, Simeon; Harwood, Adrian; Hayes, Steven G.; Ahmed, Maryam (2021-05-19). "A Method for Increasing 3D Body Scanning's Precision: Gryphon and Consecutive Scanning". Ergonomics. 65 (1): 39–59. doi:10.1080/00140139.2021.1931473. ISSN 0014-0139. PMID 34006206.
  10. Metz, CE (October 1978). "Basic principles of ROC analysis" (PDF). Semin Nucl Med. 8 (4): 283–98. doi:10.1016/s0001-2998(78)80014-2. PMID 112681. Archived (PDF) from the original on 2022-10-09.
  11. "Archived copy" (PDF). Archived from the original (PDF) on 2015-03-11. Retrieved 2015-08-09.{{cite web}}: CS1 maint: archived copy as title (link)
  12. Powers, David M. W. (2015). "What the F-measure doesn't measure". arXiv:1503.06410 .
  13. David M W Powers. "The Problem with Kappa" (PDF). Anthology.aclweb.org. Archived (PDF) from the original on 2022-10-09. Retrieved 11 December 2017.
  14. ^ Opitz, Juri (2024). "A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice". Transactions of the Association for Computational Linguistics. 12: 820–836. arXiv:2404.16958. doi:10.1162/tacl_a_00675.
  15. "3.3. Metrics and scoring: quantifying the quality of predictions". scikit-learn. Retrieved 17 May 2022.
  16. Acken, John M. (1997). "none". Encyclopedia of Computer Science and Technology. 36: 281–306.
  17. Glasser, Mark; Mathews, Rob; Acken, John M. (June 1990). "1990 Workshop on Logic-Level Modelling for ASICS". SIGDA Newsletter. 20 (1).
  18. Fulbright, Ron (2020). Democratization of Expertise: How Cognitive Systems Will Revolutionize Your Life (1st ed.). Boca Raton, FL: CRC Press. ISBN 978-0367859459.
  19. Fulbright, Ron (2019). "Calculating Cognitive Augmentation – A Case Study". Augmented Cognition. Lecture Notes in Computer Science. Vol. 11580. Springer Cham. pp. 533–545. arXiv:2211.06479. doi:10.1007/978-3-030-22419-6_38. ISBN 978-3-030-22418-9. S2CID 195891648.
  20. Fulbright, Ron (2018). "On Measuring Cognition and Cognitive Augmentation". Human Interface and the Management of Information. Information in Applications and Services. Lecture Notes in Computer Science. Vol. 10905. Springer Cham. pp. 494–507. arXiv:2211.06477. doi:10.1007/978-3-319-92046-7_41. ISBN 978-3-319-92045-0. S2CID 51603737.

External links

Machine learning evaluation metrics
Regression
Classification
Clustering
Ranking
Computer Vision
NLP
Deep Learning Related Metrics
Recommender system
Similarity
Software quality
Qualities
Internal
External
Standards and lists
Processes
ISO standards by standard number
List of ISO standardsISO romanizationsIEC standards
1–9999
10000–19999
20000–29999
30000+
Categories: