mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-11-02 02:53:31 +00:00
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:
parent
ab94c6c5d1
commit
639ca591d8
@ -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
|
||||
|
||||
@ -1 +1 @@
|
||||
__version__ = "0.15.12-dev0" # pragma: no cover
|
||||
__version__ = "0.15.12-dev1" # pragma: no cover
|
||||
|
||||
@ -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),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user