Development of plasma control algorithm design via machine learning