Machine learning system for reliable prediction of power grid failures