Supervised machine learning of ultracold atoms with speckle disorder