Automated generation and ensemble-learned matching of X-ray absorption spectra | Synapse