<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="discussion" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Robot. AI</journal-id>
<journal-title>Frontiers in Robotics and AI</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Robot. AI</abbrev-journal-title>
<issn pub-type="epub">2296-9144</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">876814</article-id>
<article-id pub-id-type="doi">10.3389/frobt.2022.876814</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Robotics and AI</subject>
<subj-group>
<subject>Opinion</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>An Invitation to Greater Use of Matthews Correlation Coefficient in Robotics and Artificial Intelligence</article-title>
<alt-title alt-title-type="left-running-head">Chicco and Jurman</alt-title>
<alt-title alt-title-type="right-running-head">MCC in Robotics and AI</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Chicco</surname>
<given-names>Davide</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/115230/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Jurman</surname>
<given-names>Giuseppe</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="fn" rid="fn1">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/246296/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Institute of Health Policy Management and Evaluation, University of Toronto</institution>, <addr-line>Toronto</addr-line>, <country>Canada</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Data Science for Health Unit, Fondazione Bruno Kessler</institution>, <addr-line>Trento</addr-line>, <country>Italy</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/154510/overview">Takashi Ikegami</ext-link>, The University of Tokyo, Japan</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1694721/overview">Patrick Timmons</ext-link>, Nuritas Limited, Ireland</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Davide Chicco, <email>davidechicco@davidechicco.it</email>, <email>orcid.org/0000-0001-9655-7142</email>
</corresp>
<fn fn-type="other" id="fn1">
<label>
<sup>&#x2020;</sup>
</label>
<p>ORCID: Giuseppe Jurman, <ext-link ext-link-type="uri" xlink:href="http://orcid.org/0000-0002-2705-5728">orcid.org/0000-0002-2705-5728</ext-link>
</p>
</fn>
<fn fn-type="other">
<p>This article was submitted to Computational Intelligence in Robotics, a section of the journal Frontiers in Robotics and AI</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>25</day>
<month>03</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>9</volume>
<elocation-id>876814</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>02</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>07</day>
<month>03</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Chicco and Jurman.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Chicco and Jurman</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<kwd-group>
<kwd>Matthews correlation coefficient</kwd>
<kwd>accuracy</kwd>
<kwd>F<sub>1</sub> score</kwd>
<kwd>binary classification</kwd>
<kwd>machine learning</kwd>
<kwd>robotics</kwd>
<kwd>artificial intelligence</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>A binary classification is a computational procedure that labels data elements as members of one or another category. In machine learning and computational statistics, input data elements which are part of two classes are usually encoded as 0&#x2019;s or &#x2013;1&#x2019;s (negatives) and 1&#x2019;s (positives). During a binary classification, a method assigns each data element to one of the two categories, usually after a machine learning phase. A typical evaluation procedure then creates a 2 &#xd7; 2 contingency table called <italic>confusion matrix</italic>, where the positive elements correctly predicted positive are called <italic>true positives</italic> (TP), the negative elements correctly predicted negative are called <italic>true negatives</italic> (TN), the positive elements wrongly labeled as negatives are called <italic>false negatives</italic> (FN), and the negative elements wrongly labeled as positives are called <italic>false positives</italic> (FP).</p>
<p>Since it would be difficult to always analyze the four categories of the confusion matrix for each test, scientists defined statistical rates that summarize TP, FP, FN, and TN in one value. Accuracy (<xref ref-type="disp-formula" rid="e1">Eq. 1</xref>), for example, is a rate that indicates the ratio of correct positives and negatives (<xref ref-type="bibr" rid="B26">Zliobaite, 2015</xref>), while F<sub>1</sub> score (<xref ref-type="disp-formula" rid="e2">Eq. 2</xref>), is the harmonic mean of positive predictive value and true positive rate (<xref ref-type="bibr" rid="B15">Lipton et al., 2014</xref>; <xref ref-type="bibr" rid="B10">Huang et al., 2015</xref>).<disp-formula id="e1">
<mml:math id="m1">
<mml:mtext>accuracy</mml:mtext>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(1)</label>
</disp-formula>(worst value &#x3d; 0; best value &#x3d; 1).<disp-formula id="e2">
<mml:math id="m2">
<mml:msub>
<mml:mrow>
<mml:mtext>F</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mspace width="0.17em"/>
<mml:mtext>score</mml:mtext>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(2)</label>
</disp-formula>(worst value &#x3d; 0; best value &#x3d; 1).</p>
<p>Even if accuracy and F<sub>1</sub> score are very common in machine learning studies, they can be misleading (<xref ref-type="bibr" rid="B4">Chicco and Jurman, 2020</xref>) in several situations.</p>
<p>The Matthews correlation coefficient (<xref ref-type="disp-formula" rid="e3">Eq. 3</xref>) (<xref ref-type="bibr" rid="B16">Matthews, 1975</xref>), instead, is the only statistical rate that generates a high score only if the values of the four basic rates (sensitivity, specificity, precision, negative predictive value) are high (<xref ref-type="bibr" rid="B24">Yao and Shepperd, 2020</xref>; <xref ref-type="bibr" rid="B25">Zhu, 2020</xref>). For this reason, the MCC results being more informative and reliable than accuracy, F<sub>1</sub> score, and many other rates (<xref ref-type="bibr" rid="B11">Jurman et al., 2012</xref>; <xref ref-type="bibr" rid="B6">Chicco, 2017</xref>; <xref ref-type="bibr" rid="B4">Chicco and Jurman, 2020</xref>; <xref ref-type="bibr" rid="B5">Chicco et al., 2021</xref>; <xref ref-type="bibr" rid="B3">Chicco et al., 2021a</xref>; <xref ref-type="bibr" rid="B7">Chicco et al., 2021b</xref>).<disp-formula id="e3">
<mml:math id="m3">
<mml:mtext>MCC</mml:mtext>
<mml:mspace width="0.28em"/>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x22c5;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:math>
<label>(3)</label>
</disp-formula>(minimum value &#x3d; &#x2212;1; maximum value &#x3d; &#x2b;1).</p>
<p>where MCC &#x3d; &#x2b;1 means perfectly correct prediction (all the positives correctly predicted positives and all the negatives correctly predicted negatives), MCC &#x3d; 0 means the prediction was no better than random guessing, and MCC &#x3d; &#x2013;1 means perfectly wrong prediction (that is, all the ones were predicted zeros and all the zeros were predicted ones).</p>
<p>Despite the large usage of the MCC in machine learning, bioinformatics, and health informatics, we decided to investigate how popular this rate was in robotics and artificial intelligence.</p>
</sec>
<sec id="s2">
<title>2 Analysis</title>
<p>
<bold>Method</bold>. To investigate the usage of these three confusion matrix rates in robotics and artificial intelligence, we performed a search of the Matthews correlation coefficient, accuracy, F<sub>1</sub> score keywords in ten preeminent scientific journals on robotics. We counted the number of publications containing each keyword, per each journal, through Google Scholar. For example, we used the following search terms on Google Scholar to count the number of articles containing the &#x201c;Matthews correlation coefficient&#x201d; keyword in the <italic>Frontiers in Artificial Intelligence</italic> journal:</p>
<disp-quote>
<p>&#x201c;Matthews correlation coefficient&#x201d; source:&#x201c;Frontiers in Artificial Intelligence&#x201d;</p>
</disp-quote>
<p>We performed this search for ten robotics journals (<italic>Frontiers in Artificial Intelligence, Robotics and Autonomous Systems, Frontiers in Neurorobotics, International Journal of Robotics Research, Journal of Field Robotics, Frontiers in Robotics and AI, IEEE Robotics and Automation Letters, IEEE Transactions on Robotics, Science Robotics, Journal of Intelligent and Robotic Systems</italic>) and reported the results in <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Occurrences of the keywords in the articles of the journals. &#x23;MCC: number of articles containing the &#x201c;Matthews correlation coefficient&#x201d; keyword for each journal. &#x23;accuracy: number of articles containing the &#x201c;accuracy&#x201d; keyword for each journal. &#x23;F<sub>1</sub> score: number of articles containing the &#x201c;F1 score&#x201d; keyword for each journal. We did all the searches on 14 February 2022 at 2:00p.m. EST, by using the source keyword on the Google Scholar search field at <ext-link ext-link-type="uri" xlink:href="https://scholar.google.com">https://scholar.google.com</ext-link> We sorted the scientific journals alphabetically.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Scientific Journal</th>
<th align="center">&#x23;MCC</th>
<th align="center">&#x23;Accuracy</th>
<th align="center">&#x23;F<sub>1</sub> Score</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Frontiers in Artificial Intelligence</td>
<td align="center">6</td>
<td align="center">324</td>
<td align="center">28</td>
</tr>
<tr>
<td align="left">Frontiers in Neurorobotics</td>
<td align="center">1</td>
<td align="center">439</td>
<td align="center">16</td>
</tr>
<tr>
<td align="left">Frontiers in Robotics and AI</td>
<td align="center">0</td>
<td align="center">596</td>
<td align="center">14</td>
</tr>
<tr>
<td align="left">IEEE Robotics and Automation Letters</td>
<td align="center">0</td>
<td align="center">2,390</td>
<td align="center">71</td>
</tr>
<tr>
<td align="left">IEEE Transactions on Robotics</td>
<td align="center">0</td>
<td align="center">1,750</td>
<td align="center">8</td>
</tr>
<tr>
<td align="left">International Journal of Robotics Research</td>
<td align="center">1</td>
<td align="center">1,540</td>
<td align="center">10</td>
</tr>
<tr>
<td align="left">Journal of Field Robotics</td>
<td align="center">1</td>
<td align="center">688</td>
<td align="center">12</td>
</tr>
<tr>
<td align="left">Journal of Intelligent and Robotic Systems</td>
<td align="center">0</td>
<td align="center">1,010</td>
<td align="center">13</td>
</tr>
<tr>
<td align="left">Robotics and Autonomous Systems</td>
<td align="center">5</td>
<td align="center">1,900</td>
<td align="center">21</td>
</tr>
<tr>
<td align="left">Science Robotics</td>
<td align="center">0</td>
<td align="center">135</td>
<td align="center">0</td>
</tr>
<tr>
<td align="left">Average</td>
<td align="center">1.4</td>
<td align="center">1,077.2</td>
<td align="center">19.3</td>
</tr>
<tr>
<td align="left">Median</td>
<td align="center">0.5</td>
<td align="center">849</td>
<td align="center">13.5</td>
</tr>
<tr>
<td align="left">Range</td>
<td align="center">[0; 6]</td>
<td align="center">[135; 2,390]</td>
<td align="center">[0; 71]</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<statement>
<p>
<bold>Results</bold>. As we can see in the table indicating the number of articles including each keyword per each robotics journal (<xref ref-type="table" rid="T1">Table 1</xref>), the MCC was employed in very few articles among all the journals. <italic>Frontiers in Artificial Intelligence</italic> had the highest number, six, while <italic>Robotics and Autonomous Systems</italic> had five. Only one article published in <italic>Frontiers in Neurorobitics</italic>, <italic>International Journal of Robotics Research</italic>, and <italic>Journal of Field Robotics</italic> each contained results measured by the Matthews correlation coefficient. No article mentioning the MCC was found in the other five journals (<italic>Frontiers in Robotics and AI</italic>, <italic>IEEE Robotics and Automation Letters</italic>, <italic>IEEE Transactions on Robotics</italic>, <italic>Robotics and Intelligent Systems</italic>, and <italic>Science Robotics</italic>). The average number of articles including MCC results in these ten journals is 1.40 (<xref ref-type="table" rid="T1">Table 1</xref>).</p>
<p>On the contrary, we found hundreds and thousands of articles mentioning the accuracy rate (<xref ref-type="table" rid="T1">Table 1</xref>), ranging from 135 articles of <italic>Science Robotics</italic> to 2,390 studies published in <italic>IEEE Robotics and Automation Letters</italic>. The average number of articles including accuracy results in these ten journals is 1,077.2 (<xref ref-type="table" rid="T1">Table 1</xref>).</p>
<p>The number of articles including the F<sub>1</sub> score was smaller than the accuracy ones, but definetely more than the MCC studies. The number of F<sub>1</sub> score articles ranged from none (<italic>Science Robotics</italic>) to 71 (<italic>IEEE Robotics and Automation Letters</italic>), with an overall average value of 19.30 (<xref ref-type="table" rid="T1">Table 1</xref>). Almost all the journals had at least ten published articles containing results measured by F<sub>1</sub> score, except <italic>IEEE Transactions on Robotics</italic> with eight articles and the already mentioned <italic>Science Robotics</italic> with zero.</p>
</statement>
</p>
</sec>
<sec sec-type="discussion" id="s3">
<title>3 Discussion</title>
<p>Our results clearly show that the Matthews correlation coefficient is almost unknown in robotics. F<sub>1</sub> score is clearly underused with respect to accuracy, but it is still known for all the journals except <italic>Science Robotics</italic>. The MCC, instead, is clearly out of radar for most of the robotics researchers that published articles in these ten robotics journals. The MCC is unknown probably also to the reviewers and the associate editors who handled the review of these manuscripts and did not invite the authors to include results measured by this statistical rate.</p>
<p>All the authors of all the manuscripts published in five robotics journals (<italic>Frontiers in Robotics and AI</italic>, <italic>IEEE Robotics and Automation Letters</italic>, <italic>IEEE Transactions on Robotics</italic>, <italic>Robotics and Intelligent Systems</italic>, and <italic>Science Robotics</italic>) decided not to include any result measured by the MCC.</p>
<p>Regarding <italic>Frontiers in Artificial Intelligence</italic>, we notice that the Matthews correlation coefficient was employed by the authors of three original research studies (<xref ref-type="bibr" rid="B1">Bhatt et al., 2021</xref>; <xref ref-type="bibr" rid="B14">Li et al., 2021</xref>; <xref ref-type="bibr" rid="B23">Wu et al., 2021</xref>), two methods articles (<xref ref-type="bibr" rid="B8">Fletcher et al., 2021</xref>; <xref ref-type="bibr" rid="B22">Weerawardhana et al., 2022</xref>), and one review (<xref ref-type="bibr" rid="B21">Tripathi et al., 2021</xref>). The study of <xref ref-type="bibr" rid="B14">Li et al. (2021)</xref> presents a deep learning application on chemoinformatics data for the prediction of carcinogenicity. Chemical data analysis is also the topic of the article by <xref ref-type="bibr" rid="B23">Wu et al. (2021)</xref>, which employs natural language processing techniques for drug labeling and indexing. <xref ref-type="bibr" rid="B8">Fletcher et al. (2021)</xref>, instead, present a study on fairness in artificial intelligence applied to public health, reporting a case study on machine learning applied to data of pulmonary disease. <xref ref-type="bibr" rid="B22">Weerawardhana et al. (2022)</xref> employed the MCC to measure the results in a human-aware intervention and behavior classification study, In their review article, <xref ref-type="bibr" rid="B21">Tripathi et al. (2021)</xref> reported some AI best practices in manufacturing, indicating the MCC as one of the confusion matrix rates employed in this field.</p>
<p>Among the five articles published in the <italic>Robotics and Autonomous Systems</italic> journal, three are about robots&#x2019; visual activities (<xref ref-type="bibr" rid="B2">Bosse and Zlot, 2009</xref>; <xref ref-type="bibr" rid="B18">&#xd6;zbilge, 2016</xref>; <xref ref-type="bibr" rid="B17">&#xd6;zbilge, 2019</xref>), one is about swarm robotics (<xref ref-type="bibr" rid="B12">Lau et al., 2011</xref>), and one is about human&#x2013;robot verbal interaction (<xref ref-type="bibr" rid="B9">Grassi et al., 2022</xref>).</p>
<p>The only article of <italic>Frontiers in Neurorobotics</italic> including results measured by the MCC is a study on visual perception of robots (<xref ref-type="bibr" rid="B13">Layher et al., 2017</xref>), while the only MCC study in <italic>International Journal of Robotics Research</italic> describes a dataset on urban point cloud obtained acquired by mobile laser scanning (<xref ref-type="bibr" rid="B19">Roynard et al., 2018</xref>). The article of the <italic>Journal of Field Robotics</italic> including MCC results is about the robotics visual obstacle detection (<xref ref-type="bibr" rid="B20">Santana et al., 2011</xref>). The presence of the MCC in these studies does not seem to follow a precise trend, but rather be occasionally employed by authors who are aware of MCC&#x2019;s assets, for reasons we do not know.</p>
<p>Regarding dates, it is interesting to notice that, except one article published in 2009 and one in 2011, all the other studies were published after 2016, showing an increased interest towards the Matthews correlation coefficient. Eight articles out of fourteen have been published in 2021 and 2022, suggesting a greater use of the MCC in future studies.</p>
<p>As we explained earlier, the amount of articles including MCC results is very low compared to the number of published studies involving accuracy and F<sub>1</sub> score (<xref ref-type="table" rid="T1">Table 1</xref>). And we think this is a serious drawback: as we explained in our study (<xref ref-type="bibr" rid="B4">Chicco and Jurman, 2020</xref>), the Matthews correlation coefficient is more informative and reliable than accuracy and F<sub>1</sub> score, because it takes into account the ratio of positive data instances, negative data instances, positive predictions, and negative predictions.</p>
<p>Accuracy and F<sub>1</sub> score both range between 0 and 1, with 0 meaning worst result possible and 1 meaning perfect prediction. An accuracy value of 0.9 and a F<sub>1</sub> score of 0.95, for example, suggest a very good binary classification. If the original dataset consisted of 91 positive elements and 9 negative elements, these results could be generated by a cracked classifier that labels everything as positive. If a classifier assigned the &#x201c;positive&#x201d; label to all the 100 data elements, the evaluation procedure would get accuracy &#x3d; 0.9 and F<sub>1</sub>&#x2009; score &#x3d; 0.95, which are clearly misleading results and could let the practitioner think that the binary classification was excellent. The MCC, instead, would have been &#x2013;0.03, that in the [ &#x2212; 1, &#x2b;1] interval indicates a poor prediction similar to random guessing: the MCC would inform the practitioner that her/his binary classification was quite bad, while accuracy and F<sub>1</sub> score tried to make her/him believe it was great.</p>
<p>We therefore invite the robotics and artificial intelligence communities to include results measured through the MCC for any binary classification analysis.</p>
</sec>
</body>
<back>
<sec id="s4">
<title>Author Contributions</title>
<p>DC conceived the study, did the literature search, and wrote most of the article. GJ reviewed and contributed to the article.</p>
</sec>
<sec sec-type="COI-statement" id="s5">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s6">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bhatt</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Roberts</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Connor</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hatim</surname>
<given-names>Q.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>DICE: A Drug Indication Classification and Encyclopedia for AI-Based Indication Extraction</article-title>. <source>Front. Artif. Intelligence</source> <volume>4</volume>, <fpage>711467</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2021.711467</pub-id> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bosse</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Zlot</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>Keypoint Design and Evaluation for Place Recognition in 2D Lidar Maps</article-title>. <source>Robotics Autonomous Syst.</source> <volume>57</volume>, <fpage>1211</fpage>&#x2013;<lpage>1224</lpage>. <pub-id pub-id-type="doi">10.1016/j.robot.2009.07.009</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chicco</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>T&#xf6;tsch</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Jurman</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2021a</year>). <article-title>The Matthews Correlation Coefficient (MCC) Is More Reliable Than Balanced Accuracy, Bookmaker Informedness, and Markedness in Two-Class Confusion Matrix Evaluation</article-title>. <source>BioData Min</source> <volume>14</volume>, <fpage>13</fpage>&#x2013;<lpage>22</lpage>. <pub-id pub-id-type="doi">10.1186/s13040-021-00244-z</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chicco</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Jurman</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>The Advantages of the Matthews Correlation Coefficient (MCC) over F1 Score and Accuracy in Binary Classification Evaluation</article-title>. <source>BMC Genomics</source> <volume>21</volume>, <fpage>6</fpage>. <pub-id pub-id-type="doi">10.1186/s12864-019-6413-7</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chicco</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Starovoitov</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Jurman</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>The Benefits of the Matthews Correlation Coefficient (MCC) over the Diagnostic Odds Ratio (DOR) in Binary Classification Assessment</article-title>. <source>IEEE Access</source> <volume>9</volume>, <fpage>47112</fpage>&#x2013;<lpage>47124</lpage>. <pub-id pub-id-type="doi">10.1109/access.2021.3068614</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chicco</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Ten Quick Tips for Machine Learning in Computational Biology</article-title>. <source>BioData Mining</source> <volume>10</volume>, <fpage>1</fpage>&#x2013;<lpage>17</lpage>. <pub-id pub-id-type="doi">10.1186/s13040-017-0155-3</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chicco</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Warrens</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Jurman</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2021b</year>). <article-title>The Matthews Correlation Coefficient (MCC) Is More Informative Than Cohen&#x27;s Kappa and Brier Score in Binary Classification Assessment</article-title>. <source>IEEE Access</source> <volume>9</volume>, <fpage>78368</fpage>&#x2013;<lpage>78381</lpage>. <pub-id pub-id-type="doi">10.1109/access.2021.3084050</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fletcher</surname>
<given-names>R. R.</given-names>
</name>
<name>
<surname>Nakeshimana</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Olubeko</surname>
<given-names>O.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Addressing Fairness, Bias, and Appropriate Use of Artificial Intelligence and Machine Learning in Global Health</article-title>. <source>Front. Artif. Intelligence</source> <volume>3</volume>, <fpage>116</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2020.561802</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Grassi</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Recchiuto</surname>
<given-names>C. T.</given-names>
</name>
<name>
<surname>Sgorbissa</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Knowledge Triggering, Extraction and Storage via Human-Robot Verbal Interaction</article-title>. <source>Robotics Autonomous Syst.</source> <volume>148</volume>, <fpage>103938</fpage>. <pub-id pub-id-type="doi">10.1016/j.robot.2021.103938</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Silamu</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Maximum F1-Score Discriminative Training Criterion for Automatic Mispronunciation Detection</article-title>. <source>Ieee/acm Trans. Audio Speech Lang. Process.</source> <volume>23</volume>, <fpage>787</fpage>&#x2013;<lpage>797</lpage>. <pub-id pub-id-type="doi">10.1109/taslp.2015.2409733</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jurman</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Riccadonna</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Furlanello</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>A Comparison of MCC and CEN Error Measures in Multi-Class Prediction</article-title>. <source>PLoS One</source> <volume>7</volume>, <fpage>e41882</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0041882</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lau</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Bate</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Cairns</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Timmis</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Adaptive Data-Driven Error Detection in Swarm Robotics with Statistical Classifiers</article-title>. <source>Robotics Autonomous Syst.</source> <volume>59</volume>, <fpage>1021</fpage>&#x2013;<lpage>1035</lpage>. <pub-id pub-id-type="doi">10.1016/j.robot.2011.08.008</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Layher</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Brosch</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Neumann</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Real-time Biologically Inspired Action Recognition from Key Poses Using a Neuromorphic Architecture</article-title>. <source>Front. Neurorobotics</source> <volume>11</volume>, <fpage>13</fpage>. <pub-id pub-id-type="doi">10.3389/fnbot.2017.00013</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Tong</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Roberts</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Thakkar</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>DeepCarc: Deep Learning-Powered Carcinogenicity Prediction Using Model-Level Representation</article-title>. <source>Front. Artif. Intell.</source> <volume>4</volume>, <fpage>757780</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2021.757780</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Lipton</surname>
<given-names>Z. C.</given-names>
</name>
<name>
<surname>Elkan</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Narayanaswamy</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2014</year>). <source>Thresholding Classifiers to Maximize F1 Score</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>arXiv</publisher-name>. </citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Matthews</surname>
<given-names>B. W.</given-names>
</name>
</person-group> (<year>1975</year>). <article-title>Comparison of the Predicted and Observed Secondary Structure of T4 Phage Lysozyme</article-title>. <source>Biochim. Biophys. Acta (Bba) &#x2013; Protein Struct.</source> <volume>405</volume>, <fpage>442</fpage>&#x2013;<lpage>451</lpage>. <pub-id pub-id-type="doi">10.1016/0005-2795(75)90109-9</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>&#xd6;zbilge</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Experiments in Online Expectation-Based novelty-detection Using 3D Shape and Colour Perceptions for mobile Robot Inspection</article-title>. <source>Robotics Autonomous Syst.</source> <volume>117</volume>, <fpage>68</fpage>&#x2013;<lpage>79</lpage>. <pub-id pub-id-type="doi">10.1016/j.robot.2019.04.003</pub-id> </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>&#xd6;zbilge</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>On-line Expectation-Based novelty Detection for mobile Robots</article-title>. <source>Robotics Autonomous Syst.</source> <volume>81</volume>, <fpage>33</fpage>&#x2013;<lpage>47</lpage>. <pub-id pub-id-type="doi">10.1016/j.robot.2016.03.009</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Roynard</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Deschaud</surname>
<given-names>J.-E.</given-names>
</name>
<name>
<surname>Goulette</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Paris-Lille-3D: A Large and High-Quality Ground-Truth Urban point Cloud Dataset for Automatic Segmentation and Classification</article-title>. <source>Int. J. Robotics Res.</source> <volume>37</volume>, <fpage>545</fpage>&#x2013;<lpage>557</lpage>. <pub-id pub-id-type="doi">10.1177/0278364918767506</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Santana</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Guedes</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Correia</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Barata</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Stereo-based All-Terrain Obstacle Detection Using Visual Saliency</article-title>. <source>J. Field Robotics</source> <volume>28</volume>, <fpage>241</fpage>&#x2013;<lpage>263</lpage>. <pub-id pub-id-type="doi">10.1002/rob.20376</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Tripathi</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Muhr</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Brunner</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jodlbauer</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Dehmer</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Emmert-Streib</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Ensuring the Robustness and Reliability of Data-Driven Knowledge Discovery Models in Production and Manufacturing</article-title>. <source>Front. Artif. Intelligence</source> <volume>4</volume>, <fpage>22</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2021.576892</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Weerawardhana</surname>
<given-names>S. S.</given-names>
</name>
<name>
<surname>Whitley</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Roberts</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Models of Intervention: Helping Agents and Human Users Avoid Undesirable Outcomes</article-title>. <source>Front. Artif. Intelligence</source> <volume>4</volume>, <fpage>723936</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2021.723936</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Tong</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>BERT-based Natural Language Processing of Drug Labeling Documents: A Case Study for Classifying Drug-Induced Liver Injury Risk</article-title>. <source>Front. Artif. Intell.</source> <volume>4</volume>, <fpage>729834</fpage>. <pub-id pub-id-type="doi">10.3389/frai.2021.729834</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Yao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shepperd</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters</article-title>,&#x201d; in <conf-name>Proceedings of EA&#x2019;20 &#x2010; the 24th International Conference on Evaluation and Assessment in Software Engineering</conf-name>, <conf-loc>Trondheim, Norway</conf-loc>, <conf-date>April 15&#x2013;17, 2020</conf-date>, <fpage>120</fpage>&#x2013;<lpage>129</lpage>. </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhu</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>On the Performance of Matthews Correlation Coefficient (MCC) for Imbalanced Dataset</article-title>. <source>Pattern Recognition Lett.</source> <volume>136</volume>, <fpage>71</fpage>&#x2013;<lpage>80</lpage>. <pub-id pub-id-type="doi">10.1016/j.patrec.2020.03.030</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Zliobaite</surname>
<given-names>I.</given-names>
</name>
</person-group> (<year>2015</year>). <source>On the Relation between Accuracy and Fairness in Binary Classification</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>arXiv</publisher-name>. </citation>
</ref>
</ref-list>
</back>
</article>