Farmland weed intelligent identification method based on evolution PU learning

Through the method based on evolutionary PU learning, the identification of farmland weeds is optimized, which solves the problem of the dependence of traditional spraying methods and the dependence of supervised learning on labeled samples, achieves more efficient farmland weed identification and spraying decisions, and reduces the agricultural cost. production costs.

CN118736423AActive Publication Date: 2024-10-01ANHUI UNIV

Patent Information

Application Number
CN202411107445.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-01
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

Traditional spraying methods in farmland have problems such as reliance on manual judgment, time and effort, pesticide waste, and environmental pollution. In addition, supervised learning methods rely on a large number of labeled samples, resulting in inaccurate identification of farmland weeds and increasing agricultural production costs.

Method used

The intelligent identification method of farmland weeds based on evolutionary PU learning is adopted, the PU learning process is optimized through the evolutionary algorithm, the similarity measure value is calculated using the Euclidean distance formula, a multi-task optimization objective function is established, and the NSGA-Ⅱ algorithm is combined for population selection and knowledge transfer. Break the dependence on a large number of labeled samples and improve the accuracy of farmland weed identification.

Benefits of technology

It improves the accuracy of farmland weed identification and spraying decisions, reduces agricultural production costs, overcomes the limitations of traditional methods in processing unlabeled samples, and achieves more efficient farmland intelligent spraying operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736423A_ABST
    Figure CN118736423A_ABST
Patent Text Reader

Abstract

The invention discloses a farmland weed intelligent identification method based on evolution PU learning, and the method comprises the steps: 1, collecting crop image data of labeled samples and unlabeled samples, extracting and normalizing the attribute features of plants, and constructing a data set; 2, constructing a label prediction model of the crop image data sample; 3, constructing a main population and an auxiliary population for the training set based on a binary competition strategy, and setting states of the main population and the auxiliary population; 4, the performance of the model is improved through iterative optimization of the evolutionary multi-task optimization method; 5, the population state is gradually updated in the evolution process; and 6, finally selecting an optimal individual from the population as a final classifier for screening weeds from the target crop image. According to the method, the limitation of unlabeled samples on weed recognition is overcome, so that the accuracy and efficiency of weed recognition can be improved, and more scientific and efficient farmland intelligent pesticide spraying operation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of statistical learning classification, and in particular to an intelligent identification method of farmland weeds based on evolutionary PU learning. Background Art

[0002] In agricultural production, spraying pesticides on farmland is an important part of preventing and controlling pests and diseases and increasing crop yields. However, traditional spraying methods have many shortcomings. Manual targeted spraying relies on the subjective judgment and experience of agricultural producers, which is time-consuming and labor-intensive, and easily leads to the risk of pesticide poisoning. On the other hand, although agricultural machinery and drones can spray pesticides evenly over a large area, they save time and effort. However, due to the uneven distribution of weeds in farmland, quantitative spraying often leads to excessive waste of pesticides in areas with sparse weeds, polluting the environment, while in areas with dense weeds, the pesticides may be ineffective due to insufficient dosage, increasing agricultural production costs and being detrimental to the sustainable development of agricultural ecology. At the same time, traditional supervised learning methods often rely on a large number of labeled samples when processing crop image data, which brings about the problem of difficulty in obtaining labels for weed identification, making it impossible for spraying technology to accurately distinguish between weeds and crops, resulting in waste of pesticides and environmental pollution. At the same time, it may not be able to effectively control weeds due to insufficient dosage, increasing agricultural production costs. This is both time-consuming and expensive in agricultural practice, limiting the accuracy and robustness of classification. Summary of the invention

[0003] The present invention aims to solve the deficiencies of the above-mentioned prior art and proposes an intelligent identification method for farmland weeds based on evolutionary PU learning, in order to improve the accuracy of farmland weed identification by combining evolutionary algorithm to intelligently optimize the PU learning process, thereby laying the foundation for accurate spraying decision-making and realizing more scientific and efficient farmland intelligent spraying operations.

