The invention discloses a wind
turbine generator fault early warning method based on
machine learning, and relates to the field of wind
turbine generator fault early warning. The method comprises the following steps: preprocessing data; the method comprises the following steps: preprocessing historical sample data of a healthy fan, dividing the preprocessed historical sample data of the healthy fan into a
training set and a
test set, respectively inputting the
training set into a Stacking fusion model and a Blending fusion model for training, carrying out comprehensive testing through the
test set to obtain a Stacking offline model and a Blending offline model, respectively sending
verification data to the Stacking offline model and the Blending offline model, and carrying out comprehensive testing through the
test set to obtain a Blending offline model and a Stacking offline model; selecting an optimal model through a self-adaptive threshold value; and inputting actual data of the wind
turbine generator into the optimal model to obtain whether the wind turbine generator has a fault or not. According to the method, on the premise that the prediction effect is guaranteed, fault early warning can be carried out early, and for the conditions that the operation range of a draught fan is wide, data is diversified and missing exists, the problems that the model precision and stability are reduced due to data missing, and
overfitting is caused due to the fact that the model is too complex can be effectively solved.