Resilience actions to counteract the effects of climate change and health emergencies in cities: the role of artificial neural networks