Using artificial intelligence to assess ulcerative colitis