Automatic Fault detection through Supervised Machine Learning Techniques using histogram and extracted statistical parameters