Machine learning for monitoring performance and classification of faults in PV systems