A machine-learning approach for regional photovoltaic power forecasting