Skip to content

Instantly share code, notes, and snippets.

@martinapugliese
Created May 5, 2018 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinapugliese/87eb913e629d626de6f77ccec012085a to your computer and use it in GitHub Desktop.
Save martinapugliese/87eb913e629d626de6f77ccec012085a to your computer and use it in GitHub Desktop.

A collection of little libraries that help workflow

TQDM

Shows progress bar in a notebook's cell.

for i in tqdm(range(10), 'wasting time', unit='iterations wasted'):
    sleep(0.5)

ElI5

Visualise and debug ML models, works on top of scikit-learn and others.

https://eli5.readthedocs.io/en/latest/

Really cool, look at the examples.

Profiling

There is a little Jupyter extension that creates a heatmap for profiling your code.

%load_ext heat

%%heat (in the cell)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment