Rainfall forecasting using neural networks