Optimising artificial intelligence in the pharmaceutical industry