CD274 and thyroid gland disorder: This study aims to explore the factors associated with thyroid-related adverse events in patients with anti-PD-1/PD-L1 agents by training predictive models utilizing various machine learning approaches.