CD4 and tuberculosis: First, the ML model successfully identified two clinically distinct TB patient subtypes—inflammatory-dominant (CRP > 10 mg/L) and immune-dysregulated (CD4/CD8 < 1.5)—with differential treatment responses (p < 0.001).