https://github.com/minrk/wurlitzer redirects terminal output to jupyter notebook: verbose output for parameter tuning in gridsearch e.g.