The Application of Cluster Analysis in Fault Diagnosis