[0004] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0005] The intelligent identification method of farmland weeds based on evolutionary PU learning of the present invention is characterized in that it is carried out according to the following steps:

[0006] Step 1: Collect labeled and unlabeled crop image data, extract plant attribute features from the crop image data, and perform standard normalization to obtain a crop image sample set, denoted as ,in, Indicates Sample crop images, is a dimensional attribute feature vector, Indicates Sample crop images Middle attribute characteristics; The labeled crop image sample set is denoted as , The label is recorded as , Indicates labeled crop image samples, express ; The unlabeled crop image sample set is denoted as , Indicates unlabeled crop image samples; and , , , =1, indicating The category is crops, =-1 means The category is weeds;

[0007] Step 2: Initialization;

[0008] Step 2.1: Define the current number of iterations as , the maximum number of iterations is , and initialize ;

[0009] Step 2.2: Calculate using the Euclidean distance formula The labeled similarity measure between the attribute features of any two crop image samples in , thereby obtaining several labeled similarity measures and inputting them into a sub-classifier for training, thereby obtaining a trained labeled crop sub-classifier;

[0010] The trained labeled crop sub-classifier is taken as an original individual, thus The original individuals form the Original population ,in, Indicates Original population Middle original individual;

[0011] Step 2.3: Calculate using the Euclidean distance formula The attribute characteristics of any crop image sample in The similarity measure value between the attribute features of any crop image sample in the image is obtained, thereby obtaining several similarity measure values ​​and inputting them into another sub-classifier for training to obtain a trained crop sub-classifier;

[0012] The trained crop sub-classifier is used as an auxiliary individual, so that The auxiliary individuals constitute Generation of assisted population ;in, Indicates Generation of assisted population Middle Auxiliary individuals;

[0013] Step 3: Use the evolutionary multi-task optimization algorithm to solve the crop image prediction model;

[0014] Step 3.1: Use formula (1) to establish the first objective function of the crop image prediction model: True positive rate :

[0015] (1)

[0016] In formula (1), TP is The number of image samples whose categories are correctly predicted in , FN is The number of image samples whose categories are incorrectly predicted in ;

[0017] Step 3.2: Use equation (2) to establish the second objective function of the crop image prediction model :

[0018] (2)

[0019] Formula (2): and is a sample set of unlabeled crop images The image sample set predicted as the crop category and the image sample set predicted as the weed category in , express The number of Indicated quantity, and Respectively expressed in Middle The image samples predicted to be weeds and image samples predicted to be crop classes, represents the classification function, is an indicator function, if , then let , otherwise, let ;

[0020] Step 3.3: Use equation (3) to establish the objective function of the crop image prediction model :

[0021] (3)

[0022] Step 3.4: Calculate the Original population and auxiliary population The objective function value of each individual in ;

[0023] Step 3.5: and Perform mating pool selection respectively to obtain Original parent and Auxiliary parent ;

[0024] Step 3.6: Generate offspring:

[0025] The genetic operators in the NSGA-Ⅱ algorithm are used to and Each individual in is processed to produce a corresponding size The g-th generation offspring population and Auxiliary progeny population ;

[0026] Step 3.7: and Merge and Merge, and then conduct environmental selection on the two merged populations respectively, and get the Original population and Generation of assisted population ;

[0027] Step 3.8: Obtain population knowledge:

[0028] Step 3.8.1: If When, yes Original population Sort the non-dominated levels and select all individuals in the highest non-dominated level. Then use the voting-based ensemble method to process all individuals in the highest non-dominated level to obtain the first Original knowledge guide vector Otherwise, Assign to , and return to step 3.4; is the set iteration threshold;

[0029] Step 3.8.2: Follow the process in step 3.8.1 to Generation of assisted population Process it and get Generation of auxiliary knowledge guidance vector ;

[0030] Step 3.9: Bidirectional knowledge transfer mechanism between populations:

