Improving cow health and milk quality with artificial intelligence