Machine Learning Reveals Composition Dependent Thermal Stability in Halide Perovskites