[0031] Step 3.9.1: When When Transfer to the original population of generation g Among all individuals in the highest non-dominated rank and all individuals in the lowest non-dominated rank; otherwise, +1 assigned to , and return to step 3.4; where, represents another set iteration threshold;

[0032] Step 3.9.2: When When Transfer to Generation of assisted population All individuals in the highest non-dominated level of , and then use the mixed update operator to generate several individuals and replace some individuals in the remaining non-dominated high-level; otherwise, +1 assigned to , and return to step 3.4;

[0033] Step 4: +1 assigned to ,judge Is it true? If true, it means that the final Original population and Generation of assisted population , execute step 5; otherwise, +1 assigned to , and return to step 3.4 to execute sequentially;

[0034] Step 5: From The individual corresponding to the optimal objective function value is selected as the crop image data prediction model, which is used to screen out weeds from the target plant image and spray pesticides on the weeds.

[0035] The method for intelligent identification of farmland weeds based on evolutionary PU learning of the present invention is also characterized in that step 3.5 comprises:

[0036] Step 3.5.1: According to The objective function value of each individual in the NSGA-Ⅱ algorithm is selected by the mating pool selection method. The original population of the first generation After each individual in the non-dominated sort is performed and the crowding distance is calculated, a binary tournament selection is performed until the Individual as the first Original parent ;

[0037] Step 3.5.2: Follow the process in step 3.5.1 to Generation of assisted population Process it and get Auxiliary parent .

[0038] The step 3.7 comprises:

[0039] Step 3.7.1: and Merged to form Temporary original population , and calculate the first Temporary population The objective function value of each individual in Each individual in the non-dominated ranking is sorted, and all individuals in each non-dominated ranking are selected in descending order of non-dominated ranking and used as the first Original population individuals in the Original population Until the number of individuals in the selected level reaches N; if the number of individuals in the selected level is greater than Original population The number of individuals remaining in the selected level is calculated, and the individual with the smallest crowding distance is selected to join the first level. Original population middle;

[0040] Step 3.7.2: Follow the process of step 3.7.1, To The merger formed Temporary auxiliary population Process it and get Generation of assisted population .

[0041] The attribute feature values ​​of the crop image samples include: color features, texture features, shape features, and spectral features.

[0042] Use the mixed update operator to generate several individuals in the following process:

[0043] according to , using the Euclidean distance formula to calculate the crop image samples The similarity measure values ​​between the attribute features of all crop image samples in the dataset are obtained, and then several similarity measure values ​​are selected according to the descending order of the similarity measure values ​​and input into several individual sub-classifiers for training, and several trained crop sub-classifiers are obtained as several generated individuals.

[0044] The electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the method for intelligently identifying farmland weeds, and the processor is configured to execute the program stored in the memory.

[0045] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the method for intelligently identifying farmland weeds when the computer program is run by a processor.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] 1. Different from the traditional supervised learning classification method, this invention proposes an intelligent identification method for farmland weeds based on evolutionary PU learning, which breaks the excessive dependence of traditional supervised learning on a large number of labeled samples. By fully mining the information relationship between unlabeled samples and a small number of normal growth samples, it provides a more efficient solution for crop image classification.

[0048] 2. In the process of training crop image data prediction model parameters, the present invention directly optimizes the objective function and These two objectives can well measure the overall performance of label uncertainty and category imbalance data processing, thereby overcoming the dependence of traditional classification methods on data labels, making the trained crop prediction model superior to the traditional prediction model, thereby improving the accuracy of farmland weed identification and the accuracy of spraying decisions.

