Optimization of Pesticides Spray on Crops in Agriculture using Machine Learning

Pesticides are chemicals used to eradicate pests. Not only are they used for plant protection and livestock in agriculture, but they are also used in public areas to kill mosquitoes, cockroaches, and other pests. Approximately 95% of the pesticides produced are only used in agriculture for crop protection. Every country wants to increase crop production. To protect their crops from pests, farmers must use pesticides. Exposure to pesticides is increasing day by day, whether occupationally or environmentally. This has resulted in an increase in crop production, but it has numerous adverse effects on human health, animal health, and the environment. Farmers repeatedly use the same pesticides on their crops, which is detrimental to human health and the environment. In this research, according to authors, the repetition of pesticides in agriculture is controlled using adjuvant and machine learning algorithms. An adjuvant is a chemical agent that is inserted within the pesticide product for enhanced pesticide performance. By utilizing an algorithm for machine learning, it is no longer necessary to repeatedly spray the same pesticide over the entire crop field in order to determine which sections of the crop field still require repeated pesticide spraying. In this research, the authors predict that 72.5% of insecticides are used in India. Logical regression classification, polynomial regression, and K-nearest neighbor algorithm (KNN) are applied to detect this required field.


Introduction
According to the Environmental Protection Agency, a pesticide can be any substance that is used to kill insects, pests, fungi, and weeds, whereas it is used to preempt plants and livestock. Since pesticides are believed to be toxic, they are biologically active agents that have caused a physiological response. Pesticides are a specific type of toxins, which are applied to crops to control pests, weeds, and so on, despite being toxic to humans, animals, livestock, and the environment. Pesticides are effective in controlling pests and insects using these methods, but they pose a threat to humans, animals, and the environment. e authors insist that pesticide poisoning occurs when pesticides or other chemicals designed to control pests and insects affect nontarget organisms, such as wildlife, plants, bees, humans, and the environment [1,2]. is is a global public health problem and pesticide acute poisoning accounts for 300,000 deaths worldwide every year. Few researchers have reported that the annual number of deaths worldwide exceeds 5 million. Experts broadly categorize pesticide effects as topical or systemic. Here, we will first define topical reactions. ey are also known as topical allergy, and they are only harmful to those who have come into direct contact with pesticides. ey affect a limited area of the body and their effects manifest in various ways, such as rashes, itching, blisters, scaly skin, or other forms of skin inflammation. Some major symptoms of topical reactions on humans are sneezing, wheezing, and coughing. No matter where you live, whether in a village, town, or city, or how cautious you are, there is a good chance that you have been exposed to pesticides for a long time. e beautiful, colorful vegetables and fruits that you see in the markets are grown by the use of pesticide sprays, whether you like it or not. Most people are unaware of what pesticides are and how they affect human health, despite the fact that they are extremely prevalent and can never be completely avoided. Pesticides are difficult to diagnose because their symptoms do not appear immediately. ey can manifest years after initial exposure. Signs of pesticide effects on the human body include headache, fatigue, nausea, bowel problems and difficulty breathing, severe pesticide poisoning, seizures, and changes in the heartbeat.

Pesticides Used in Agriculture.
To increase production in agriculture, pesticides play a vital role. Crops and plants are sprayed with pesticides for various reasons. Pesticides are used to protect crops and plants from insecticides [3][4][5].
ey are also used for the growth of crops and plants. A pesticide is known as a chemical or biological agent; it deters, incapacitates, kills, or discourages pests. In India, pesticide production has been started in 1952 with the establishment of a plant BHC, which is near Calcutta. In Asia, India is the second largest manufacturer of pesticides; the first one is China. Pesticide is a term that covers a wide range of compounds; it includes insecticides, herbicides, fungicides, molluscicides, nematicides, rodenticides, and plant growth. Figure 1 depicts many types of pesticides.
After the 1960s, the majority of technologically advanced nations halted or restricted the use of organochlorine insecticides, which were effective in combating a variety of diseases, including malaria and typhus. Some of the most well-known pesticides, including synthetic insecticides, organophosphate (OP) insecticides in the 1960s, carbamates [6] in the 1970s, and pyrethroids in the 1980s, greatly aided in the control of pests and the expansion of agricultural production. India spends a large amount on pesticides. It has spent nearly $0.6 billion annually. It is a total of 1.6% of the international pesticides market that is accessed by India, although the consumption of pesticides still has muffled in India. Widespread contamination of pesticides in food commodities, due to pesticides residue, is an indiscriminate and nonjudicious application. Notwithstanding WHO (World Health Organization) has banned the use of certain organochlorine syntheses. In many developing countries, these chemicals are intensively used in limited quantities including India. India uses these chemicals in limited quantities for agricultural, livestock, and public health programs.

