A semi-distributed adaptive model for flood forecasting with different representations of losses