Python implementation of deep auto encoders