Neural-network analysis of CO adlayer structures and lateral interactions on transition metal surfaces | Synapse