Comparative analysis of machine learning algorithms for prediction of smart grid stability †