This case-control study aimed to evaluate the expression of cystatin B (CSTB) and deleted in malignant brain tumor 1 (DMBT1) in the saliva of GC patients with healthy individuals to construct diagnostic algorithms using statistical analysis and machine learning methods. The gene discussed is CSTB; the disease is gastric cancer.