The paper discusses a novel approach to modeling thermal errors in CNC machine tools using a Dynamic Bayesian Network (DBN), integrating fuzzy classification to enhance accuracy and computational efficiency. It aims to improve real-time prediction and compensation of thermal errors by modeling the relationship between temperature fields and thermal errors. The proposed model leverages both expert knowledge and real-time data to adapt to changing operational conditions, presenting a promising method for assessing and managing thermal inaccuracies in machine tools.