Skip to content

Commit

Permalink
use less digits for report by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Nov 17, 2016
1 parent 40ee8ae commit c3bc2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn_crfsuite/trainer.py
Expand Up @@ -41,7 +41,7 @@ def on_optimization_end(self, log):
]
table = tabulate(data,
headers=["Label", "Precision", "Recall", "F1", "Support"],
# floatfmt="0.4f",
floatfmt="0.3f",
)
size = len(table.splitlines()[0])
print("="*size)
Expand Down

0 comments on commit c3bc2b6

Please sign in to comment.