Machine learning pipeline for rare-event detection in synthetic-aperture radar and LIDAR data