Smart Algorithm Based on the Optimization of SVR Technique by k-NNR Method for the Prognosis of the Open-Circuit and the Reversed Polarity Faults in a PV Generator