This invention relates to a
heuristic-based method for generating fault patterns in the
aviation field, comprising: S1, extracting features from
aviation fault text data using a bag-of-words model and the term frequency-inverse text frequency
index method; S2, performing clustering category analysis of
aviation fault text data based on k-means
heuristics; S3, detecting outliers, extracting faults, and concatenating faults in the aviation fault text data to obtain fault pattern names; and S4,
processing the obtained fault description text in real time to generate aviation fault patterns. This invention completes text data clustering category analysis using a bag-of-words model, the term frequency-inverse text frequency
index method, and the k-means
heuristic method. Furthermore, it obtains fault pattern names through
outlier detection, fault extraction, and
concatenation, enabling real-time detection of fault text data. By periodically re-clustering, it can discover new fault patterns by utilizing existing prior knowledge, thereby improving the accuracy and effectiveness of fault
pattern detection.