Thermal errors are the major contributor to the dimensional errors of a workpiece in precision machining. Error compensation technique is a cost-effective way to reduce thermal errors. Accurate modeling of errors is a prerequisite of error compensation. In this paper, a thermal error model was proposed by using projection pursuit regression (PPR). The PPR method improves the prediction accuracy of thermal deformation in the CNC turning center.