Code supporting: An unsupervised machine learning approach for ground‐motion spectra clustering and selection. Earthquake Engng Struct Dyn. 2023;00:1‐19. https://doi.org/10.1002/eqe.4062