microprediction / runthis

Mini-package to make it trivial to track experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

runthis tests deploy-pypi

Trivial utility to help you arrange experiments like this:

Don't want to do that? Thanks for stopping by anyway.

Never edit script contents

Instead, infer from the file names:

    if __name__=='__main__':
        import os
        kwargs = parse_kwargs(__file__.split(os.path.sep)[-1])
        my_experiment(**kwargs)

See example

New experiment? Make a copy of the file and edit the name only.

Int, float arguments

Just call the experiment file

   my_function?n=int:5&d=cat&init=[float:0.2,float:0.2,float:0.2].py

There's a short blog post here but I think you've got the gist.

About

Mini-package to make it trivial to track experiments

License:MIT License


Languages

Language:Python 100.0%