**6. Conclusion**

In the area of theoretical high-energy physics, the suggested ANFIS system has gained a good reputation. Due to variations in the kind, quantity, and number of membership functions as well as the number of epochs, the system is intended to identify the best ANFIS that can do the best test and prediction. As a result, numerous efforts are performed to identify the best ANFIS that makes use of a few epochs and membership functions. On the pp. interaction, ANFIS was used and put to the test. The pp. -based ANFIS model calculates *D* mesons ratios (*D*þ*=D*0, *D*<sup>∗</sup> <sup>þ</sup>*=D*0, *D*<sup>þ</sup> *<sup>s</sup> =D*<sup>0</sup> *and D*<sup>þ</sup> *<sup>s</sup> =D*þ) and differential production cross section of prompt *D*0, *D*þ, *D*<sup>∗</sup> <sup>þ</sup>, *D*<sup>þ</sup> *<sup>s</sup>* mesons as a function of *PT* at ffiffi *s* p = 5.02 and 7 TeV. ANFIS system reached the optimal solution using 50 epochs and 'gbellmf' membership function. The training simulation results demonstrated flawless fitting to the experimental data. With data points not used in training, the ANFIS's prediction ability is tested, and it performs well. The outcomes convincingly show the viability and efficacy of such a method for obtaining collision information. The proposed ANFIS is a powerful mechanism for forecasting the behavior of pp. interaction.
