Professional Documents
Culture Documents
Final Report
Final Report
Final Report
A Project Report
Submitted In Partial Fulfillment of the Requirements
for the Degree of
BACHELOR OF TECHNOLOGY
in
COMPUTER SCIENCE AND ENGINEERING - IoT
by
AFFILIATED TO
DR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY
(Formerly Uttar Pradesh Technical University, Lucknow)
UTTAR PRADESH, LUCKNOW
June, 2024
DECLARATION
I hereby declare that the work presented in this report entitled “Enhancing Jowar
Crop Production Using ML & IoT”, was carried out by me. I have not applied for
the granting of any other degree or certificate from any other university or institute
using the material included in this report.
For all the words, concepts, images, computer programs, experiments, and outcomes
that are not entirely my own, I have properly cited the original authors and sources.
Sentences that I have quoted have been marked with quotation marks, and the
original writers and sources have been cited.
I certify that the tests and findings included in the paper are authentic, and that no
part of my work has been plagiarized. I will be held totally accountable and liable in
the case that I am accused of plagiarism and of manipulating the experiments and
findings.
Naman Tiwari
Name : Naman Tiwari
Roll. No. : 2002901550019
Date : 30/04/2024
Jayant Jaiswal
Name : Jayant Jaiswal
Roll. No. : 2002901550011
Date : 30/04/2024
ii
CERTIFICATE
Signature Signature
iii
ABSTRACT
Jowar, a vital staple crop in many regions, plays a crucial role in ensuring food security.
However, its yield is susceptible to environmental factors such as temperature, rainfall,
soil quality, and nutrient levels. This study offers a novel strategy to enhance Jowar crop
productivity by combining Machine Learning (ML) and Internet of Things (IoT)
technologies. The main purpose of this study is to develop a predictive ML model capable
of forecasting Jowar crop yield. This model will leverage data related to soil properties,
environmental conditions (temperature, rainfall), nutrient levels, geographical area, and
soil ph. Such a model will enable farmers to make data-informed decisions regarding crop
management and resource allocation, ultimately improving Jowar crop yield. ML
algorithms will be applied to analyze and model the relationships between these data
points. In the subsequent phase, IoT technology will be integrated to monitor the Jowar
crop in real time, utilizing sensors for environmental variables, soil conditions. According
to preliminary results, the ML model can estimate Jowar crop production accurately, and
the application of IoT technology provides useful, real-time data for crop monitoring. By
combining ML and IoT, the purpose of this study is to contribute to the sustainable
enhancement of Jowar crop, providing farmers with the tools they need to improve crop
yield. The study's conclusions draw attention to the potential advantages of this strategy
for agriculture as well as prospective future research areas for improving the model and
IoT system.
iv
ACKNOWLEDGEMENT
With deep gratitude I express my earnest thanks to my esteemed supervisor Dr. Sandeep
Kumar, Associate Professor, Department of Computer Science & Engineering - IoT for his
constant involvement, energetic efforts and proficient guidance, which gave me direction
and body to work, respond here. Without his counsel and encouragement, it would have
been impossible to complete the Project work in this manner.
I wish to express my gratitude to Dr. Sanjeev Kumar (Head of Department), Dr. M. K. Jha
(Director), for their support, guidance and advice throughout this work. I am thankful to
all the faculty members of the computer science and Engineering-IoT Department
especially for their intellectual support during my research work.
I also want to thank my friends for their valuable support whenever I needed. I would like
to thank all those people who have helped me some way or the other in my Project work.
Lastly, and most importantly, I thank my parents for their moral support and
encouragement towards completing my Project successfully. In the last, I want to thank
Almighty God.
Signature :
Name : Naman Tiwari
Roll. No. : 2002901550019
Date : 30/04/2024
Place : Ghaziabad
Signature :
Name : Jayant Jaiswal
Roll. No. : 2002901550011
Date : 30/04/2024
Place : Ghaziabad
v
TABLE OF CONTENTS
Description Page No.
Declaration 2
Certificate 3
Abstract 4
Acknowledgement 5
Table of Contents 6
List of Tables 8
List of Figures 9
List of Abbreviations 10
Chapter 1: Introduction 11-38
1.1 Background 13
1.1.1 Importance of Jowar crop in Agriculture 15
1.1.1.1. Background on Jowar 15
1.1.1.2. The Role of ML and IoT 17
1.1.1.3. The Impact of Climate Change 20
1.1.1.4. The Potential of ML in agriculture 22
1.1.1.5. The Role of IOT in agriculture 25
1.1.2. Challenges Faced by Farmers 28
1.1.2.1. Environmental Factors 28
1.1.2.2. Increasing Demand 30
1.1.2.3. Data Driven Decision Making 33
1.1.2.4. Integration of ML & IOT 36
Chapter 2: Literature Survey 39-49
Chapter 3: Present Work 50-61
3.1 Problem Statement 50
3.2. Research Objective 50
3.3. Research Methodology 50
3.3.1. Data Collection 51
3.3.2. Data Processing and EDA 52
vi
3.3.3. ML Implementation 55
3.3.3.1. Best Model 55
3.3.3.2. Performance Estimation 56
3.3.4. IOT Implementation 58
3.3.4.1. Hardware 59
3.3.4.2. Software 59
3.3.4.3. Circuit Diagram 59
3.3.4.4. Working 60
Chapter 4: Conclusion and Future Scope 62
4.1. Conclusion 62
4.2. Future Scope 62
References 63-65
List of Publications 66
Plagiarism Report 67-68
vii
LIST OF TABLES
viii
List of Figures
ix
List of Abbreviations
N Nitrogen
P Phosphorus
K Potassium
SVM Support Vector Machine
CNN Convolutional Neural Network
DNN Deep Neural Network
GPR Gaussian Process Regression
MSE Mean Squared Error
R2 R-squared
MAE Mean Absolute Error
RMSE Root Mean Squared Error
DC Direct Current
IDE Integrated Development Environment
LCD Liquid Crystal Display
PIR Passive Infrared
DHT Digital Humidity and Temperature
GIS Geographic Information Systems
APMC Agricultural Produce Market Committee
ROI Return on Investment
R-CNN Region-Based Convolutional Neural Network
IOT Internet of Things
AI Artificial Intelligence
ANN Artificial Neural Network
DL Deep Learning
EL Ensemble Learning
EVI Enhanced Vegetation Index
GRNN General Regression Neural Networks
KNN K-nearest neighbor
LSTM Long Short-Term Memory
RFR Random Forest Regression
UAV Unmanned Aerial Vehicle
ML Machine Learning
x
CHAPTER 1
INTRODUCTION
Jowar, also known as sorghum, stands as a critical cereal grain on the global
agricultural stage. Its significance lies not only in its nutritional value but also in its
ability to thrive in regions where water scarcity is a prevailing challenge. As a staple
crop, jowar plays a vital role in providing sustenance to millions of people
worldwide. The effects of climate change, which represent serious risks to
agricultural production and food security, are nonetheless felt in its cultivation.
Within this framework, combining Internet of Things (IoT) and Machine Learning
(ML) technology shows promise as a way to improve jowar yield, reduce risks
associated with climate change, and promote sustainable agriculture.
The synergy between ML and IoT holds immense potential for revolutionizing jowar
cultivation practices. Through the incorporation of these technologies into the
agricultural process, farmers may execute data-oriented tactics that are customized to
the distinct needs of their crops and the local landscape. Furthermore, proactive risk
management is made possible by the predictive powers of machine learning
algorithms, which assist farmers in anticipating and mitigating the negative impacts
of climatic variability on jowar yields.
Increasing resource efficiency is one of the main advantages of using ML and IoT in
jowar production. Farmers may conserve water resources and lessen the
environmental impact of agriculture by optimizing irrigation schedules through
careful monitoring of soil moisture levels and weather patterns. Furthermore, tailored
11
application of pesticides and fertilizers is made possible by ML-driven insights,
which reduce input waste and lower the danger of environmental damage.
The integration of IoT and ML in jowar cultivation offers new opportunities for
scientific study and innovation, in addition to its practical uses. Researchers might
uncover new tactics for boosting jowar resistance to climate change and have a
clearer understanding of the underlying elements impacting crop yields by examining
enormous libraries of agricultural data. Moreover, the development of predictive
models and decision support tools facilitates technology transfer and capacity
building within farming communities, empowering them to adapt to evolving
environmental conditions effectively.
12
1.1. Background
Jowar, also known as sorghum, is a versatile and resilient cereal grain cultivated
globally, offering a myriad of nutritional benefits and serving as a staple food in
numerous regions, notably in Africa, Asia, and parts of the Americas. This ancient
crop has been integral to human diets for centuries, prized for its nutritional richness
and adaptability to diverse climates and soil conditions. As the world faces the
challenges of climate change and its implications for agriculture, the importance of
innovative approaches like integrating Machine Learning (ML) and the Internet of
Things (IoT) into Jowar cultivation becomes increasingly apparent.
At its core, Jowar represents more than just a grain; it embodies a sustainable and
adaptable agricultural solution capable of withstanding environmental stresses such
as drought and poor soil fertility. Millions of people rely on it for survival due of its
resistance to harsh weather, especially in areas with unpredictable weather patterns
and scarce water supplies. Optimizing Jowar production and maintaining food
security with the use of new technologies like ML and IoT presents intriguing
possibilities in the face of a changing environment where traditional agricultural
approaches may no longer suffice.
One of the key attributes of Jowar is its nutritional profile. Rich in carbohydrates,
proteins, vitamins, and minerals, it provides essential nutrients for human health and
well-being. For communities reliant on Jowar as a dietary staple, its nutritional value
is indispensable, contributing to the fight against malnutrition and food insecurity.
Moreover, Jowar's gluten-free nature makes it suitable for individuals with dietary
restrictions, further enhancing its appeal in the global market.
Beyond its role as a food crop, Jowar offers additional benefits through its straw and
leaves, which serve as valuable fodder for livestock. This dual-purpose nature
enhances its economic significance for farmers, allowing for diversified income
streams and greater resilience against market fluctuations. By integrating ML and
IoT technologies into Jowar cultivation, farmers can optimize both grain and fodder
production, maximizing the crop's overall yield and economic returns.
The integration of ML involves the use of algorithms and data analytics to analyze
vast amounts of agricultural data, ranging from soil quality and weather patterns to
crop health and yield predictions. By leveraging historical and real-time data, ML
algorithms can identify patterns and trends that enable farmers to make informed
13
decisions regarding planting schedules, irrigation management, pest control, and crop
rotation strategies. This data-driven strategy reduces resource inputs and
environmental effects while increasing production and efficiency.
The synergy between ML and IoT in Jowar cultivation extends beyond the field to
include supply chain management and market forecasting. ML algorithms can
analyze market trends, consumer preferences, and supply-demand dynamics to
inform planting decisions and crop marketing strategies. IoT-enabled supply chain
monitoring systems can track the movement of Jowar from farm to fork, ensuring
traceability, quality control, and timely delivery to consumers. This integration
enhances market transparency and efficiency, benefiting both producers and
consumers alike.
Furthermore, the adoption of ML and IoT in Jowar cultivation fosters innovation and
knowledge sharing within the agricultural community. Collaborative platforms and
digital extension services enable farmers to access expert advice, best practices, and
real-time insights tailored to their specific needs and circumstances. This
democratization of agricultural knowledge empowers farmers to make informed
decisions and adapt to changing conditions, ultimately enhancing their resilience and
sustainability.
Jowar is a robust cereal grain that is high in nutrients and has a lot of promise to help
with food security and climate change issues. Farmers may increase market
competitiveness, optimize Jowar output, and improve resource efficiency by utilizing
ML and IoT. Moreover, the integration of these technologies’ fosters innovation,
collaboration, and knowledge sharing within the agricultural community, paving the
way for a more sustainable and food-secure future. As we navigate the complexities
of a changing climate and growing global population, investing in innovative
approaches like ML and IoT in Jowar cultivation is essential for building a more
resilient and sustainable agricultural system.
14
1.1.1. Importance of jowar crop in agriculture
Jowar, scientifically known as Sorghum bicolor, belongs to the grass family Poaceae.
It is one of the top five cereal crops worldwide, alongside wheat, rice, maize, and
barley. Originating from Africa thousands of years ago, jowar has spread to different
continents, adapting to diverse climatic conditions and becoming a crucial part of
agricultural systems in Asia, Africa, and parts of the Americas.
The cultivation of jowar is widespread due to its ability to thrive in semi-arid and
drought-prone regions, where other cereal crops struggle to survive. Its deep root
system enables it to access water and nutrients from deeper soil layers, making it
more resilient to periods of limited rainfall. This resilience to drought and heat stress
makes jowar a lifeline for farmers in regions with erratic rainfall patterns, such as the
semi-arid tropics.
The significance of jowar in agriculture extends beyond its ability to withstand harsh
environmental conditions. It is a highly nutritious grain, rich in carbohydrates,
protein, fiber, and essential minerals such as iron, phosphorus, and potassium. Its
gluten-free nature makes it suitable for individuals with gluten intolerance,
contributing to its popularity in gluten-free diets. Additionally, jowar is an excellent
source of antioxidants and phytochemicals, which have been linked to various health
benefits, including reducing the risk of chronic diseases.
The environmental factors influencing the yield of jowar are diverse and multifaceted.
Temperature plays a crucial role in determining the growth and development of
jowar plants. While jowar can tolerate high temperatures, extreme heat stress during
critical growth stages can negatively impact yield. Conversely, cooler temperatures
during flowering and grain filling stages can result in higher yields by promoting
pollination and grain development.
15
essential for germination and establishment, while dry conditions during flowering
and grain filling stages can lead to yield losses. The timing and distribution of
rainfall are critical, as excessive moisture during harvesting can delay operations and
increase the risk of fungal diseases.
Soil quality and nutrient levels also play a vital role in jowar cultivation. Well-
drained soils with good organic matter content are ideal for jowar production, as
waterlogging can lead to root rot and stunted growth. Adequate levels of nitrogen,
phosphorus, and potassium are essential for optimal growth and yield. However,
excessive fertilizer application can lead to nutrient imbalances and environmental
pollution, highlighting the importance of soil testing and nutrient management
practices.
Pest and disease pressure pose significant challenges to jowar production, affecting
yield and quality. Common pests include aphids, stem borers, and shoot fly, which
can cause direct damage to plants or transmit viral diseases. Fungal diseases such as
anthracnose, downy mildew, and head smut can also reduce yield and grain quality if
left unmanaged. Integrated pest management strategies, including crop rotation, use
of resistant varieties, and judicious use of pesticides, are essential for mitigating pest
and disease damage.
Beyond its nutritional value, jowar plays a vital role in sustaining livelihoods and
economies, particularly in rural areas where agriculture is the primary source of
income. Smallholder farmers, often marginalized and resource-constrained, rely on
jowar cultivation for subsistence and income generation. Its low input requirements
and minimal water usage make it an attractive option for resource-poor farmers,
offering a means of livelihood in challenging environments.
The economic importance of jowar extends beyond the farm gate, encompassing the
entire value chain from production to marketing and processing. In many regions,
jowar processing activities such as milling, grinding, and value-added product
manufacturing provide employment opportunities and stimulate local economies.
The production of jowar-based products such as flour, meal, and snacks contributes
to food security and dietary diversity, particularly in regions where access to other
grains is limited.
16
Furthermore, jowar cultivation fosters biodiversity and environmental sustainability
by promoting crop diversity and reducing the reliance on monoculture systems.
Agroecological practices such as intercropping jowar with legumes or cover crops
enhance soil fertility, pest management, and water conservation, resulting in more
resilient and sustainable farming systems. By diversifying cropping systems and
preserving traditional farming practices, jowar cultivation contributes to ecosystem
resilience and adaptation to climate change.
1.1.1.2. The Role of Machine Learning (ML) and Internet of Things (IoT) in
Jowar Production:
In contemporary agriculture, the integration of cutting-edge technologies like
Machine Learning (ML) and the Internet of Things (IoT) has the potential to
revolutionize crop production. This paper delves into a pioneering strategy aimed at
enhancing Jowar crop productivity through the synergistic application of ML and IoT.
The central objective of this study is to develop a predictive ML model capable of
forecasting Jowar crop yield, thereby empowering farmers with data-driven insights
to optimize crop management practices and resource allocation. By harnessing data
pertaining to soil properties, environmental conditions, nutrient levels, geographical
parameters, and soil pH, this model seeks to provide actionable intelligence for
maximizing Jowar yield.
At the heart of this strategy lies the development of a predictive ML model tailored
specifically for Jowar cultivation. The model draws on diverse sources of data,
including soil characteristics such as texture, pH levels, organic matter content, and
nutrient composition. Crop health and production are greatly influenced by the
characteristics of the soil, which affect root growth, water retention, and nutrient
17
availability. By analyzing these parameters, the ML model can assess soil fertility
and recommend appropriate amendments to optimize Jowar yield.
Environmental factors constitute another key aspect of the predictive model. Crop
development is greatly impacted by temperature, solar radiation, humidity, and
rainfall patterns. Farmers may foresee potential problems and modify agricultural
operations by using the ML model to create accurate environmental forecasts based
on data from IoT-enabled sensors put in the fields and weather station data. For
example, early interventions like irrigation scheduling or drainage management
might lessen the negative impacts on Jowar crops in areas that are prone to drought
or heavy rainfall.
Geographical parameters such as elevation, slope, and aspect also influence Jowar
cultivation practices, particularly in hilly or terraced landscapes. The ML model
considers these factors to generate site-specific recommendations for crop
management, taking into account variations in microclimates and soil conditions. By
leveraging spatial data and geographic information systems (GIS), the model can
delineate optimal planting zones, identify areas vulnerable to erosion or soil
degradation, and optimize land use planning for sustainable Jowar production.
Soil pH, another critical determinant of crop performance, is factored into the ML
model to assess soil acidity or alkalinity levels. Jowar exhibits varying degrees of
tolerance to different pH ranges, with optimal growth typically occurring in slightly
acidic to neutral soils. By monitoring soil pH and providing lime or acidifying agents
as needed, farmers can maintain optimal growing conditions for Jowar, thereby
maximizing yield potential.
The development of the predictive ML model involves several stages, including data
collection, preprocessing, model training, validation, and deployment. Large-scale
datasets encompassing historical crop yields, soil analyses, weather records, and
agronomic practices serve as the foundation for model development. To guarantee
data quality and consistency, preprocessing methods such feature scaling,
18
normalization, and missing value imputation are used.
Choosing the right machine learning (ML) methods, such as regression, decision
trees, or neural networks, based on the type of data and the intended prediction goal
is known as model training. Ensemble methods, which combine multiple algorithms
to improve predictive accuracy, may also be employed. The model is trained using
labeled data, with input features representing soil, environmental, and agronomic
variables, and the target variable being Jowar yield.
Once validated, the ML model is deployed for real-time forecasting of Jowar crop
yield, leveraging IoT infrastructure for data acquisition and dissemination. IoT-
enabled sensors deployed in the field continuously monitor soil moisture levels,
temperature, humidity, and other relevant parameters, transmitting data to a
centralized platform for analysis. The ML model processes this data in real-time,
generating forecasts of Jowar yield based on current environmental conditions and
agronomic practices.
Farmers can access these forecasts through web-based interfaces, mobile applications,
or SMS alerts, enabling timely decision-making and adaptive management strategies.
By integrating ML-based yield predictions with agronomic recommendations, such
as optimal planting dates, fertilizer application rates, and irrigation schedules,
farmers can optimize resource allocation and maximize Jowar productivity while
minimizing input costs and environmental impact.
In addition to yield forecasting, the ML model can facilitate predictive analytics for
pest and disease management, crop rotation planning, and market analysis. By
analyzing historical pest incidence data, weather patterns, and crop susceptibility
factors, the model can predict the likelihood of pest outbreaks and recommend
appropriate control measures. Similarly, by analyzing market trends and demand-
supply dynamics, the model can assist farmers in making informed decisions
regarding crop selection, pricing, and marketing strategies.
19
The adoption of ML and IoT technologies in Jowar production offers numerous
benefits, including enhanced productivity, resource efficiency, and sustainability. By
harnessing the power of data analytics and real-time monitoring, farmers can
overcome traditional constraints and optimize crop management practices in
response to dynamic environmental conditions. Furthermore, by providing actionable
insights and decision support tools, ML-based solutions empower farmers to navigate
uncertainties and improve their livelihoods.
One of the most significant impacts of climate change on agriculture is the alteration
of growing seasons and crop suitability. As temperatures rise, certain crops may no
longer be viable in their traditional growing regions, forcing farmers to either switch
to more heat-tolerant varieties or explore alternative crops altogether. Similarly,
changes in precipitation patterns can lead to water stress during critical growth stages,
affecting crop development and yield. In regions where water scarcity is already a
20
concern, such as arid and semi-arid areas, the intensification of droughts can have
devastating consequences for agricultural productivity.
The spread of illnesses and pests is a significant factor in how climate change affects
agriculture. Temperature increases and changes in precipitation patterns foster an
environment that is conducive to the growth of pests, which can cause outbreaks that
can completely destroy crops. Additionally, changes in temperature and humidity
affect the geographical distribution of pests, allowing them to expand into new
regions and infest previously unaffected areas. Similarly, changes in when plants
develop might interfere with normal pest management processes, making pest burden
on crops even worse.
Proactive steps are required to improve resilience and flexibility within the
agricultural industry in order to lessen the negative effects of climate change on
agriculture. One promising approach is to leverage data mining and ML techniques
to estimate agricultural output based on historical weather and yield information. By
analyzing large datasets of weather patterns, soil characteristics, crop varieties, and
yield data, researchers can identify correlations and patterns that inform predictive
models of agricultural productivity under different climatic conditions.
Data mining techniques, such as clustering and classification, can help identify key
factors influencing crop yield variability, allowing farmers to make informed
decisions about crop selection, planting times, and agronomic practices. For example,
by analyzing historical weather data, ML algorithms can predict the likelihood of
drought or excessive rainfall during critical growth stages and recommend
appropriate irrigation strategies or crop rotations to mitigate risks.
21
Moreover, data-driven approaches can enhance resource efficiency in agriculture by
optimizing inputs such as water, fertilizer, and pesticides based on real-time weather
forecasts and soil moisture levels. For instance, precision agriculture techniques,
enabled by ML algorithms and sensor technologies, can tailor irrigation schedules
and nutrient applications to meet the specific needs of crops while minimizing waste
and environmental impact.
Data mining and ML techniques offer promising tools for predicting and mitigating
the effects of climate change on agriculture. By analyzing historical weather and
yield data, researchers can develop predictive models to inform decision-making and
resource management at the farm and policy levels. However, effective climate
adaptation strategies must also address broader socio-economic and institutional
factors to ensure equitable and sustainable outcomes for farmers and communities.
Collaborative efforts between researchers, policymakers, and agricultural
22
stakeholders are essential to build climate-resilient food systems and safeguard
global food security in the face of climate change.
23
Moreover, ML techniques are instrumental in precision agriculture, a data-driven
approach that aims to optimize inputs and maximize outputs on a per-field or even
per-plant basis. Through the integration of advanced sensors, drones, and
autonomous machinery, precision agriculture generates vast amounts of data that can
be analyzed and interpreted using ML algorithms. These insights enable farmers to
tailor their actions to the specific needs of each crop, optimizing irrigation schedules,
adjusting planting densities, and applying targeted interventions only where
necessary. As a result, precision agriculture not only enhances productivity but also
conserves resources and minimizes environmental harm.
24
Looking ahead, the future of ML in agriculture holds immense promise, fueled by
advances in sensor technology, remote sensing, data analytics, and artificial
intelligence. As the cost of sensors continues to decline and their capabilities
continue to improve, we can expect to see the widespread deployment of IoT devices
and smart sensors in agriculture, generating unprecedented amounts of data for ML
analysis. Moreover, the integration of satellite imagery, drones, and other remote
sensing technologies will enable farmers to monitor their fields with unprecedented
precision and scale, facilitating data-driven decision-making at every stage of the
agricultural value chain.
Machine learning has the potential to transform agriculture and solve many of the
intricate problems that the world's food systems face. ML helps farmers make well-
informed decisions, maximize resource use, and improve productivity and
sustainability along the agricultural value chain by utilizing data and algorithms. To
fully realize this potential, though, institutional, technological, and financial
obstacles must be removed along with a collaborative, innovative, and knowledge-
sharing culture must be fostered. We can use the revolutionary potential of machine
learning to create a more sustainable, fair, and resilient food system for coming
generations if we work together and make significant investments.
25
enhances the predictive capabilities, allowing for accurate estimation of crop
production. This essay explores the role of IoT in agriculture, focusing specifically
on its application in monitoring Jowar crops and the potential benefits it offers to
farmers.
In the case of Jowar cultivation, which is a staple crop in many regions of the world,
the integration of IoT technology holds immense potential. Jowar, also known as
sorghum, is a versatile grain crop that is highly resilient to drought and other adverse
conditions. However, optimal growth conditions are still essential for maximizing
yield and quality. By employing IoT-enabled sensors to monitor environmental
variables, farmers can ensure that the crop receives the necessary inputs for healthy
growth. For example, sensors can detect fluctuations in temperature and humidity,
allowing farmers to adjust irrigation schedules accordingly. Similarly, soil sensors
can provide real-time data on moisture levels and nutrient content, enabling farmers
to fine-tune fertilization practices and optimize soil health.
One of the key advantages of IoT technology in agriculture is its ability to provide
real-time monitoring and remote management capabilities. This is particularly
beneficial for farmers who may have large or geographically dispersed land holdings.
With IoT-enabled systems, farmers can monitor their crops from anywhere, using
smartphones or other connected devices. This not only saves time and labor but also
enables timely intervention in case of any issues or anomalies detected in the field.
For example, if sensors indicate a sudden drop in soil moisture levels, farmers can
remotely activate irrigation systems to prevent water stress and minimize yield losses.
However, despite its numerous benefits, the widespread adoption of IoT technology
in agriculture still faces several challenges and barriers. One of the primary concerns
is the cost associated with deploying IoT infrastructure, including sensors,
connectivity, and data management systems. While the prices of IoT components
have been steadily declining, they may still be prohibitive for small-scale farmers
with limited resources. Furthermore, there are concerns about data privacy and
security, particularly regarding the collection and transmission of sensitive
information from the field. Farmers must ensure that appropriate safeguards are in
place to protect against unauthorized access or data breaches.
27
Notwithstanding these difficulties, IoT technology has too many potential
applications in agriculture, especially for tracking Jowar crops, to be disregarded.
Farmers are able to optimize crop management methods, increase production, and
assure sustainability with the use of IoT, which offers real-time data, predictive
analytics, and remote management capabilities. Moreover, the use of machine
learning algorithms strengthens the prognostic potential of Internet of Things
systems, permitting more precise crop output estimate and improved risk mitigation.
IoT has the power to completely change how we approach agriculture and deal with
the difficulties of feeding a growing world population in a sustainable way, provided
that stakeholders collaborate more and technology continues to progress.
28
unleash torrents of destruction, inundating fields and washing away precious topsoil
along with the dreams of bountiful harvests. The delicate balance of water
availability hangs in the balance, underscoring the vulnerability of agricultural
livelihoods to the caprices of the skies.
Furthermore, because nutrients are the biological currency that drives plant growth
and development, soil nutrient levels are crucial in determining crop yields and
quality. However, the relentless extraction of nutrients through successive cropping
cycles, coupled with the limited replenishment of nutrients through natural processes,
leads to soil depletion and nutrient deficiencies. The essential components of plant
nutrition are micronutrients, phosphorus, potassium, and nitrogen; however, the
availability of these elements is frequently hampered by elements like microbial
activity, soil pH, and the amount of organic matter present. Unbalances in the
availability of nutrients result in stunted development, lower yields, and worse-
quality nutrition, which provide a significant problem to farmers trying to feed a
rising population. The imperative of sustainable nutrient management practices,
encompassing fertilization strategies, crop rotation, and organic amendments,
emerges as a linchpin in addressing the specter of nutrient depletion in agricultural
soils.
Amidst these multifaceted challenges, the specter of climate change looms large,
casting a pall of uncertainty over the future of agricultural production. The
intensification of extreme weather events, driven by anthropogenic emissions of
greenhouse gases, amplifies the vulnerabilities of agricultural systems to climatic
variability. Rising temperatures alter growing seasons, shift climatic zones, and
disrupt ecological balances, triggering cascading impacts on crop yields and food
security. Changing precipitation patterns exacerbate water scarcity in arid regions
and inundate low-lying areas with floods, fracturing the delicate equilibrium of
agricultural ecosystems. In addition, the spread of diseases and pests brought on by
temperature increases and changing weather patterns presents significant risks to
29
agricultural yield and health. The relationship between agricultural vulnerability and
climate change emphasizes how important it is to use resilience-building techniques
and adaptive methods to protect food systems from the effects of global warming.
The challenges faced by farmers in crop production are manifold and complex, with
environmental factors playing a central role in shaping the trajectory of agricultural
systems. From temperature extremes to erratic rainfall patterns, soil degradation, and
nutrient depletion, farmers grapple with a myriad of challenges that threaten the
sustainability and resilience of agricultural livelihoods. Moreover, the specter of
climate change looms large, exacerbating existing vulnerabilities and amplifying the
urgency of action. However, when farmers use technology and sustainable
management techniques to address new concerns, there are chances for creativity,
adaptation, and resilience-building among these difficulties. We can steer towards a
future in agriculture that is more resilient and sustainable, where farmers can prosper
30
despite the unpredictable changes in climatic conditions, by adopting a
comprehensive strategy that incorporates research, policy, and community
involvement.
At the heart of the issue lies the relentless expansion of global population figures.
With each passing year, the world's population burgeons, placing an ever-increasing
strain on agricultural resources to sustainably meet the growing demand for food.
Nowhere is this phenomenon more pronounced than in emerging economies such as
India, where population growth rates outpace those of many developed nations.
India's burgeoning population, expected to surpass China's in the coming decades,
presents a daunting challenge for the country's agricultural sector, which must adapt
to feed a rapidly expanding populace.
The implications of this demographic trend are far-reaching. As more mouths to feed
emerge, the demand for agricultural produce escalates, creating a significant burden
on farmers tasked with meeting these needs. In India, where agriculture remains a
cornerstone of the economy, this demand surge poses both opportunities and
challenges for farmers striving to sustainably boost crop production.
One of the primary challenges stemming from increased demand is the imperative to
enhance crop yield and productivity. Farmers are under mounting pressure to
maximize output from limited arable land while minimizing resource inputs and
environmental impact. This necessitates the adoption of innovative agricultural
practices, technologies, and management strategies aimed at optimizing crop growth
and harvest yields.
31
Another dimension of the challenge lies in the need to ensure food security for a
growing population. As demand for food surges, so too does the importance of
safeguarding against food shortages and price volatility. India, with its vast and
diverse population, grapples with the dual challenge of feeding its citizens while
maintaining food affordability and accessibility. Achieving food security entails not
only increasing crop yields but also improving distribution networks, reducing post-
harvest losses, and addressing socio-economic disparities that contribute to food
insecurity.
Adapting to these climatic challenges requires resilience and innovation on the part
of farmers and agricultural stakeholders. From implementing water-efficient
irrigation techniques to adopting drought-resistant crop varieties and agroforestry
practices, there is a pressing need to develop climate-smart agriculture solutions that
enhance resilience to climate variability and mitigate adverse impacts on crop yields.
Investments in agricultural research and development are also crucial for developing
climate-resilient crop varieties, sustainable farming practices, and value-added
agricultural products. Public-private partnerships can play a vital role in leveraging
resources and expertise to drive innovation and scale up successful interventions
aimed at meeting increasing demand for food.
33
Agriculture, once considered a traditional and labor-intensive industry, has
undergone a profound transformation in recent decades, fueled by advancements in
technology and data analytics. Today, farmers have access to an unprecedented
wealth of data generated by various sources, including sensors, drones, satellite
imagery, weather forecasts, and historical crop yield data. This abundance of data
presents both opportunities and challenges for farmers, as they seek to harness its
potential to improve their decision-making processes and enhance crop productivity.
One of the primary challenges faced by farmers in utilizing data for decision-making
is the complexity and sheer volume of available data. The sheer volume of data
generated by modern agricultural technologies can be overwhelming, making it
difficult for farmers to extract actionable insights. Moreover, the diversity of data
sources, ranging from soil moisture levels to pest infestations to market prices, adds
to the complexity of the decision-making process. Farmers must grapple with
integrating and analyzing disparate datasets to derive meaningful insights that can
inform their decisions.
Furthermore, the quality and reliability of data pose significant challenges for
farmers. Inaccurate or incomplete data can lead to erroneous conclusions and
suboptimal decision-making. For example, inaccurate weather forecasts may result in
improper irrigation scheduling, leading to water wastage or crop stress. Similarly,
unreliable sensor data may mislead farmers into making incorrect assessments of soil
conditions or crop health. Ensuring the accuracy and reliability of data sources is,
therefore, crucial for effective decision-making in agriculture.
34
accessibility challenge, as many farmers may lack the necessary skills to effectively
use and interpret data.
In addition to these challenges, concerns about data privacy and security also loom
large in the agriculture sector. Farmers must grapple with the complexities of
managing and safeguarding sensitive agricultural data, including crop yield data, soil
health information, and farm management practices. The proliferation of data-sharing
agreements and third-party data analytics platforms further complicates the issue,
raising questions about data ownership, consent, and control. Farmers must navigate
a complex landscape of privacy regulations and industry standards to ensure the
secure handling of their data while still reaping the benefits of data-driven decision-
making.
35
It also takes policy actions to create an environment that supports data-driven
agriculture. Governments have the power to significantly influence the adoption of
data-driven technologies, encourage investment in agriculture technology, and
provide legal frameworks that protect the security and privacy of personal
information. Public-private partnerships may also promote infrastructure
development, technology transfer, and knowledge exchange, creating an environment
that is favorable to the broad implementation of data-driven decision-making in
agriculture.
36
But there are challenges involved in making the switch from conventional farming
practices to data-driven precision agriculture. The requirement for technical know-
how among farmers and agricultural practitioners is one of the main obstacles.
Although ML and IoT technologies are very promising, they require a certain degree
of expertise in data analysis, programming, and technological integration to be
implemented successfully. It's possible that many farmers—especially those who
operate in isolated and rural areas—lack the expertise needed to make the most of
these technology.
Another critical challenge is data privacy and security. With the proliferation of IoT
devices collecting vast amounts of sensitive agricultural data, ensuring the
confidentiality and integrity of this information is paramount. Unauthorized access or
data breaches could compromise farmers' privacy and potentially undermine the
competitiveness of agricultural enterprises. Robust cybersecurity measures, including
encryption, authentication, and access controls, are essential to safeguarding
agricultural data against malicious threats.
37
long-term benefits of increased productivity and efficiency, the upfront costs of
acquiring and implementing these technologies can be prohibitive. Smallholder
farmers, in particular, may face financial constraints that impede their ability to
invest in expensive hardware, software, and training programs. Additionally, the
return on investment (ROI) for ML and IoT implementations may not be
immediately apparent, further complicating decision-making for farmers operating
on tight profit margins.
Collaborative research and development efforts are also crucial for overcoming
technical barriers and advancing the state-of-the-art in agricultural ML and IoT
applications. Interdisciplinary partnerships between agronomists, data scientists,
engineers, and domain experts can lead to innovative solutions tailored to the unique
needs and challenges of agricultural systems. Open-source initiatives and
knowledge-sharing platforms can further facilitate the dissemination of best practices
and foster a culture of collaboration within the agricultural community.
While the integration of ML and IoT technologies holds immense promise for
enhancing crop productivity and sustainability in agriculture, realizing this potential
requires overcoming a myriad of challenges. From technical complexities and
infrastructural constraints to economic considerations and cybersecurity risks, the
path to widespread adoption is fraught with obstacles. However, with concerted
efforts and strategic interventions from stakeholders across the agricultural
ecosystem, these challenges can be addressed, paving the way for a data-driven
agricultural revolution that benefits farmers, consumers, and the environment alike.
38
CHAPTER 2
LITERATURE SURVEY
Apolo-Apolo & Martínez-Guanter, 2020 The purpose of this study was to use
automated image processing techniques to address the problem of reliably
forecasting citrus yields early in the growing season. Citrus fruits on individual trees
were effectively identified and counted by the research using deep learning
techniques, namely a Faster R-CNN model trained on UAV-captured pictures, with a
promising standard error of 6.59% in comparison to optical counting. Pre-harvest
size discrimination was further enhanced by the assessment of fruit size. After
training for yield estimation per tree and overall yield, a Long Short-Term Memory
(LSTM) model demonstrated an approximate inaccuracy of 4.53% per tree and 7.22%
for total yield, much surpassing estimates made by skilled specialists. The integration
of UAV imagery and deep learning techniques offers a cost-effective and efficient
solution for citrus yield estimation, potentially enhancing decision-making processes
for producers and cooperatives, thus increasing economic profitability and reducing
uncertainty in citrus cultivation.
Bian et al., 2022 The study focuses on predicting winter wheat yield at a field scale
using multi-spectral UAV data and machine learning methods. Six regression models
were constructed, and it was found that the model built at the filling stage using
Gaussian process regression (GPR) outperformed others in single-stage predictions.
GPR, support vector machine regression (SVR), and random forest regression (RFR)
exhibited superior performance compared to other algorithms, with GPR showing the
highest accuracy. Furthermore, combining extremely strongly correlated vegetation
indices (ESCVIs) at flowering and filling stages yielded the most accurate
predictions. The model's adaptability was confirmed across different scales,
indicating its potential for practical applications in field management. Despite these
advancements, the study acknowledges the need for further research to enhance
model accuracy by increasing sample size, incorporating additional crop parameters,
testing cross-regional applicability, and exploring integration with satellite imagery
for broader-scale predictions. Overall, this research provides valuable insights and
technical support for optimizing field crop management decisions in small to
medium-sized planting areas, laying the groundwork for future advancements in crop
yield prediction methodologies.
Burdett & Wellen, 2022 This study investigates the intricate relationship between
crop yield, soil properties, and topographic characteristics in Southwestern Ontario,
Canada, using high-resolution data and analytical techniques. With a dataset
encompassing 145,500 observations of corn and soybean yield alongside topographic
and soil nutrient attributes, the study compares various predictive models—multiple
39
linear regression (MLR), artificial neural networks, decision trees, and random
forests—to determine their efficacy in relating soil properties to crop yields on a
subfield scale of 2 meters. Results indicate that random forests outperform other
models, achieving R2 values of 0.85 for corn and 0.94 for soybeans, while MLR lags
behind with R2 values of 0.40 and 0.45, respectively. Cross-validation experiments
reveal the ability of random forest models to predict both low- and high-yield areas,
albeit with some limitations. The study highlights the potential of machine learning
approaches in forecasting high-yield locations in fields without yield maps, even in
the presence of uncertainty, as long as the soil-property-yield connections are
consistent. Overall, the results show how precision farming and machine learning
may be used to optimize agricultural management strategies based on a sophisticated
understanding of soil and topography features.
Cao et al., 2021 This study addresses the critical need for timely and accurate rice
yield prediction in China, employing advanced modeling techniques and integrating
diverse data sources including satellite imagery, climate variables, and soil properties.
Three models—Least Absolute Shrinkage and Selection Operator (LASSO)
regression, Random Forest (RF), and Long Short-Term Memory Networks
(LSTM)—were developed and compared in their ability to forecast rice yield at the
county level. Results indicate that LSTM and RF outperformed LASSO, with LSTM
demonstrating the highest predictive accuracy. Furthermore, the combination of
satellite-derived data, particularly Solar-Induced Chlorophyll Fluorescence (SIF)
alongside traditional vegetation indices like Enhanced Vegetation Index (EVI),
improved prediction accuracy, especially during periods of drought and heat stress.
The study also explores the optimal lead time for yield prediction, highlighting the
potential for timely intervention to mitigate climate risks and ensure food security.
Overall, the research provides a scalable, cost-effective approach for large-scale rice
yield estimation, offering valuable insights for policymakers and agricultural
planners to enhance agricultural resilience in the face of climate change.
40
authors also outline various open challenges, including the need for a unified
evaluation framework, adoption of best practices from ML research, addressing IoT
implementation limitations, and mitigating cybersecurity threats in precision
agriculture. This comprehensive analysis offers valuable insights and proposes
mitigation strategies to advance the effective integration of ML techniques into
agricultural practices.
Gómez & Salvador, 2019 The paper explores the potential of using satellite remote
sensing, specifically Sentinel 2 imagery, in conjunction with machine learning
techniques to predict potato yields. Over three growing seasons, various machine
learning algorithms were applied to data from July, August, and September, focusing
on the red, red-edge, and infra-red bands of the spectrum. Key findings include the
importance of feature selection to reduce multicollinearity among predictors, with
models like Regression Quantile Lasso and Leap Backwards performing better after
removing highly correlated predictors, while Support Vector Machine Radial
excelled without feature selection. Additionally, a random forest model showed
promise in predicting potato yields prior to harvest. The study underscores the
significance of Sentinel 2 imagery's high spatial and temporal resolutions compared
to traditional methods, though challenges such as cloud cover and the need for more
extensive datasets remain. Overall, the research advances the field of potato yield
modeling and highlights avenues for future investigation to enhance model
generalization capacity and address data limitations.
Iniyan b et al., 2023 The paper explores the application of machine learning
techniques in predicting crop yields, with a focus on soil and environmental variables.
Given the complexity of agricultural systems and the multitude of factors affecting
crop growth, machine learning offers intelligent decision-making support for farmers.
The study aims to develop a predictive model that considers various parameters to
assist farmers in selecting crops and optimizing yields, thereby minimizing losses
and maximizing profits. By leveraging regression approaches for future predictions
and descriptive models for data analysis, the research addresses the challenges faced
in building high-performance predictive models. Specifically, in the context of
India's agricultural economy, where farming is a primary occupation for a significant
portion of the population but contributes modestly to the GDP, accurate yield
prediction becomes crucial for enhancing farmer livelihoods. The paper discusses the
dataset acquisition process, emphasizing the importance of district-level data on
climate, soil, and yield for model training. Various machine learning models,
including multiple linear regression, decision tree regression, gradient boosting,
elastic net, and Lasso, are evaluated for their performance in yield prediction.
Despite challenges such as dataset selection and preprocessing, computational
limitations, and environmental variability, the study demonstrates the efficacy of
feature engineering-based LSTM as the most efficient model, achieving 86.3%
accuracy and minimal mean absolute error. The end-to-end approach of the project
facilitates direct utilization by farmers through a web interface, enabling informed
decisions on crop selection for optimal yields. Overall, the research underscores the
transformative potential of machine learning in agriculture, offering a pathway
towards sustainable farming practices and improved livelihoods for farmers.
41
Jinyuan et al., 2022 The paper provides a comprehensive overview of the
transformative impact of Agricultural Internet of Things (IoT) on agricultural
production. It emphasizes how IoT technologies not only enhance agricultural
productivity but also contribute to product quality improvement, labor cost reduction,
and increased farmer income, thus facilitating agricultural modernization and
intelligence. The paper systematically reviews the current state of agricultural IoT,
outlining its system architecture and delving into five key technologies crucial for its
implementation. Furthermore, it discusses the diverse applications of agricultural IoT
across five representative fields, highlighting its versatility and adaptability. Despite
its numerous benefits, the paper acknowledges the challenges faced by agricultural
IoT and provides insightful analysis, concluding with a forecast of its future
development trajectory. This comprehensive synthesis offers valuable insights into
the potential of agricultural IoT to revolutionize farming practices and contribute to
sustainable agricultural development.
Joshua et al., 2022 The paper delves into the pressing need for innovative
agricultural technologies to address the exponential population growth in developing
nations like India, with a particular focus on crop yield prediction. It underscores the
complexity of this task due to the dynamic nature of environmental parameters and
management practices, necessitating advanced predictive models. The study,
conducted in Tamilnadu, India, over 18 years, compares the effectiveness of
statistical (Multi Linear Regression) and machine learning models (Back Propagation
Neural Network, Support Vector Machine, and General Regression Neural
Networks). Results indicate that machine learning models, especially General
Regression Neural Networks (GRNN), outperform the statistical model, achieving a
remarkable 97% accuracy in predicting crop yield. Various evaluation metrics
highlight the superiority of GRNN, showcasing its ability to minimize errors and
variance compared to other machine learning approaches. However, the study
acknowledges the longer runtime of GRNN as a limitation. Overall, the research
emphasizes the pivotal role of machine learning in revolutionizing crop yield
prediction for sustainable agricultural practices in diverse geographical contexts.
Kuradusenge et al., 2023 The paper investigates the impact of climate change on
rainfed agriculture, focusing on Irish potatoes and maize production in Musanze,
Rwanda. It emphasizes the importance of early information sharing to mitigate food
insecurity risks. Employing data mining techniques, specifically Random Forest,
Polynomial Regression, and Support Vector Regressor, the study predicts future crop
harvests based on historical weather and yield data. Results reveal Random Forest as
the most effective model, with superior performance in predicting crop yields. The
optimum weather conditions for optimal crop yield are identified. The study
proposes future research directions integrating Random Forest models with IoT for
improved yield prediction, drawing inspiration from existing works in decision trees
and random forests. This research contributes to enhancing data reliance in
agricultural and climate change decision-making, particularly in low-to-middle
income countries like Rwanda.
Monisha et al., 2021 The paper focuses on addressing the crucial agricultural issue
of yield prediction for wheat and jowar, two staple crops in India that share similar
input parameters and seasonal characteristics. Recognizing the significance of
42
accurate yield forecasts in an agriculture-dependent nation like India, the authors
propose a novel yield prediction model. Leveraging machine learning techniques,
specifically an ensemble approach combining random forest and AdaBoost
algorithms, the model aims to enhance prediction accuracy. By utilizing basic input
parameters such as season, area, crop, and production, the model endeavors to
provide reliable forecasts for wheat and jowar yields. This research contributes to the
field by offering a tailored solution to a specific agricultural challenge, potentially
aiding farmers, policymakers, and stakeholders in making informed decisions.
Furthermore, the incorporation of ensemble techniques underscores the commitment
to improving prediction accuracy, essential for effective agricultural planning and
management. Through the integration of forecasting methodologies, machine
learning, and domain-specific knowledge, this study aligns with the broader
objective of leveraging technology to enhance agricultural productivity and
sustainability in India and beyond.
Murugamani et al., 2022 The paper introduces a novel approach to monitoring plant
development parameters and detecting cotton leaf diseases using AI-based wireless
sensor systems. By leveraging image processing and machine learning techniques,
the system aims to improve prediction accuracy and enable intelligent farming
practices. Key components of the proposed system include leaf disease detection,
remote monitoring via a server-based system, and sensing of moisture, temperature,
and soil quality. The system's Android app facilitates real-time data access for
farmers, allowing them to monitor soil parameters and control irrigation and
pesticide application. The paper highlights the effectiveness of the Support Vector
Machine (SVM) algorithm in disease detection, achieving an accuracy of 98.34% for
bacterial blight diagnosis. It emphasizes the importance of AI in revolutionizing
agriculture through data-driven insights and proposes future enhancements using
Convolutional Neural Networks (CNN) for disease classification. Overall, the paper
underscores the potential of AI-driven monitoring systems in improving agricultural
productivity and crop management while mitigating risks associated with plant
diseases.
Oikonomidis et al., 2022 The objective of this work is to improve the performance
of current models by investigating different machine learning (ML) and deep
learning (DL) techniques in order to address the difficult problem of agricultural
yield prediction. They suggest and assess five distinct strategies by utilizing a large
dataset of US soybean crop data that includes weather, soil, and farm management
characteristics. These methods include hybrid combinations with convolutional
neural networks (CNNs), recurrent neural networks (RNNs), and long short-term
memory (LSTM) networks in addition to solo XGBoost models. Through rigorous
experimentation, they demonstrate that the hybrid CNN-DNN model emerges as the
top performer, surpassing others with notable metrics such as RMSE, MSE, MAE,
and R2. Despite achieving promising results, the study acknowledges limitations
such as dataset specificity and computational constraints, suggesting avenues for
43
future research, including improving model explainability and exploring transfer
learning techniques. Overall, the findings underscore the efficacy of ensemble
methods combining ML and DL algorithms in crop yield prediction, with
implications for decision-making support in agriculture and the potential for further
advancements in model architectures and methodologies.
Pavani et al., 2022 The paper focuses on leveraging machine learning (ML)
strategies to predict crop yield in agriculture, particularly in Telangana state, India,
given the increasing demand for crop production. The study employs K-nearest
neighbor (KNN) and support vector machine (SVM) algorithms implemented in
MATLAB, utilizing parameters such as soil moisture, humidity, temperature, and
rainfall from the dataset. The aim is to determine the most accurate model for
predicting jowar yield, an important crop in the region. Comparing the performance
of KNN and SVM, the latter emerges as the superior model in terms of accuracy.
This research underscores the significance of ML techniques in enhancing
agricultural practices and ensuring food security for future generations in India.
Ruan et al., 2022 This study addresses the crucial need for accurate and timely
prediction of wheat yield at a field scale, essential for precision management
practices. By integrating proximal sensing and weather data from nine multi-N rates
field experiments across five sites over a decade, the research aims to develop an in-
season wheat yield prediction model. Eleven statistical and machine learning
regression algorithms were compared, with ensemble learning methods like Random
Forest and eXtreme Gradient Boosting exhibiting the highest performance. Feature
importance analysis highlighted the significance of factors such as NDRE, average
temperature, minimum temperature, and relative humidity, particularly from planting
to stem elongation. The study suggests that the aggregation approach and feature
selection methods don't significantly impact prediction accuracy for the ML models.
The framework introduced provides a promising avenue for complementing county-
scale models and understanding yield responses to environmental conditions, with
potential applications in guiding real-time sensor-based precision fertilization. In
conclusion, this research offers a comprehensive field-scale winter wheat yield
prediction model, emphasizing the efficacy of ensemble learning methods and the
importance of feature selection in balancing complexity and accuracy, thereby
providing valuable insights for agricultural decision-making and enhancing global
food security efforts.
Benos et al., 2021 The paper provides a systematic review of the utilization of
machine learning (ML) in agriculture, focusing on crop, water, soil, and livestock
management. Conducting a comprehensive analysis of literature published from
2018 to 2020, it highlights several key findings. Firstly, there is a significant
emphasis on crop management, although interest in livestock management has
notably increased. Artificial Neural Networks (ANNs) are the most effective ML
models, with Ensemble Learning (EL) gaining traction. Maize and wheat are the
most studied crops, while cattle, sheep, and goats dominate livestock management
research. RGB images are the most common input data, with remote sensing
technologies like satellites, UAVs, and UGVs being prevalent. The geographical
44
distribution indicates international interest, fostering convergence research. The
paper underscores the accelerating research interest in ML applications in agriculture
due to advancements in information and communication technologies (ICT) and the
imperative to enhance food security while minimizing environmental impact.
However, the adoption of ML technologies may face barriers, especially in
developing economies, necessitating a shift in mentality and increased investment.
Overall, the study anticipates that ML will play a crucial role in establishing
sustainable and productive agricultural systems, serving as a guide for various
stakeholders to foster systematic research in this field.
Mourtzinis et al., 2021 The paper addresses the pressing need to accelerate
agricultural productivity amidst rising global population and climate change
challenges. It highlights the limitations of traditional research approaches, which
struggle to account for the diverse range of soil types, weather conditions, and
management practices encountered on farms. The authors propose a novel method
that harnesses extensive databases and artificial intelligence algorithms to evaluate
the complex interactions inherent in cropping systems. By analyzing vast amounts of
crop yield and management data from across the US, they demonstrate the potential
for substantial yield increases through optimized management practices. Their
approach not only accelerates agricultural research but also identifies sustainable
practices to meet future food demands. By overcoming the disconnect between
datasets and leveraging machine learning algorithms, the authors argue that their
methodology can uncover hidden yield potential on individual farms, thus
revolutionizing agricultural practices and addressing global food security concerns.
Gowda et al., 2021 Reduced digital breaches between farmers and IoT technologies
have made agricultural data much more accessible in recent years. This has made it
easier to implement future technologies that aim to improve food cultivation
productivity and sustainability while protecting the environment through optimized
water and input management. Agricultural process-supporting technologies,
including automated irrigation, frost protection, fertilization, and remote monitoring
systems, are made possible in large part by the Internet of Things (IoT). This study
emphasizes how important it is to provide academics and farmers a thorough grasp of
IoT applications in agriculture so they may fully utilize their potential. By bridging
the gap between technology and agriculture, IoT-based applications offer a
promising avenue for addressing the evolving needs of the agricultural sector,
ultimately bolstering efficiency, sustainability, and environmental conservation
efforts.
Dokic et al., 2020 The last two decades have seen a significant surge in the
advancement of artificial intelligence (AI) within the agricultural sector, particularly
in the transition from simpler machine learning techniques to more sophisticated
deep learning algorithms. This paper presents a quantitative analysis of research
publications over this period, focusing on themes such as machine learning, neural
networks, and deep learning, while also examining the contributions of various
countries. Furthermore, it delves into the trends observed in the first half of the
45
current year, emphasizing application areas, specific deep learning methods utilized,
input data types, mentioned crops, and frameworks employed. The study utilizes
Scopus and Web of Science citation databases to gather comprehensive insights into
the evolving landscape of AI in agriculture.
Srivastava et al., 2020 The paper explores the emerging concept of smart agriculture
facilitated by IoT sensors, focusing on the development of a system utilizing Arduino
UNO board to monitor various parameters crucial for crop growth. By integrating
IoT technology, the system efficiently collects data on temperature, water level,
moisture, and field movement to enable timely and informed decision-making for
farmers. It emphasizes the iterative nature of hardware and software updates to adapt
to evolving requirements and technological advancements, highlighting the
importance of rigorous testing to prevent unforeseen issues. The concluded system
offers automated monitoring and management capabilities, significantly reducing
manual labor and resource requirements while enhancing agricultural productivity.
However, the paper acknowledges the need for further improvements, especially in
addressing challenges related to suboptimal environmental conditions such as
inadequate lighting. Overall, the proposed smart agriculture system presents a
promising solution for modernizing agricultural practices and maximizing efficiency
in crop cultivation.
Vadapalli et al., 2020 The paper highlights the evolution of agriculture from
traditional practices to modern smart farming, particularly focusing on the Indian
context. Emphasizing the significance of incorporating Internet of Things (IoT)
technology into agriculture, the paper discusses how IoT systems can revolutionize
farming by enabling real-time monitoring and control of various parameters such as
soil moisture, temperature, and pest infestations. By utilizing sensors, actuators, and
networking technologies, farmers can remotely manage their agricultural operations,
leading to higher crop yields and resource optimization. The integration of IoT and
artificial intelligence (AI) in research and development further enhances data
compilation and resource management, offering farmers advanced tools for decision-
making and problem-solving. Overall, the paper underscores the potential of IoT-
46
enabled smart agriculture systems to improve productivity, address environmental
challenges, and boost agricultural production in India and beyond.
Liakos et al., 2018 This paper provides a comprehensive review of the application
of machine learning (ML) in agricultural production systems, covering crop
management, livestock management, water management, and soil management. A
total of 40 articles were analyzed, with the majority focusing on crop management.
ML models, particularly artificial neural networks (ANNs) and support vector
machines (SVMs), were widely employed across various agricultural domains, with
ANNs predominantly used for crop, water, and soil management, and SVMs for
livestock management. The analysis revealed a significant emphasis on data-
intensive applications within crop management, such as yield prediction and disease
detection, owing to the availability of image data. Nevertheless, ML applications in
soil, water, and livestock management were less common, in part because of the
difficulties involved in performing data analytic tasks. However, the fusion of
machine learning and sensor data is allowing farm management systems to advance
into AI-powered real-time programs, providing more detailed suggestions for action
and decision support with the ultimate goal of raising agricultural productivity and
product quality. The paper underscores the potential for further widespread adoption
of ML models in agriculture, facilitating the development of integrated and practical
tools aligned with the principles of knowledge-based agriculture.
Murugamani et al., 2022 The paper addresses the pressing need for advanced
monitoring systems in agriculture through the integration of artificial intelligence (AI)
and wireless sensor networks, focusing on the detection and control of cotton leaf
diseases. By leveraging image processing-based machine learning techniques, the
research aims to enhance prediction accuracy and promote intelligent farming
practices. The proposed system encompasses various components, including leaf
disease detection, remote monitoring via a server-based system, and sensing of
moisture, temperature, and soil conditions. Through the utilization of AI algorithms,
particularly the support vector machine (SVM) algorithm, the system achieves high
accuracy in disease detection, enabling timely intervention and improved cultivation
outcomes. Moreover, an Android application facilitates real-time data visualization
and control, allowing farmers to monitor soil parameters and regulate irrigation and
pesticide application as necessary. The paper concludes by highlighting the pivotal
role of AI-driven solutions in modernizing agriculture and suggests future
enhancements such as employing convolutional neural network (CNN) models for
disease classification, thereby underscoring the potential for further advancements in
intelligent farming practices.
Dhanaraju et al., 2022 The paper delves into the realm of smart farming,
highlighting the pivotal role of information and communication technology,
particularly the Internet of Things (IoT), in revolutionizing traditional agricultural
47
practices. It explores the integration of innovative technologies, such as IoT, cloud
computing, and artificial intelligence, into farm operations, aiming to enhance
efficiency and sustainability while addressing the challenges posed by shrinking
arable land and a growing global population. By examining the tools and equipment
used in wireless sensor applications and foreseeing the challenges of merging
technology with conventional farming, the paper offers valuable insights for growers,
from crop management to packing and transport. It emphasizes the need for smarter
and more efficient crop production methodologies to ensure food security and
sustainability, while also encouraging the adoption of farming as a profession among
the younger generation. The study underscores the significance of leveraging IoT-
based sensors and communication technologies to optimize every inch of farmland
for increased crop production. Overall, the paper serves as a guide for scholars and
engineers in navigating the current challenges and future prospects of smart farming,
underscoring the importance of embracing technological advancements to meet the
evolving demands of agriculture.
48
Burdett & Wellen, 2022 • RF excels in SW Ontario's RF 85% and 94%
ML for topography, soil,
high-yield predictions.
• Corn and Soyabean
Monisha & Jadhav, 2021 • Ensemble model blends RF Ensemble 97.7% and
and AdaBoost for accurate Technique 74.3%
wheat, jowar forecasts.
• Wheat and Jowar
49
CHAPTER 3
PRESENT WORK
3.2. Objectives
• The main purpose of this study is to develop a predictive Machine Learning
(ML) model capable of forecasting Jowar crop yield. This model will
leverage data related to soil properties, environmental conditions
(temperature, rainfall), nutrient levels, geographical area, and soil pH.
• Such a model will enable farmers to make data-informed decisions
regarding crop management and resource allocation, ultimately improving
Jowar crop yield. ML algorithms will be applied to analyze and model the
relationships between these data points.
• In the subsequent phase, IoT technology will be integrated to monitor the
Jowar crop in real time, utilizing sensors for environmental variables, soil
conditions.
• By combining ML and IoT, the purpose of this study is to contribute to the
sustainable enhancement of Jowar crop, providing farmers with the tools
they need to improve crop yield.
• The study’s conclusions draw attention to the potential advantages of this
strategy for agriculture as well as prospective future research areas for
improving the model and IoT system.
50
improve real-time monitoring capabilities by offering dynamic and continuous data
streams.
Area Prod
_in_ uctio
State_ Crop Cr p rain temper hect n_in_
Name _Type op N P K Zinc H fall ature ares tons
jo 5.
andhra wa 8 4 4 0.50 5 288. 25.460 1880 9400.
0 pradesh rabi r 0 0 0 0000 0 30 000 0 0
jo 5.
andhra wa 8 4 4 0.62 4 654. 29.266 1500.
1 pradesh Kharif r 0 0 0 5000 0 34 667 2400 0
51
r 8
jo 5.
andhra wa 8 4 4 0.50 6 654. 29.266
3 pradesh kharif r 0 0 0 0000 8 34 667 200 100.0
jo 5.
andhra wa 8 4 4 0.86 6 288. 25.460 2600.
4 pradesh rabi r 0 0 0 6667 2 30 000 3000 0
.. ..
... ... ... ... . ... . ... ... ... ... ... ...
jo 5.
24 uttar wa 8 4 4 0.87 6 579. 34.010 6003.
94 pradesh kharif r 0 0 0 3926 8 75 000 6869 0
jo 5.
24 uttar wa 8 4 4 0.31 4 579. 34.010
95 pradesh kharif r 0 0 0 0580 8 75 000 293 91.0
jo 5.
24 uttar wa 8 4 4 0.57 3 579. 34.010
96 pradesh kharif r 0 0 0 4307 2 75 000 794 456.0
jo 5.
24 uttar wa 8 4 4 0.67 5 579. 34.010 3241.
97 pradesh kharif r 0 0 0 3385 6 75 000 4813 0
jo 5.
24 westben wa 8 4 4 0.40 5 116 28.333
98 gal kharif r 0 0 0 0000 8 6.94 333 25 10.0
52
hectares exhibits a robust positive correlation with production in tons, highlighting a
direct relationship. Conversely, temperature and rainfall demonstrate a notable
negative correlation, suggesting an inverse impact on production. Other variables
show comparatively minimal influence on production outcomes.
53
Fig 3.3.2.2: Correlation matrix of Kharif Season
54
Fig 3.3.2.3: Correlation matrix of Rabi Season
In this phase meticulous steps were taken to refine the dataset, ensuring its
cleanliness with no missing values. Essential parameters such as State name, crop,
and nutrient components (N, P, K) were strategically dropped to streamline the
dataset for predictive modeling. Notably, the categorical variable "Crop Type"
underwent transformation, transitioning from 'kharif' and 'rabi' to numerical values,
thereby facilitating a more effective analytical framework. This process lays the
foundation for robust predictive modeling, underscoring the significance of a
meticulously prepared dataset for subsequent ML endeavors.
3.3.3. ML Implementation
Three ML models were used in the selection of algorithms for this paper. In the
dataset, 15% of the data were classified as the testing set, 15% of the data were
classified as the validation set and the remaining 70% as the training set. This 70-15-
15 split strikes a balance between having enough data for training, tuning, and testing
while ensuring the model is robust and generalizes well to unseen instances. This
method makes it possible to compare and rigorously assess how well each model
predicts the target variable, giving valuable information about which algorithm is
most appropriate for a given task.
55
Fig 3.3.3.1: Gradient boosting algorithm
56
3 Decision Tree 96.67 3.32
The performance of various regression and ensemble algorithms was evaluated based
on R-squared and Mean Squared Error (MSE). Random Forest emerged as a standout
performer with an impressive R-squared of 98.69% and MSE value of 1.30,
showcasing superior predictive accuracy and significantly reduced MSE. Gradient
Boosting surpassed all, achieving the highest R-squared of 98.75% and MSE value
of 1.24, indicating exceptional predictive power and minimal errors. Decision Tree
demonstrated robust predictive capability with an R-squared of 98.23% and MSE
value of 1.76.
In summary, Gradient Boosting emerged as top performer, excelling in predictive
accuracy and demonstrating robustness in capturing complex patterns within the
data. Table 3.4 shows that Gradient Boosting was the top performer among three ML
models after their performance was assessed in both seasons. This model has proven
to be the most reliable and accurate predictor, making it the best option for predicting
and analysis in both seasonal scenarios.
TABLE 3.4: Best model for both kharif and rabi season
TABLE 3.5: Comparison of proposed model with previous models on the basis of
metrics
57
1. Pavani et al., 2022 SVM Jowar 93.12 - - -
for
Kharif
&
91.28
for
Rabi
Table 3.5. shows that our research stands out among others in crop yield prediction,
particularly for Jowar. With remarkable R2-Scores of 99.54 (Kharif) and 98.75
(Rabi), the proposed Gradient Boosting model surpasses SVM, Ensemble, Hybrid
CNN-DNN, GPR, and RF techniques. It outperforms in accuracy, showcasing its
superior predictive power. The notable performance in both seasons establishes this
paper as a significant contribution to the field of crop yield prediction.
3.3.4. IoT Implementation:
Implementation of IoT Monitoring involves the integration of specialized hardware
and software solutions. A comprehensive circuit diagram orchestrates the
connectivity. The system operates by continuously collecting and processing data,
58
enabling real-time monitoring and analysis. This robust framework ensures seamless
and efficient tracking of relevant parameters for informed decision-making.
3.3.4.1. Hardware
• PIR Motion Sensor: The PIR (Passive Infrared) motion sensor is perfect for
security systems and automated lighting since it senses changes in infrared
radiation to identify motion.
• Soil Moisture Sensor: This sensor gauges soil moisture levels, aiding in
agriculture by ensuring optimal plant hydration.
• Relay Module: A relay module enables control of high-power devices, acting
as a switch for appliances like lights or pumps.
• 16x2 I2C LCD Display: The 16x2 I2C LCD display offers a compact and
easy-to-read visual interface for your projects, featuring 16 characters per
line.
• Arduino Uno: Arduino Uno is a versatile microcontroller board, popular for
its ease of use and wide range of applications in electronics projects. It serves
as a gateway for beginners into the world of programming and hardware
tinkering.
• Breadboard: A breadboard is a prototyping tool for creating temporary
electrical connections, simplifying the testing and development of circuits.
• Battery: Batteries are portable power sources, supplying energy to electronic
devices, and come in various types, such as alkaline or rechargeable.
• DC Motor: DC motors are utilized in everything from electric automobiles to
robotics. They transform electrical energy into mechanical motion.
• Jumper Wires: Jumper wires serve as connectors, facilitating the
interconnection of components on a breadboard or circuit board. They are
essential for prototyping and circuit design.
3.3.4.2. Software
We are utilizing the Arduino IDE (Integrated Development Environment), a user-
friendly software framework for programming Arduino microcontrollers, to code the
model. It provides a basic, open-source environment in which code can be written,
compiled, and uploaded to Arduino boards. It's a vital tool for makers and electronics
enthusiasts, with an extensive library of pre-written code and a friendly community.
59
Fig 3.3.4.3: Circuit diagram of model
3.3.4.4. Working
Fig 3.3.4.4. shows the designed model which is an integrated agricultural monitoring
and irrigation system, meticulously crafted to enhance crop yield. It encompasses
several critical components, including temperature and humidity sensors, a soil
moisture sensor, and a motion sensor.
The primary objective is to maintain optimal growing conditions for crops. When the
soil moisture levels fall below the required threshold, the model activates a water
pump connected to a DC motor. This ensures that the soil receives the necessary
hydration, preventing the crops from withering due to inadequate moisture.
By continuously monitoring environmental factors and automating the irrigation
process, this system optimizes agricultural productivity. It enables farmers to
proactively address the needs of their crops, resulting in improved yields and
sustainable farming practices.
60
Fig 3.3.4.4: Working Model
61
CHAPTER 4
4.1. Conclusion
In conclusion, our analysis for the Kharif and Rabi seasons revealed that the
Gradient Boosting model consistently outperformed other models with exceptional
metrics. For the Kharif season, it achieved an impressive R2 Score of 99.54 and MSE
of 0.45. Similarly, for the Rabi season, the Gradient Boosting model excelled with an
R2 Score of 98.75 and MSE of 1.24 highlighting its robust predictive capabilities.
Furthermore, the implementation of IoT technology allowed for efficient monitoring
of the jowar crop. This system enabled real-time monitoring of soil conditions and
environmental factors, providing valuable insights into crop health. Importantly, it
also generated alerts in real time, ensuring proactive measures could be taken to
safeguard the jowar crop, showcasing the potential for technology to revolutionize
agriculture and improve crop yields.
62
REFERENCES
[1] Apolo-Apolo, O.E., & Martínez-Guanter, J. (2020, April). Deep learning
techniques for estimation of the yield and size of citrus fruits using a UAV.
ScienceDirect, 115.
[2] Bian, C., Shi, H., & Wu, S. (2022). Prediction of Field-Scale Wheat Yield
Using Machine Learning Method and Multi-Spectral UAV Data. MDPI, 14,
1474.
[3] Burdett, H., & Wellen, C. (2022). Statistical and ML methods for crop yield
prediction in the context of precision agriculture. Springer Link, 23, 1553.
[4] Cao, J., Zhang, Z., & Tao, F. (2021, February). Integrating Multi-Source Data
for Rice Yield Prediction across China using Machine Learning and Deep
Learning Approaches. ScienceDirect, 297.
[5] CONDRAN, S., & BEWONG, M. (2022, june). Machine Learning in
Precision Agriculture: A Survey on Trends, Applications and Evaluations
Over Two Decades. IEEE Access.
[6] Gómez, D., & Salvador, P. (2019). Potato Yield Prediction Using Machine
Learning Techniques and Sentinel 2 Data. MDPI.
[7] Iniyan b, S., Varma a, V. A., & Naidu, C. T. (2023). Crop yield prediction
using machine learning techniques. ELSEVIER, 175.
[8] Jinyuan, X., Baoxing, G., & Guangzhao, T. (2022). Review of agricultural
IoT technology. Artificial Intelligence in Agriculture, 6, 10-22.
[9] Joshua, S. V., Priyadharson, A. S. M., & Kannadasan, R. (2022). Crop Yield
Prediction Using Machine Learning Approaches on a Wide Spectrum. Tech
Science Press.
[10] Kuradusenge, M., Hitimana, E., & Hanyurwimfura, D. (2023). Crop Yield
Prediction Using Machine Learning Models: Case of Irish Potato and Maize.
MDPI, 13(1), 225.
[11] Monisha, & Jadhav, D. V. (2021). Wheat and Jowar Crop Yield Prediction
Model using Ensemble Technique.
[12] Murugamani, C., & Shitharth, S. (2022). Machine Learning Enabled Signal
Processing Techniques for Large Scale 5G and 5G Networks. Hindawi.
63
[13] Oikonomidis, A., Catal, C., & Kassahun, A. (2022). Hybrid Deep Learning-
based Models for Crop Yield Prediction. Applied Artificial Intelligence An
International Journal.
[14] Pavani, S., Augusta, P., & Beulet, S. (2022). Prediction of Jowar Crop Yield
Using K-Nearest Neighbor and Support Vector Machine Algorithms.
ResearchGate.
[15] Ruan, G., Li, X., & Yuan, F. (2022). Improving wheat yield prediction
integrating proximal sensing and weather data with machine learning.
ScienceDirect, 195.
[16] Benos, L., Tagarakis, A. C., Dolias, G., Berruto, R., Kateris, D., & Bochtis,
D. (2021). Machine learning in agriculture: A comprehensive updated
review. Sensors, 21(11), 3758.
[17] Mourtzinis, S., Esker, P. D., Specht, J. E., & Conley, S. P. (2021). Advancing
agricultural research using machine learning algorithms. Scientific
reports, 11(1), 17879.
[18] Gowda, V. D., Prabhu, M. S., Ramesha, M., Kudari, J. M., & Samal, A.
(2021, November). Smart agriculture and smart farming using IoT technology.
In Journal of Physics: Conference Series (Vol. 2089, No. 1, p. 012038). IOP
Publishing.
[19] Dokic, K., Blaskovic, L., & Mandusic, D. (2020, December). From machine
learning to deep learning in agriculture–the quantitative review of trends.
In IOP Conference Series: Earth and Environmental Science (Vol. 614, No. 1,
p. 012138). IOP Publishing.
[20] Srivastava, R., Sharma, V., Jaiswal, V., & Raj, S. (2020). A research paper on
smart agriculture using IoT. International Research Journal of Engineering and
Technology (IRJET), 7(07), 2708-2710.
[21] Sekaran, K., Meqdad, M. N., Kumar, P., Rajan, S., & Kadry, S. (2020). Smart
agriculture management system using internet of things. TELKOMNIKA
(Telecommunication Computing Electronics and Control), 18(3), 1275-1284.
[22] Vadapalli, A., Peravali, S., & Dadi, V. (2020). Smart agriculture system using
IoT technology. Publisher: International Journal of Advance Research in
Science and Engineering (2319-8354), 9, 58-65.
64
[23] Liakos, K. G., Busato, P., Moshou, D., Pearson, S., & Bochtis, D. (2018).
Machine learning in agriculture: A review. Sensors, 18(8), 2674.
[24] Murugamani, C., Shitharth, S., Hemalatha, S., Kshirsagar, P. R., Riyazuddin,
K., Naveed, Q. N., ... & Batu, A. (2022). Machine learning technique for
precision agriculture applications in 5G-based internet of things. Wireless
Communications and Mobile Computing, 2022.
[25] Dhanaraju, M., Chenniappan, P., Ramalingam, K., Pazhanivelan, S., &
Kaliaperumal, R. (2022). Smart farming: Internet of Things (IoT)-based
sustainable agriculture. Agriculture, 12(10), 1745.
[26] Parmar, R. , Chauhan, A. ‘MACHINE LEARNING FOR PRECISE CROP
MANAGEMENT IN AGRICULTURE: A REVIEW’. 2022 IJCRT | Volume
10, Issue 4 April 2022.
[27] Meshram, V., Patil, K., Meshram, V., Hanchate, D., & Ramkteke, S. D.
(2021). Machine learning in agriculture domain: A state-of-art
survey. Artificial Intelligence in the Life Sciences, 1, 100010
[28] Jadhav, V. (2021, May). Wheat and Jowar Crop Yield Prediction Model
using Ensemble Technique. In Proceedings of the 4th International Conference
on Advances in Science & Technology (ICAST2021).
65
LIST OF PUBLICATIONS
66
Plagiarism Report
67
68