refactored rbm config in preparation for batch training