Learning Models for Seismic-Induced Vibrations Optimal Control in Structures via Random Forests