Decision trees for automated identification of cosmic-ray hits in Hubble Space Telescope images | Synapse