scikit learn style implementation of regression and classification neural network with Hinton's dropout