Machine learning algorithm helps in the search for new drugs