Shape Data Analysis For Machine Learning In Power Systems Applications