r/MachineLearning · · 1 min read

I silently break training codes or configs so I made pybench [P]

Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.

It is like pytest but for statistical tests: it ensures no regression of your metrics at a statistical level.

It manages tedious things such that seeds, past benchmark results, ...

Simple CLI working like pytest but with benchmarks/ directory instead of tests/:

pybench # 1st time: samples seeds, saves a baseline, marks NEW pybench # later: reruns on the same seeds, marks PASS / FAIL pybench update # re-baseline after an intended change pybench show # print current baseline stats (--history for per commit) 

Please give me your feedback,

Github: https://github.com/AnthonyBeeblebrox/pybench

Docs: https://pybench.readthedocs.io/en/latest/

submitted by /u/SpecificPark2594
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/MachineLearning