The research paper's abstract says this:
>The results show with 90% of accuracy that the electrome registered in the fruit's peduncle before herbivory is different from the electrome during predation on the fruits. Interestingly, there was also a sharp difference in the electrome of the green and ripe fruits' peduncles before, but not during, the herbivory, which demonstrates that the signals generated by the herbivory stand over the others. Biochemical analysis showed that herbivory in the fruit triggered an oxidative response in other parts of the plant.
https://www.frontiersin.org/articles/10.3389/fsufs.2021.6574...
e: side note, this is the software they used for the computation, including Machine Learning.
>The code libraries used were: Numpy and Pandas for data manipulation; Scipy, Obspy and Math for mathematical calculations; Matplotlib for creating graphics; Sklearn and Statsmodels for machine learning.