Using AI to detect how humans have adapted to recent diseases