Abstract:According to the matching relation between the antibody and the antigen, the rules of self adaptive adjustment of the pruning threshold and the suppression threshold in aiNet are presented. A distance threshold limitation is added to nearest neighbor algorithm. Then, the performance of the fault diagnosis algorithm is improved. The simulation result shows that the fault diagnosis accuracy of the improved algorithm is excellent.