remove several warnings / deprecated functionality associated with
warnings
more selective warning about dropout being stochastic
autopep8 -i bgd.py