[0049] 3. The present invention adopts the framework of evolutionary task optimization, which not only improves the speed of the population in finding the optimal solution and saves computing resources, but also overcomes the limitations of traditional crop image technology in processing a large number of unlabeled samples, and successfully solves the shortcomings of traditional supervised learning methods in utilizing crop image sample information. It enables the crop image prediction model to be trained using a large number of unlabeled samples, improves the accuracy and robustness of image classification, and reduces the time and cost of data labeling in agricultural practice. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0051] In this embodiment, an intelligent farmland weed recognition method based on evolutionary PU learning is used to overcome the excessive reliance of traditional supervised learning methods on a large number of labeled samples. An evolutionary algorithm is introduced as a heuristic optimization algorithm to simulate the process of natural selection, thereby improving the accuracy of weed recognition in crop images. Specifically, Figure 1 As shown, the method comprises the following steps:

[0052] Step 1: Crop image data prediction model training:

[0053] Step 1: Collect labeled and unlabeled crop image data, extract plant attribute features from the crop image data, and perform standard normalization to obtain a crop image sample set, denoted as ,in, Indicates Sample crop images, is a dimensional attribute feature vector, Indicates Sample crop images Middle attribute characteristics; The labeled crop image sample set is denoted as , The label is recorded as , Indicates labeled crop image samples, express ; The unlabeled crop image sample set is denoted as , Indicates unlabeled crop image samples; and , , , =1, indicating The category is crops, =-1 means The category is weeds;

[0054] Step 2: Initialization;

[0055] Step 2.1: Define the current number of iterations as , the maximum number of iterations is , and initialize ;

[0056] Step 2.2: Calculate using the Euclidean distance formula The labeled similarity measure between the attribute features of any two crop image samples in , thereby obtaining several labeled similarity measures and inputting them into a sub-classifier for training, thereby obtaining a trained labeled crop sub-classifier;

[0057] The trained labeled crop sub-classifier is taken as an original individual, thus The original individuals form the Original population ,in, Indicates Original population Middle An original individual.

[0058] Step 2.3: Calculate using the Euclidean distance formula The attribute characteristics of any crop image sample in The similarity measure value between the attribute features of any crop image sample in the image is obtained, thereby obtaining several similarity measure values ​​and inputting them into another sub-classifier for training to obtain a trained crop sub-classifier;

[0059] The trained crop sub-classifier is used as an auxiliary individual, so that The auxiliary individuals constitute Generation of assisted population ;in, Indicates Generation of assisted population Middle A supporting individual.

[0060] Step 3: Use the evolutionary multi-task optimization algorithm to solve the crop image prediction model;

[0061] Step 3.1: Use formula (1) to establish the first objective function of the crop image prediction model: True positive rate :

[0062] (1)

[0063] In formula (1), TP is The number of image samples whose categories are correctly predicted in , FN is The number of image samples whose categories are incorrectly predicted in ;

[0064] Step 3.2: Use equation (2) to establish the second objective function of the crop image prediction model :

[0065] (2)

[0066] Formula (2): and is a sample set of unlabeled crop images The image sample set predicted as the crop category and the image sample set predicted as the weed category in , express The number of Indicated quantity, and Respectively expressed in Middle The image samples predicted to be weeds and image samples predicted to be crop classes, represents the classification function, is an indicator function, if , then let , otherwise, let .

[0067] Step 3.3: Use equation (3) to establish the objective function of the crop image prediction model :

[0068] (3)

[0069] Step 3.4: Calculate the Original population and auxiliary population The objective function value of each individual in ;

[0070] Step 3.5: Mating pool selection:

[0071] Step 3.5.1: According to The objective function value of each individual in the NSGA-Ⅱ algorithm is selected by the mating pool selection method. The original population of the first generation After each individual in the non-dominated sort is performed and the crowding distance is calculated, a binary tournament selection is performed until the Individual as the first Original parent ;

[0072] Step 3.5.2: Follow the process in step 3.5.1 to Generation of assisted population Process it and get Auxiliary parent .

[0073] Step 3.6: Generate offspring:

[0074] The genetic operators in the NSGA-Ⅱ algorithm are used to and Each individual in is processed to produce a corresponding size The g-th generation offspring population and Auxiliary progeny population ;

[0075] Step 3.7: Merge populations and select environments:

[0076] Step 3.7.1: and Merged to form Temporary original population , and calculate the first Temporary population The objective function value of each individual in Each individual in the non-dominated ranking is sorted, and all individuals in each non-dominated ranking are selected in descending order of non-dominated ranking and used as the first Original population individuals in the Original population Until the number of individuals in the selected level reaches N; if the number of individuals in the selected level is greater than Original population The number of individuals remaining in the selected level is calculated, and the individual with the smallest crowding distance is selected to join the first level. Original population middle;

[0077] Step 3.7.2: Follow the process of step 3.7.1, To The merger formed Temporary auxiliary population Process it and get Generation of assisted population .

[0078] Step 3.8: Obtain population knowledge:

[0079] Step 3.8.1: If When, yes Original population Sort the non-dominated levels and select all individuals in the highest non-dominated level. Then use the voting-based ensemble method to process all individuals in the highest non-dominated level to obtain the first Original knowledge guide vector Otherwise, Assign to , and return to step 3.4; is the set iteration threshold;

[0080] Step 3.8.2: Follow the process in step 3.8.1 to Generation of assisted population Process it and get Generation of auxiliary knowledge guidance vector .

[0081] Step 3.9: Bidirectional knowledge transfer mechanism between populations:

[0082] Step 3.9.1: When When Transfer to the original population of generation g Among all individuals in the highest non-dominated rank and all individuals in the lowest non-dominated rank; otherwise, +1 assigned to , and return to step 3.4; where, represents another set iteration threshold;

[0083] Step 3.9.2: When When Transfer to Generation of assisted population All individuals in the highest non-dominated level of , and then use the mixed update operator to generate several individuals and replace some individuals in the remaining non-dominated high-level; otherwise, +1 assigned to , and return to step 3.4.

[0084] Step 4: +1 assigned to ,judge Is it true? If true, it means that the final Original population and Generation of assisted population , execute step 5; otherwise, +1 assigned to , and return to step 3.4 to execute sequentially;

[0085] Step 5: From The individual corresponding to the optimal objective function value is selected as the crop image data prediction model, which is used to screen out weeds from the target plant image and spray pesticides on the weeds.

[0086] Step 2: Crop image data test sample prediction step, using the crop image data prediction model obtained in step 1 to filter out weeds from the target plant image and spray pesticides on the weeds:

[0087] Step 2.1: Input the crop image data to be tested taken in real time by the camera as the test sample and extract the attribute features of the crop image data, recorded as ,in, Indicates the number of samples to be tested Attribute characteristics of crop image data;

[0088] Step 2.2: After the attribute features of the sample to be tested are subjected to standard normalization processing, they are input into the crop image data prediction model obtained in step 1, and the predicted labels are output to filter out the weeds, and the weeds are sprayed with pesticides.

[0089] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0090] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

[0091] The example of the simulation data set is used to illustrate the specific implementation method of the present invention and verify the effect of the method of the present invention.

[0092] 1) Prepare standard data set:

[0093] The present invention uses the Fertility dataset as a standard dataset to verify the effectiveness of the crop image data prediction model. The Fertility dataset is a supervised classification benchmark dataset widely used in imbalanced classification. The Fertility dataset contains 100 data, corresponding to the collected 100 crop image data. All samples are used to verify the performance of the present invention for crop image data classification. For these 100 training samples, they are divided into training sample and test sample data.

[0094] 2) Evaluation indicators:

[0095] The classification accuracy is used as the evaluation index of this example to evaluate the classification performance of the present invention on different crop image data. The higher the accuracy value, the better the classification effect.

[0096] 3) Experiment on standard datasets:

[0097] In order to verify the effectiveness of the proposed method, the classification algorithm (EMT-PU) of the present invention is modeled and predicted on the Fertility dataset with the previous classic uPU algorithm and MOEA-PU algorithm, and the prediction results of the three are compared. The experimental results are shown in Table 1.

