The application provides a method for identifying the inflammatory activity grade of
ulcerative colitis based on dynamic graph multi-instance learning, which comprises data collection, data preprocessing, dynamic graph multi-instance learning model construction for
inflammation activity diagnosis and model evaluation. The data collection mainly comprises collecting
pathological images of
ulcerative colitis patients, digitizing through a digital
scanner, and excluding a part of
pathological images containing problems such as blur, discoloration and abnormal
staining, and finally determining the grading
label of each
pathological image by senior gastrointestinal
pathology experts. The data preprocessing mainly comprises
processing the digital pathological images, converting the digital pathological images into image blocks, then using a
visual basic model to extract features from each image block, and finally constructing a dynamic graph multi-instance learning model for training. The application promotes the exploration of the internal relationship of the image blocks input into the WSI, and improves the prediction effect of the model.