Text this: A Machine Learning-Based Novel Energy Optimization Algorithm in a Photovoltaic Solar Power System