Commit 2dfc9653 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: minor change.

parent bbc45c61
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -237,7 +237,8 @@ def generate_text_report(results, summary, palette_fn, output_fn, name='output')
table_lines.append(['Overall Accuracy :', '{:.2f}'.format(rs['accuracy'])])
table_lines.append(['Cohen\'s Kappa :', '{:.2f}'.format(rs['kappa'])])
lines.append(tabulate.tabulate(table_lines, tablefmt='plain'))
lines.append('\n')
tabulate.PRESERVE_WHITESPACE = True
table_head = ['Label','Class','Precision','Recall','F1-score']
table_lines = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment