Learning Deep Architectures For Ai