Benefits of Pesticides in Agriculture.
Agriculture is the backbone of India; it contributes to the country's progress. Populations in the majority of nations are growing exponentially, and agricultural lands are shrinking; consequently, the agriculture industry is under extreme strain. is sector has immense pressure to perform. In the past, pesticides and fertilizers came to the rescue by acting as a catalyst in stabilizing higher yields gained through the use of hybrid seeds.
is period was known as the Green Revolution, but since then it has undergone a radical transformation. Perhaps, the side effects of pesticides are considerably evident. e inclination toward moving forward is gradually diminishing. Pesticides are designed to target and eliminate insects and weeds; however, they have negative effects on living organisms and pose a threat to humans, nontarget plants, and animals. Pesticides have a negative impact on the ecosystem, as well as on food and food plants. ey bioaccumulate throughout the food chain and can be detected in plant and animal tissues. ey are hazardous to health. Farming, looking after animals, and food crops are one of the most important areas of foreign exchange. Indian products also can compete in international markets if they complete the scale of international standards. To increase exports, it is compulsory to establish the competitive advantages of animal product. Silage fed to animals is often contaminated with pesticide residues, which are absorbed by the body after consumption. It is required to strengthen the quality competitive aspects of animal products. According to extensive research conducted by scientists or researchers, pesticide poisoning in humans is frequently reported in forensic medicine. According to one estimated report of WHO, all over the world, 20,000 deaths are happening every year because of pesticide poisoning. One million pesticide poisoning [7,8] cases in humans are occurring all over the world because of pesticide use. Pesticides affect human health and the environment. Pesticide residue can be detected in milk, meat, and other dairy products. Pesticides cause an increase in human health problems as well as death.
ey are reduced using a machine learning algorithm, as a survey field. e objective of self-sufficiency in pesticides or reduced repetition of pesticides is in agriculture eke prevention and control strategies for the occurrence of pesticides in animal products throughout the world. Short-dated pesticides poisoning or acute toxicity from pesticides is typically the result of a single poisoning that might be happening due to exposure via the skin, inhalation, eyes, or mouth; therefore, to avoid these side effects of being exposed to pesticides, it is best to avoid using such chemicals in your homes and to choose organically grown fruits and vegetables.

Problem Statement
is section described the types of pesticides as well as their side effects and then discussed methods to deduct them. Basically, there are different kinds of pesticides.

Organophosphate Pesticides.
Organophosphate is a human-made chemical. It is an insecticide. It is used in agriculture; it is sprayed on crops and plants. Organophosphate [1,8] is a pesticide that affects the nervous system. It disrupts the enzyme that regulates acetylcholine, a neurotransmitter.

Carbamate Pesticides.
Carbamate pesticides are similar to organophosphate (OP). Carbamate compounds are esters of carbamic acid that are used as insecticides. Carbamate [1,8,9] pesticides also affect the nervous system. ey disrupt the enzyme that regulates acetylcholine, a neurotransmitter. Enzymes affect reversible processes. Carbamates contain various subgroups like aldicarb, carbofuran, and carbaryl.

Organochlorine Insecticides.
Organochlorine refers to a wide range of chemicals; these chemicals contain carbon and chlorine, as well as other elements. Organochlorine includes dichlorodiphenyltrichloroethane. It was used in the past. Lots of organochlorines have been discarded from the market due to their effect. It affects human health. It is persistent in the environment. DDT, chlordane, aldrin, dieldrin, heptachlor all are generic OC compounds.

