some logging and training
Merge branch 'master' of https://github.com/publicscience/brain