| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Confusion & ClassificationTable: Increase confusion count</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Confusion & ClassificationTable: Increase confusion count |
| 13 | </b></font></table></table> |
| 14 | <p>Increases the contents of cell(s) in the selected <a href="Confusion.html">Confusion</a>. The cells to increase are determined by the selected <a href="ClassificationTable.html">ClassificationTable</a>.</p> |
| 15 | <h2>Behaviour</h2> |
| 16 | <p>For each row in the ClassificationTable object the contents of one cell in the Confusion we be increased by one. This cell is determined as follows: we start by finding the label of the column which the largest number in it. This label is defined as the <b>response label</b>. We use the corresponding row label as the <b>stimulus label</b>. The content of the cell in the Confusion object whose row and column are labeled with <b>stimulus label</b> and <b>response label</b>, respectively, is increased by one.</p> |
| 17 | <hr> |
| 18 | <address> |
| 19 | <p>© djmw 20230801</p> |
| 20 | </address> |
| 21 | </body> |
| 22 | </html> |