Machine learning is sifting through millions of chemicals in a postmodern hunt for something promising.