A comparative study of quantitative structure-activity relationships involving diaminopyrimidines as DHFR inhibitors using regression analysis and the neural-network approach suggests that the neural network can outperform traditional methods. The technique permits the highlighting the functional form of those parameters which have an influence on the biological activity.