We show that the machine learning approach based on the steroid relationships developed here was much more accurate than the PSA, DHEAS, and direct absolute value match method in separating the PCa, BPH and control subjects, increasing the sensitivity to 90% and specificity to 84%. The gene discussed is KLK3; the disease is posterior cortical atrophy.