Clustered K nearest neighbor algorithm for daily inflow forecasting