[0098]

[0099] From Table 1, it can be seen that in the standard data set Fertility, the EMT-PU method of the present invention has the best performance in classification accuracy by comparing the performance of different algorithms in identifying crop weeds, and its classification accuracy reaches 0.8604, which is higher than other methods. This shows that the present invention has significant advantages in accurately identifying crop weeds, and is expected to bring innovative breakthroughs to the field of smart agricultural machinery, and improve the accuracy of farmland weed identification and the accuracy of spraying decisions.

Claims

1. An intelligent method for identifying farmland weeds based on evolutionary PU learning, characterized in that: The steps are as follows: Step 1: Collect labeled and unlabeled crop image data, extract plant attribute features from the crop image data, and perform standard normalization to obtain a crop image sample set, denoted as ,in, Indicates Sample crop images, is a dimensional attribute feature vector, Indicates Sample crop images Middle attribute characteristics; The labeled crop image sample set is denoted as , The label is recorded as , Indicates labeled crop image samples, express ; The unlabeled crop image sample set is denoted as , Indicates unlabeled crop image samples; and , , , =1, indicating The category is crops, =-1 means The category is weeds; Step 2: Initialization; Step 2.1: Define the current number of iterations as , the maximum number of iterations is , and initialize ; Step 2.2: Calculate using the Euclidean distance formula The labeled similarity measure between the attribute features of any two crop image samples in , thereby obtaining several labeled similarity measures and inputting them into a sub-classifier for training, thereby obtaining a trained labeled crop sub-classifier; The trained labeled crop sub-classifier is taken as an original individual, thus The original individuals form the Original population ,in, Indicates Original population Middle original individual; Step 2.3: Calculate using the Euclidean distance formula The attribute characteristics of any crop image sample in The similarity measure value between the attribute features of any crop image sample in the image is obtained, thereby obtaining several similarity measure values ​​and inputting them into another sub-classifier for training to obtain a trained crop sub-classifier; The trained crop sub-classifier is used as an auxiliary individual, so that The auxiliary individuals constitute Generation of assisted population ;in, Indicates Generation of assisted population Middle Auxiliary individuals; Step 3: Use the evolutionary multi-task optimization algorithm to solve the crop image prediction model; Step 3.1: Use formula (1) to establish the first objective function of the crop image prediction model: True positive rate : (1) In formula (1), TP is The number of image samples whose categories are correctly predicted in , FN is The number of image samples whose categories are incorrectly predicted in ; Step 3.2: Use equation (2) to establish the second objective function of the crop image prediction model : (2) Formula (2): and is a sample set of unlabeled crop images The image sample set predicted as the crop category and the image sample set predicted as the weed category in , express The number of Indicated quantity, and Respectively expressed in Middle The image samples predicted to be weeds and image samples predicted to be crop classes, represents the classification function, is an indicator function, if , then let , otherwise, let ; Step 3.3: Use equation (3) to establish the objective function of the crop image prediction model : (3) Step 3.4: Calculate the Original population and auxiliary population The objective function value of each individual in ; Step 3.5: and Perform mating pool selection respectively to obtain Original parent and Auxiliary parent ; Step 3.6: Generate offspring: The genetic operators in the NSGA-Ⅱ algorithm are used to and Each individual in is processed to produce a corresponding size The g-th generation offspring population and Auxiliary progeny population ; Step 3.7: and Merge and Merge, and then conduct environmental selection on the two merged populations respectively, and get the Original population and Generation of assisted population ; Step 3.8: Obtain population knowledge: Step 3.8.1: If When, yes Original population Sort the non-dominated levels and select all individuals in the highest non-dominated level. Then use the voting-based ensemble method to process all individuals in the highest non-dominated level to obtain the first Original knowledge guide vector Otherwise, Assign to , and return to step 3.4; is the set iteration threshold; Step 3.8.2: Follow the process in step 3.8.1 to Generation of assisted population Process it and get Generation of auxiliary knowledge guidance vector ; Step 3.9: Bidirectional knowledge transfer mechanism between populations: Step 3.9.1: When When Transfer to the original population of generation g Among all individuals in the highest non-dominated rank and all individuals in the lowest non-dominated rank; otherwise, +1 assigned to , and return to step 3.4; where, represents another set iteration threshold; Step 3.9.2: When When Transfer to Generation of assisted population All individuals in the highest non-dominated level of , and then use the mixed update operator to generate several individuals and replace some individuals in the remaining non-dominated high-level; otherwise, +1 assigned to , and return to step 3.4; Step 4: +1 assigned to ,judge Is it true? If true, it means that the final Original population and Generation of assisted population , execute step 5; otherwise, +1 assigned to , and return to step 3.4 to execute sequentially; Step 5: From The individual corresponding to the optimal objective function value is selected as the crop image data prediction model, which is used to screen out weeds from the target plant image and spray pesticides on the weeds.

