A new machine learning tool could flag dangerous bacteria before they cause an outbreak