The Python code snippet below uses the multiprocessing library to processes a list of tasks in parallel using a pool of 5 threads. note: Python…
Parameter Grid-searching with Python’s itertools
Python’s Itertools offers a great solution when you want to do a grid-search for optimal hyperparameter values, -or in general generate sets of experiments-. In…
Running PostgreSQL using Docker
Running PostgreSQL using Docker on your local machine is very straightforward, ..and very handy when you’re developing! The following docker-compose file launches a PostgreSQL 13.1…
Responsive 3D.js plots
The plot below is generated with the D3.js plotting library. Normally, D3.js plots have a fixed size, but we needed responsive plots that automatically adjust…