fix: Table metric typo (#3623)

It looks like we puts columns when we meant rows in one of the table
metrics. @pravin-unstructured flagged this.
This commit is contained in:
qued 2024-09-12 14:47:53 -05:00 committed by GitHub
parent ab94c6c5d1
commit 639ca591d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
## 0.15.12-dev0
## 0.15.12-dev1
### Enhancements
@ -6,6 +6,8 @@
### Fixes
* **Fixed table accuracy metric** Table accuracy was incorrectly using column content difference in calculating row accuracy.
## 0.15.11
### Enhancements

View File

@ -1 +1 @@
__version__ = "0.15.12-dev0" # pragma: no cover
__version__ = "0.15.12-dev1" # pragma: no cover

View File

@ -176,5 +176,5 @@ class TableAlignment:
"col_index_acc": round(np.mean(col_index_acc), 2),
"row_index_acc": round(np.mean(row_index_acc), 2),
"col_content_acc": round(np.mean(content_diff_cols) / 100.0, 2),
"row_content_acc": round(np.mean(content_diff_cols) / 100.0, 2),
"row_content_acc": round(np.mean(content_diff_rows) / 100.0, 2),
}