If that were the case, AI would really struggle to predict this 3 years ahead. The AI has to make a decent prediction of who will shop at walmart, who will buy the mega burger, and when they will eat it.
So, the fact AI can make a decent prediction 3 years out suggests that if there is a 'trigger event' that causes some/all stomach cancers, that the trigger event is either very predictable, or happens more than 3 years before diagnosis.