Machine Learning Tools for Predicting Solar Energetic Particle Hazards