Statistical and machine learning methods applied to the prediction of different tropical rainfall types