2. The method for intelligent identification of farmland weeds based on evolutionary PU learning according to claim 1 is characterized in that: The step 3.5 comprises: Step 3.5.1: According to The objective function value of each individual in the NSGA-Ⅱ algorithm is selected by the mating pool selection method. The original population of the first generation After each individual in the non-dominated sort is performed and the crowding distance is calculated, a binary tournament selection is performed until the Individual as the first Original parent ; Step 3.5.2: Follow the process in step 3.5.1 to Generation of assisted population Process it and get Auxiliary parent .

3. The method for intelligent identification of farmland weeds based on evolutionary PU learning according to claim 2 is characterized in that: The step 3.7 comprises: Step 3.7.1: and Merged to form Temporary original population , and calculate the first Temporary population The objective function value of each individual in Each individual in the non-dominated ranking is sorted, and all individuals in each non-dominated ranking are selected in descending order of non-dominated ranking and used as the first Original population individuals in the Original population Until the number of individuals in the selected level reaches N; if the number of individuals in the selected level is greater than Original population The number of individuals remaining in the selected level is calculated, and the crowding distance of all individuals in the selected level is selected, and the individual with the smallest crowding distance is added to the first level. Original population middle; Step 3.7.2: Follow the process of step 3.7.1, To The merger formed Temporary auxiliary population Process it and get Generation of assisted population .

4. The crop image sample in the method for intelligent identification of farmland weeds based on evolutionary PU learning according to claim 1 is characterized in that: The attribute feature values ​​of the crop image samples include: color features, texture features, shape features, and spectral features.

5. The method for intelligent identification of farmland weeds based on evolutionary PU learning according to claim 1, characterized in that: Use the mixed update operator to generate several individuals in the following process: according to , using the Euclidean distance formula to calculate the crop image samples The similarity measure values ​​between the attribute features of all crop image samples in the dataset are obtained, and then several similarity measure values ​​are selected according to the descending order of the similarity measure values ​​and input into several individual sub-classifiers for training, and several trained crop sub-classifiers are obtained as several generated individuals.

6. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the method for intelligent identification of farmland weeds as described in any one of claims 1 to 5, and the processor is configured to execute the program stored in the memory.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for intelligent identification of farmland weeds in any one of claims 1 to 5 are executed.

Citation Information

Patent Citations

  • Image classification method for neural network architecture search based on evolutionary strategy

    CN114373101A

  • Operation and maintenance fault knowledge data management method based on multi-objective optimization

    CN117556325A

  • Multi-target recommendation method based on multi-task evolutionary optimization

    CN117633357A

  • Medical image classification method oriented to positive mark and unmarked sample learning

    CN117809117A

  • Perovskite synthesizability prediction method using graph convolutional neural networks and positive unlabeled learning

    US20240135168A1

Cited By

  • Social network water army identification method based on evolution PU algorithm

    CN119719986A

  • A social network water army identification method based on evolutionary PU algorithm

    CN119719986B