The nearest neighbor yarn neps prediction model based on gray correlation in this paper predicts that the relative error of the yarn neps indicator data set is basically within 10%, and the average relative error and root mean square error are very low. The prediction performance of the adjacent yarn neps prediction model is better, the data accuracy is higher, and the data amplitude fluctuation is smaller.