Pyrethroid Pesticides.
Pyrethroids are chemicals that were created to kill insects and mosquitoes. ey are a mock translation of the naturally occurring periodically or repeatedly pesticides pyrethrin [1,3,7] scilicet in chrysanthemums. ey have been modified to increase their stability in the environment. Umpteenth mock pyrethroids are toxic to the nervous system. Commonly used pyrethroids are deltamethrin, cypermethrin, and permethrin. Tables 1 and 2 explain different types of chemical pesticides.

Impacts on Humans.
Agriculture production has been increasing due to pesticides. Exposure to pesticides is rapidly increasing. It sounds good for pesticides organization, but pesticide exposure causes numerous health problems in humans and animals. After continuously observing the side effects of pesticide exposure on the environment and the human population, it was discovered that pesticides influence immune suppression, reproductive abnormalities [10,11], diminished intelligence, cancer, hormone disruption, and air quality as shown in Figure 2. Now there is irrefutable evidence that few chemicals pose a risk to humans and the environment. Currently, there is no population segment in the world that is completely protected from the side effects of pesticides. Still, humans are not standing against pesticides exposure [12][13][14]. e population of developing and under-developing countries bears a disproportionate share of the health risks, despite the fact that they may be severe. Currently, this issue is categorized as a high-risk group in every nation. It is estimated that over 20,000 people die annually due to direct contact with pesticides around the globe. Pesticides are being used in agricultural regions [11,15]. ey enter the human body after being released into the environment from agricultural land. Pesticides can have a direct or indirect effect on human and animal life in modern times. Pesticides are currently ingested, inhaled, or come into contact with the skin via foods, water, soil, and the environment. According to research, acute and chronic health problems are increasing due to exposure to pesticides [16,17]. Few people use pesticides to get suicide. If suicides are counted alongside accidental deaths, the annual global death toll attributable to pesticide exposure exceeds 1 million. Some spray operators and farmers do not wear spraying clothes or protective clothing and equipment when applying pesticides. ey use pesticides carelessly and wear inadequate clothes [18,19]; these cases are categorized as accidental exposure. In India, the first documented case of pesticide poisoning occurred in Kerala in the year 1958 [19,20]. According to this report, more than 100 people died after consuming wheat flour contaminated with parathion. One of the most dangerous reports came from Bhopal in 1984, where the chemical methyl isocyanate (MIC) leaked from the Union Carbide India Ltd. (UCIL's) pesticide factory and it turned the city of Bhopal into a colossal gas chamber. is accident resulted in more than 15,000 deaths in a single day and affected 60,000 people.
ere are two major impacts of pesticides. ey are as follows. (i) Undeveloped Brain: the cause of a newborn's undeveloped brain is the mother's consumption of pesticidegrown vegetables and fruit. (ii) Tumor Development: pesticides contribute to the spread of cancer in humans. Due to the use of pesticides on fruits and vegetables consumed by humans, a low level of poison is continuously accumulated in the human body. It complicates diagnosis, and some pesticides can cause seizures, changes in heart rate, and sometimes death.
2.6. Impacts on Nontarget Organisms. Pesticides have been detected as impurities in the soil, air, and water, as well as in the bodies of nontarget organisms in our metropolitan scenes. Pesticides produce copious amounts of synthetics; these synthetics could harm plants, crops, organisms, people, aquatic organisms, birds, and other forms of natural life. e use of pesticides in agriculture has a direct impact on the mortality of birds. Pesticides directly cause severe harm through ingestion of granules, draws, treated seeds, and Computational Intelligence and Neuroscience direct exposure to sprays. By implication, the death of birds could result from the consumption of treated crops, contaminated water, or the consumption of contaminated prey. Natural life damage depends on the toxicity and other properties of a pesticide, the amount applied, the timing, the frequency, the climate, the vegetation structure, and the soil type, as well as the application technique. Insecticides, fungicides, rodenticides [21,22], and the most toxic herbicides threaten untamed wildlife.

Impact on the Environment.
Pesticides are a group of synthetic substances that are intentionally applied to the climate to cinch plant and creature irritations and safeguarding farming and modern products is additionally utilized. It is possible that pesticides have contaminated soil, grass, water, and other vegetation [23][24][25]. e major task of pesticides is to kill insects or weeds, but sometimes they can be toxic to other nontargeting insects like organisms, birds, fish, and earthworms. Nonetheless, pesticides are not precisely focusing on the irritation; they likewise influence nontarget plants and creatures. Rehashed application (redundancy of pesticides) starts to prompt loss of biodiversity. A few pesticides are not degradable; they continue in that frame of mind, to groundwater and surface water, and pollute the climate. Depending on the chemical properties of pesticides, they can enter living organisms, bioaccumulate in food chains, and influence the climate.

Related Work
Numerous research papers have described how the use of pesticides on crops is harmful to humans, livestock, animals, and the environment.

Banned Pesticides.
Many countries have banned certain pesticides as a result of their adverse effects on the environment. ese pesticides are banned to protect livestock, humans, and the environment. A much more cautious use of agrochemicals is required through testing, careful risk assessment, and licensing, as well as through farmer education and measures for greater ecosystem protection [2,9].

Pesticide Toxicity Effects on Human.
Pesticide toxicity is dependent on the family of compounds; it is greater for the older compounds. If we talk about humans, they have been responsible for acute poisonings, as well as long-term health effects such as cancer and adverse effects on reproduction [6,19].

Crop Production and Disease Detection Using Machine
Learning. A machine learning algorithm is used for crop condition identification, early disease detection, targeted crop protection, and recommendation. It is a way to focus on how the recommender system is used in agriculture for disease detection and prediction [5,26].

Methodology
e methodology section contains the adjuvant and the machine learning.

4.1.
Adjuvant. An adjuvant is a chemical agent that is inserted within the pesticide product or pesticide spray mixture for enhanced pesticide performance. An adjuvant is not used to control pests; it does not have any pesticide properties, so there is no need to register it in the US Environmental Protection Agency (EPA). One of the most effective uses of adjuvant is reducing pesticide spray.
An adjuvant can be combined with pesticides in two ways.

Formulation Adjuvant.
Adjuvant for formulation was a component of the pesticides created by the manufacturer.

Spray Adjuvant.
Spray adjuvant is not combined with pesticides by the manufacturer. Compared to pesticides, it is more tailored. Spray adjuvant is added in pesticides spray by the applicator. e below tables could serve as a guide for  Computational Intelligence and Neuroscience general rainfastness to complement a comprehensive pest management decision-making process. e amount of pesticides needed for each level is listed in Table 3.

Machine
Learning. Using a machine learning algorithm, crop data after pesticide application is analyzed to determine which areas of the crop require a second application of pesticide. ere is no need to reapply pesticide to the entire crop.

Implementation of Model
e implementation model includes a flow chart and a block diagram for the machine learning approach.

Flow Chart.
In this section, the working process is explained step by step using a flow chart. Figure 3  (1) Capture continuously crops data following pesticide application. (2) Captured data is processed using machine learning to find out which crop area requires a repeated application of pesticide. Using machine learning algorithms such as KNN [27][28][29] eliminates the need to repeatedly spray the entire crop field.

Machine Learning Approach.
e inputs of machine learning are repeated crop pesticide data and previous data extracted from feature extraction. An algorithm is then applied to the input data to optimize the output, as shown in

Results and Discussion
In the results section, the exact amount of pesticides needed on the market is indicated.
6.1. Pesticides. Pesticides are chemical substances, which are utilized to kill bugs. Pesticides are used to eradicate bugs and to protect plants and animals from them. Firstly, we are examining the use of pesticides in the chart below. Compared to the rest of the world, 52.6% of pesticides are consumed in Asia, placing Asia in first place. 32% of pesticides are consumed in the Americas, placing them in second place. In Europe, 11.6% of pesticides are consumed . In Africa, 2% of pesticides are expended. In Oceania, 1.5% of   Table 4 shows pesticide usage by country including the domain name, domain area, unit, and value. Italy is the first of the top ten nations that use pesticides globally. Poland is the second, as seen in Figure 5. ere is a slight difference between Italy and Poland, if we compare them. Brazil is in the third place and Ukraine is in the fourth place. Germany is in the fifth place. United Kingdom of Great Britain and Northern Ireland is in the sixth place. Uruguay is in the seventh place. Tajikistan is in the eighth place. Malaysia is in the ninth place. Sudan is in the tenth place. We are clarifying the utilization of pesticides in India, Asia. India is second to China in Asia in terms of the use of pesticides, which is enormous. e chart discusses how many tonnes of pesticides India consumes annually. In this chart, data is taken care of between 2011 and 2018 as shown in Figure 6. e use of pesticides decreased in 2014, but they are still being used today. Across the globe, ten countries are utilizing excessive amounts of pesticides as shown in Figure 7. An explanation of the pesticides used in the nation together with the domain name, code, region, and the number of units utilized along with the values attained is shown in Table 4.

Insecticides.
Pesticides is a term that encompasses a variety of compounds; it incorporates bug sprays,  Computational Intelligence and Neuroscience herbicides, fungicides, molluscicides, nematicides, rodenticides, etc. 72.5% of the market for pesticides is comprised of pesticide sprays. Insecticides are utilizing 27.5% in agribusiness, as shown in Figure 8; it is a huge sum since bug sprays have been related to cancer. Based on item code, value, and flag, pesticides and insecticides differ from one another, as shown in Table 5. In India, bug spray use has been consistent for a long time. Table 5 shows the total use of pesticides and insecticides based on some factor such as item, item code, unit, value, and the flag. India's total insecticide contribution is from pesticides, as shown in Figure 8.
In 2008 insecticides sprays employments were 1.61%, but, in 2009, they increased to 7.27%. Once more they have been expanded in 2010, bringing the total to 10.1 to date, as shown in Figure 9.
is section focuses on the personal use of insecticides, bactericides, herbicides, and fungicides in India. 32.6% are fungicides and bactericides, 51.5% are insecticide sprays, and 15.8% are herbicides.

Fungicides.
is study identifies the countries that use the most fungicides, based on survey data collected from 2011 to 2018. e amount of fungicides used increases annually. e most hazardous fungicide was vinclozolin, which is no longer used. Long-term human exposure to the fungicide Ziram is nephrotoxic, and ingestion is lethal. Fungicide causes skin and eye irritation, and ingesting an excessive amount of it causes nausea, vomiting, and tissue damage. Ziram does not induce cancer in humans, but its long-term exposure effects cannot be detected in an early stage. A high dose of toxic copper sulfate may endanger humans, animals, and the environment. Europe  utilizes 61.4 % of the world's fungicides; with this massive quantity it is in the first place. e Americas are in second place and consume up to 22.8% of fungicides, as shown in Figure 10. Asia is in the third place (9.6% of fungicides). Africa is in the fourth place, and it consumes 6.2% of fungicides, as shown in Figure 11.

Conclusion
In agriculture, the amount of pesticides, insecticides, and fungicides sprayed annually to kill pests, insects, weeds, and fungi kills nontargeted animals, birds, and people as well. Farmers repeatedly apply pesticides to the same crops in order to protect them from pests. Certainly, farmers save their crops by doing so, but the repeated use of pesticides has a number of negative side effects, such as brain underdevelopment, cancer, seizures, heart problem, eyes problems, and lung cancer. In this research paper, the data from pesticides sprayed on crops is processed using an algorithm for machine learning, and the area that does not need pesticides sprayed again is centroided so that farmers only apply pesticides to the required area. is concept reduced pesticide repetition by at least 20% compared to the exit concept. Humans, animals, and birds must be protected from repeated pesticide use in agriculture.   Data Availability e data can be obtained from the corresponding author upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.