Skip to content

Instantly share code, notes, and snippets.

View peadarcoylezopa's full-sized avatar

peadarcoylezopa

View GitHub Profile
@peadarcoylezopa
peadarcoylezopa / snippet_reproducibility.py
Created September 21, 2017 10:35
Neat snippet for reproducibility
import sys, IPython, scipy, matplotlib, platform
print("This notebook was createad on a computer %s running %s and using:\nPython %s\nIPython %s\nPyMC3 %s\nNumPy %s\nSciPy %s\nMatplotlib %s\nSeaborn %s\n" % (platform.machine(), ' '.join(platform.linux_distribution()[:2]),
sys.version[:5], IPython.__version__, pm.__version__, np.__version__, scipy.__version__, matplotlib.__version__, sns.__version__))