Efficient detection and prediction of flood severity using machine learning algorithm