A cloud automatic recognition method for PV power prediction