The invention discloses a large-scale customized quality prediction method based on a heterogeneous causal graph
attention network. The quality prediction method is designed for the characteristics of modular production, customized
assembly and the like of a large-scale customized production mode and the problems of multiple scales and data mixing in data. The method comprises the following steps: firstly, providing a PCAM causal discovery
algorithm, constructing a causal skeleton by utilizing mechanism and
data combination, and obtaining a reliable causal graph
structure based on an additive
noise model and by introducing a scoring mechanism; then designing a heterogeneous causal graph
attention network HCGAT for a multi-scale problem based on a causal graph structure, mapping node features of different dimensions to the same dimension by using different weight parameter matrixes, and training through the graph
attention network; and finally, aiming at the characteristics of large-scale customized production of customized products, a quality prediction framework suitable for large-scale customized production is provided, customized codes are designed through customized
assembly information, and a filter and a judger are constructed based on the customized codes to classify and process data. And performing quality prediction on different types of
product data by using HCGAT as a sub-model.