Developing global image feature analysis models to predict cancer risk and prognosis