Tomato disease diagnosis method based on naive Bayes classifier and sensor data

Fuente: WIPO "processing tomato"
The invention discloses a tomato disease diagnosis method based on a naive Bayes classifier and sensor data, and the method comprises the steps: obtaining a feature description and a solution corresponding to a tomato disease from a planting book, and taking the feature description and the solution as a standard text case; performing word segmentation preprocessing on the standard text case, and segmenting continuous text statements in the standard text case to obtain single vocabularies convenient for IF-IDF processing; using a TF-IDF method to carry out vectorization processing on the standard text case after word segmentation; using a naive Bayes classifier to train the standard text case after the TF-IDF vectorization processing; predicting a plurality of cases describing tomato disease characteristics by using the trained model to obtain a text diagnosis result; a diagnosis result is further optimized through data collected by a sensor, and a corresponding disease solution is provided; the accuracy of tomato disease diagnosis can be improved, so that the crop yield is increased.