A Hybrid Framework for Healing Semigroups with Machine Learning