Rare-Event Simulation for Neural Network and Random Forest Predictors