SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1500
Crop Yield Prediction based on Climatic Parameters
Abhijeet Pandhe1, Praful Nikam2, Vijay Pagare3, Pavan Palle4, Prof. Dilip Dalgade5
1,2,3,4Student, Department of Computer Engineering, Rajiv Gandhi Inst. of Technology, Mumbai, Maharashtra
5Professor, Department of Computer Engineering, Rajiv Gandhi Inst. of Technology, Mumbai, Maharashtra
---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - During the last decade the climate has become
very uncertain. Due to this the farmers who were planting
traditional crops are now facing problems, the yield of their
traditional crops is getting reduced, therefore the rate of
suicide done by farmers has increased specifically in India. In
our study we found out that if farmers knew the yield of the
crop that they are planting beforehand, they wouldchoosethe
crop that will produce better yield based on theclimateofthat
region. Knowing the crop yieldbeforetheharvestwillalsohelp
farmers and policy makers to make important decisions like
import-export, pricing, marketing, etc. Theapplication(Smart
Farm) that is developed in our research will help the user to
predict the crop yield based on the climatic parameters.
Several methods of predicting the crop yield have been
developed in the past with different rate of success, as they
don't take into account the climatic conditions. Machine
Learning is an essential approach for getting practical
solution of this problem. Random Forest algorithm is used to
train the model so as to get accurate prediction, 5 climatic
parameters were chosen to train the model. Otheragro-inputs
such as soil quality, pest, chemicals used, etc. were not used as
they vary from field to field.
Key Words: Machine Learning, Crop Yield, Prediction,
Climate, Random Forest Algorithm, Application
1. INTRODUCTION
Agriculture is backbone of India, but recently agriculture in
India is wilting, almost all of the problems originating in
policymaking, political structures and economics. The
government encourages mostly rice and wheat, with a few
others throw in, through instrumentalities like “minimum
support price”. Subsidizing rice and wheat, maybe a few
other crops, is not a robust system. If the crops fail, the
farmer has nothing to fall back on, and he goes into debt on
top of what he owes in the previous crop season. Anoffshoot
of chemically-intensive agriculture and subsidies for a few
crops is mono-cropping on such a huge scale that India’s
diverse food cultures are on the brink of being lost. Soils are
depleted, water is contaminated, farmers’ incomes are
forever falling, and food security is getting harder to achieve
for all of India. This situation can be overcome by trying out
new crops, but it is difficult as farmers are unaware of new
crops and the yield they will produce. If farmer would be
able to know the yield of the crop in advance, it will help him
to choose which crop he should plant. The application
developed in this research will provide farmers an user
friendly interface to predict crop yield.
Machine Learning is a suitable approach for solving such
type of problems. Machine learning is an application of
artificial intelligence (AI) that providessystems theabilityto
automatically learn and improve from experience without
being explicitly programmed. As our system will be
developed by creating a model,andtrainingthatmodel using
the historical crop production and climate data. We will be
using supervised machine learning to train the model and
get accurate prediction for the future data. Therearevarious
supervised machine learning algorithmsforregression,such
as linear regression, Polynomial regression, Decision Tree,
Random Forest, Support Vector Machine, etc. For getting
high correlation between the desiredandtheactual outcome
of prediction we are using Random Forest algorithm. In
Random forest algorithm decision trees are created so that
rather than selecting optimal split points, suboptimal splits
are made by introducing randomness. The models created
for each sample of the data are thereforemoredifferentthan
they otherwise would be, but still accurate in their unique
and different ways. Combining their predictions results in a
better estimate of the true underlying output value. As
decision trees are used for makingrandomforestoverfitting
does not take place in random forest algorithm.
Fig -1: Random Forest
We have used 5 climatic parameters for prediction, i.e.
Precipitation, Temperature, Cloud Cover, Vapour pressure,
Wet Day Frequency. 10-fold cross validation technique was
used to find the accuracy of our trained model, the accuracy
was found out to be 87%. It shows very high correlation
between the depend and the independent variables of our
model. Other agriculture related parameters such as soil
quality, pest, chemicals used by farmers, etc. were not used
as they vary from field to field.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1501
2. METHODOLOGY
Data is very important part of any MachineLearningSystem.
To implement the system we decided to focus on
Maharashtra State in India. As the climate changes from
place to place, it was necessary to get data at district level.
Historical data about the crop and the climate of a particular
region was needed to implement the system. This data was
gathered from different government web sites. The data
about the crops of each district of Maharashtra wasgathered
from www.data.gov.in and the data about the climate was
gathered from www.imd.gov.in. The climatic parameters
which affects the crop the most are precipitation,
temperature, cloud cover, vapour pressure, wet day
frequency. So the data about this 5 climatic parameters was
gathered at a monthly level.
2.1 Cropping Seasons in India
Crops are grown over the year in India. But the crops can be
classified based on the season they grow. There are 2 main
cropping seasons in India: Kharif and Rabi. The kharif
cropping season is from July -Octoberduringthesouth-west
monsoon and the rabi cropping season is from October -
March (winter). The crops grown between March and June
are summer crops, and the crops which grow over the year
are whole year crops. As the data of climate which was
gathered was at a monthly level, dimensionality reduction
was done by combining the columns based on the cropping
season of each feature. The data of crop and the climate data
was then combined into 1 dataset. The historicalinformation
of the crop such as district in which the crop is grown, name
of the crop, the season of thatcrop and the5mostinfluencing
climatic parameters became the independent variables. And
the yield of the crop will becomethedependentvariable.This
is the dataset that will be used for trainingthemodelbyusing
random forest regression.
2.2 Implementation
In this research we have developed an user friendly web
application, the farmer will interact with the userinterfaceof
this system. There are three mainentitiesofthesystem:User,
Server, Climate Forecast API as shown in Fig-2. User will
select the name of the district, name of the crop and the area
of his field then he will submit this information to the server.
The processing of this information will be done at the server
side. The model is trained at server side using the random
forest algorithm and the dataset.
Steps for training the system:
1. Importing the Required Libraries.
2. Importing the dataset and Feature Selection.
3. Taking care of missing data.
4. Encoding categorical data or the Independent Variable.
5. Splitting the dataset into the Training set and Test set.
6. Feature Scaling.
7. Fit Random Forest Regressor to the Training set.
8. Predicting a new result.
Fig -2: Activity Diagram
As random forest algorithm was used to train the model. The
Pseudo code of random forest algorithm:
1.Randomly select “k” features from total “m” features.
(Where k << m)
2.Among the “k” features, calculate the node “d” using the
best split point.
3.Split the node into daughter nodes using the best split.
4.Repeat 1 to 3 steps until “l” number of nodes has been
reached.
5.Build forest by repeating steps 1 to 4 for “n”numbertimes
to create “n” number of trees.
The model is trained by considering 200 decision trees to
construct the random forest. 10-fold cross validation
technique was used to find the accuracy of the model, Cross-
validation is a re-sampling procedure used to evaluate
machine learning models on a limited data sample. The
accuracy of model was found out to be 87 %
Server will receive the information given by the user, for
making a new prediction themodel willalsoneedtheclimate
information about the season of that crop. Server will get the
information from a climate forecast API, the server will send
request for the climate information of that season and API
will respond with the climate information of that season.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1502
Then the server will make new prediction by using the
trained model. This predicted value of crop yield will then be
sent to the user and it will be displayed on the user interface.
2.3 Results
The aim of the research was to constructanuserfriendlyweb
application thatwillhelpthefarmersandotherpolicymakers
to predict the crop yield based on the climatic parameters. A
web application 'Smart Farm' was thus developed.
Fig -3: Smart Farm, Home Page
Fig -4: Smart Farm, Result Page
The backend of the system was made using python and
the results of the application were rendered into a web page
by using Flask. As you can see in Fig-3, it is the home page of
the application where the farmer or the user of the
application will enter the details such as name of district,
season, name of crop and area of his field in hectare. After
entering the details user will press 'Predict'. Which will send
request to the server, and here the prediction will be made
using the model which is trained by using the random forest
algorithm. As youcan see in Fig-4, the result of theprediction
of the crop yield will be send to the user and it will be
displayed in tonnes.
3. CONCLUSION
The accuracy of the model is 87% whichwasfoundusing 10-
fold cross validation technique, it indicates that there is high
correlation between the climate and the crop yield. Other
agro-inputs such as soil quality, pest, chemicals used, etc.
were not used as it changes from field to field. As the climate
has become very uncertain, such application will help
farmers to make better decision on which crop to plant
based on the climate of that season. It will also help policy
makers to make important decisions like import-export,
pricing, marketing, etc. even before the crop is harvested.
REFERENCES
[1] P. Priya, U. Muthaiah and M. Balamurugan, “Predicting
yield of the crop using machine learning algorithm,”
International Journal of EngineeringScience&Research
Technology, vol. 7(4), April 2013
[2] Jig Han Jeong and team, “Random forests for global and
regional crop yield productions,” PLOS ONE, vol. 11(6),
June 2016
[3] S. Veenadhari, Dr. Bharat Misra and Dr. CD Singh,
“Machine learning approach for forecasting crop yield
based on climate,” International Conference on
Computer Communication and Informatics, Conference
Paper, January 2014
[4] Subhadra Mishra, Debahuti Mishra and Gour Hari
Santra, “Application of machine learning techniques in
agricultural crop production,” Indian Journal of Science
and Technology, vol. 9(38), October 2016

Más contenido relacionado

La actualidad más candente

AI in Agriculture.pptx
AI in Agriculture.pptxAI in Agriculture.pptx
AI in Agriculture.pptx
SarthakMoharana
 
Plant disease detection and classification using deep learning
Plant disease detection and classification using deep learning Plant disease detection and classification using deep learning
Plant disease detection and classification using deep learning
JAVAID AHMAD WANI
 

La actualidad más candente (20)

Artificial intelligence : Basics and application in Agriculture
Artificial intelligence : Basics and application in AgricultureArtificial intelligence : Basics and application in Agriculture
Artificial intelligence : Basics and application in Agriculture
 
IRJET- Smart Farming Crop Yield Prediction using Machine Learning
IRJET- Smart Farming Crop Yield Prediction using Machine LearningIRJET- Smart Farming Crop Yield Prediction using Machine Learning
IRJET- Smart Farming Crop Yield Prediction using Machine Learning
 
Ai in farming
Ai in farmingAi in farming
Ai in farming
 
Iot based smart irrigation system
Iot based smart irrigation systemIot based smart irrigation system
Iot based smart irrigation system
 
PPT.pptx
PPT.pptxPPT.pptx
PPT.pptx
 
Application of IOT in Smart Agriculture
Application of IOT in Smart AgricultureApplication of IOT in Smart Agriculture
Application of IOT in Smart Agriculture
 
prospects of artificial intelligence in ag
prospects of artificial intelligence in agprospects of artificial intelligence in ag
prospects of artificial intelligence in ag
 
Awit
AwitAwit
Awit
 
An Efficient and Novel Crop Yield Prediction Method using Machine Learning Al...
An Efficient and Novel Crop Yield Prediction Method using Machine Learning Al...An Efficient and Novel Crop Yield Prediction Method using Machine Learning Al...
An Efficient and Novel Crop Yield Prediction Method using Machine Learning Al...
 
Artificial Intelligence In Agriculture & Its Status in India
Artificial Intelligence In Agriculture & Its Status in IndiaArtificial Intelligence In Agriculture & Its Status in India
Artificial Intelligence In Agriculture & Its Status in India
 
AI in Agriculture.pptx
AI in Agriculture.pptxAI in Agriculture.pptx
AI in Agriculture.pptx
 
Crop Recommendation System to Maximize Crop Yield using Machine Learning Tech...
Crop Recommendation System to Maximize Crop Yield using Machine Learning Tech...Crop Recommendation System to Maximize Crop Yield using Machine Learning Tech...
Crop Recommendation System to Maximize Crop Yield using Machine Learning Tech...
 
Crop Yield Prediction using Machine Learning
Crop Yield Prediction using Machine LearningCrop Yield Prediction using Machine Learning
Crop Yield Prediction using Machine Learning
 
Smart agriculture system
Smart agriculture systemSmart agriculture system
Smart agriculture system
 
Crop Yield Prediction and Efficient use of Fertilizers
Crop Yield Prediction and Efficient use of FertilizersCrop Yield Prediction and Efficient use of Fertilizers
Crop Yield Prediction and Efficient use of Fertilizers
 
Deep Learning In Agriculture
Deep Learning In AgricultureDeep Learning In Agriculture
Deep Learning In Agriculture
 
Kapil dikshit ppt
Kapil dikshit pptKapil dikshit ppt
Kapil dikshit ppt
 
IoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart FarmingIoT (Internet of Things)- Based Smart Farming
IoT (Internet of Things)- Based Smart Farming
 
Ai in agriculture
Ai in agricultureAi in agriculture
Ai in agriculture
 
Plant disease detection and classification using deep learning
Plant disease detection and classification using deep learning Plant disease detection and classification using deep learning
Plant disease detection and classification using deep learning
 

Similar a IRJET- Crop Yield Prediction based on Climatic Parameters

Similar a IRJET- Crop Yield Prediction based on Climatic Parameters (20)

Crop Selection Method Based on Various Environmental Factors Using Machine Le...
Crop Selection Method Based on Various Environmental Factors Using Machine Le...Crop Selection Method Based on Various Environmental Factors Using Machine Le...
Crop Selection Method Based on Various Environmental Factors Using Machine Le...
 
IRJET- Survey on Crop Suggestion using Weather Analysis
IRJET- Survey on Crop Suggestion using Weather AnalysisIRJET- Survey on Crop Suggestion using Weather Analysis
IRJET- Survey on Crop Suggestion using Weather Analysis
 
An Overview of Crop Yield Prediction using Machine Learning Approach
An Overview of Crop Yield Prediction using Machine Learning ApproachAn Overview of Crop Yield Prediction using Machine Learning Approach
An Overview of Crop Yield Prediction using Machine Learning Approach
 
IRJET- Price Forecasting System for Crops at the Time of Sowing
IRJET-  	  Price Forecasting System for Crops at the Time of SowingIRJET-  	  Price Forecasting System for Crops at the Time of Sowing
IRJET- Price Forecasting System for Crops at the Time of Sowing
 
Smart Farming Using Machine Learning Algorithms
Smart Farming Using Machine Learning AlgorithmsSmart Farming Using Machine Learning Algorithms
Smart Farming Using Machine Learning Algorithms
 
IRJET-Intelligent Farms
IRJET-Intelligent FarmsIRJET-Intelligent Farms
IRJET-Intelligent Farms
 
Decision Support System for Farmer
Decision Support System for FarmerDecision Support System for Farmer
Decision Support System for Farmer
 
IRJET- Crop Prediction and Disease Detection
IRJET-  	  Crop Prediction and Disease DetectionIRJET-  	  Crop Prediction and Disease Detection
IRJET- Crop Prediction and Disease Detection
 
Crop Recommendation System Using Machine Learning
Crop Recommendation System Using Machine LearningCrop Recommendation System Using Machine Learning
Crop Recommendation System Using Machine Learning
 
Application Of Machine Learning in Modern Agriculture for Crop Yield Predicti...
Application Of Machine Learning in Modern Agriculture for Crop Yield Predicti...Application Of Machine Learning in Modern Agriculture for Crop Yield Predicti...
Application Of Machine Learning in Modern Agriculture for Crop Yield Predicti...
 
IRJET - Enlightening Farmers on Crop Yield
IRJET -  	  Enlightening Farmers on Crop YieldIRJET -  	  Enlightening Farmers on Crop Yield
IRJET - Enlightening Farmers on Crop Yield
 
A COMPREHENSIVE SURVEY ON AGRICULTURE ADVISORY SYSTEM
A COMPREHENSIVE SURVEY ON AGRICULTURE ADVISORY SYSTEMA COMPREHENSIVE SURVEY ON AGRICULTURE ADVISORY SYSTEM
A COMPREHENSIVE SURVEY ON AGRICULTURE ADVISORY SYSTEM
 
Famer assistant and crop recommendation system
Famer assistant and crop recommendation systemFamer assistant and crop recommendation system
Famer assistant and crop recommendation system
 
IRJET-Precision Farming and Big Data
IRJET-Precision Farming and Big DataIRJET-Precision Farming and Big Data
IRJET-Precision Farming and Big Data
 
Automated Machine Learning based Agricultural Suggestion System
Automated Machine Learning based Agricultural Suggestion SystemAutomated Machine Learning based Agricultural Suggestion System
Automated Machine Learning based Agricultural Suggestion System
 
IRJET- Smart Agriculture Assistant and Crop Price Pediction
IRJET-  	  Smart Agriculture Assistant and Crop Price PedictionIRJET-  	  Smart Agriculture Assistant and Crop Price Pediction
IRJET- Smart Agriculture Assistant and Crop Price Pediction
 
IRJET- Crop Yield Prediction and Disease Detection using IoT Approach
IRJET- Crop Yield Prediction and Disease Detection using IoT ApproachIRJET- Crop Yield Prediction and Disease Detection using IoT Approach
IRJET- Crop Yield Prediction and Disease Detection using IoT Approach
 
Crop Prediction using IoT & Machine Learning Algorithm
Crop Prediction using IoT & Machine Learning AlgorithmCrop Prediction using IoT & Machine Learning Algorithm
Crop Prediction using IoT & Machine Learning Algorithm
 
““Smart Crop Prediction System and Farm Monitoring System for Smart Farming””
““Smart Crop Prediction System and Farm Monitoring System for Smart Farming””““Smart Crop Prediction System and Farm Monitoring System for Smart Farming””
““Smart Crop Prediction System and Farm Monitoring System for Smart Farming””
 
IRJET- Rice Yield Prediction using Data Mining Technique
IRJET-  	  Rice Yield Prediction using Data Mining TechniqueIRJET-  	  Rice Yield Prediction using Data Mining Technique
IRJET- Rice Yield Prediction using Data Mining Technique
 

Más de IRJET Journal

Más de IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Último

Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Último (20)

S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 

IRJET- Crop Yield Prediction based on Climatic Parameters

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1500 Crop Yield Prediction based on Climatic Parameters Abhijeet Pandhe1, Praful Nikam2, Vijay Pagare3, Pavan Palle4, Prof. Dilip Dalgade5 1,2,3,4Student, Department of Computer Engineering, Rajiv Gandhi Inst. of Technology, Mumbai, Maharashtra 5Professor, Department of Computer Engineering, Rajiv Gandhi Inst. of Technology, Mumbai, Maharashtra ---------------------------------------------------------------------***---------------------------------------------------------------------- Abstract - During the last decade the climate has become very uncertain. Due to this the farmers who were planting traditional crops are now facing problems, the yield of their traditional crops is getting reduced, therefore the rate of suicide done by farmers has increased specifically in India. In our study we found out that if farmers knew the yield of the crop that they are planting beforehand, they wouldchoosethe crop that will produce better yield based on theclimateofthat region. Knowing the crop yieldbeforetheharvestwillalsohelp farmers and policy makers to make important decisions like import-export, pricing, marketing, etc. Theapplication(Smart Farm) that is developed in our research will help the user to predict the crop yield based on the climatic parameters. Several methods of predicting the crop yield have been developed in the past with different rate of success, as they don't take into account the climatic conditions. Machine Learning is an essential approach for getting practical solution of this problem. Random Forest algorithm is used to train the model so as to get accurate prediction, 5 climatic parameters were chosen to train the model. Otheragro-inputs such as soil quality, pest, chemicals used, etc. were not used as they vary from field to field. Key Words: Machine Learning, Crop Yield, Prediction, Climate, Random Forest Algorithm, Application 1. INTRODUCTION Agriculture is backbone of India, but recently agriculture in India is wilting, almost all of the problems originating in policymaking, political structures and economics. The government encourages mostly rice and wheat, with a few others throw in, through instrumentalities like “minimum support price”. Subsidizing rice and wheat, maybe a few other crops, is not a robust system. If the crops fail, the farmer has nothing to fall back on, and he goes into debt on top of what he owes in the previous crop season. Anoffshoot of chemically-intensive agriculture and subsidies for a few crops is mono-cropping on such a huge scale that India’s diverse food cultures are on the brink of being lost. Soils are depleted, water is contaminated, farmers’ incomes are forever falling, and food security is getting harder to achieve for all of India. This situation can be overcome by trying out new crops, but it is difficult as farmers are unaware of new crops and the yield they will produce. If farmer would be able to know the yield of the crop in advance, it will help him to choose which crop he should plant. The application developed in this research will provide farmers an user friendly interface to predict crop yield. Machine Learning is a suitable approach for solving such type of problems. Machine learning is an application of artificial intelligence (AI) that providessystems theabilityto automatically learn and improve from experience without being explicitly programmed. As our system will be developed by creating a model,andtrainingthatmodel using the historical crop production and climate data. We will be using supervised machine learning to train the model and get accurate prediction for the future data. Therearevarious supervised machine learning algorithmsforregression,such as linear regression, Polynomial regression, Decision Tree, Random Forest, Support Vector Machine, etc. For getting high correlation between the desiredandtheactual outcome of prediction we are using Random Forest algorithm. In Random forest algorithm decision trees are created so that rather than selecting optimal split points, suboptimal splits are made by introducing randomness. The models created for each sample of the data are thereforemoredifferentthan they otherwise would be, but still accurate in their unique and different ways. Combining their predictions results in a better estimate of the true underlying output value. As decision trees are used for makingrandomforestoverfitting does not take place in random forest algorithm. Fig -1: Random Forest We have used 5 climatic parameters for prediction, i.e. Precipitation, Temperature, Cloud Cover, Vapour pressure, Wet Day Frequency. 10-fold cross validation technique was used to find the accuracy of our trained model, the accuracy was found out to be 87%. It shows very high correlation between the depend and the independent variables of our model. Other agriculture related parameters such as soil quality, pest, chemicals used by farmers, etc. were not used as they vary from field to field.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1501 2. METHODOLOGY Data is very important part of any MachineLearningSystem. To implement the system we decided to focus on Maharashtra State in India. As the climate changes from place to place, it was necessary to get data at district level. Historical data about the crop and the climate of a particular region was needed to implement the system. This data was gathered from different government web sites. The data about the crops of each district of Maharashtra wasgathered from www.data.gov.in and the data about the climate was gathered from www.imd.gov.in. The climatic parameters which affects the crop the most are precipitation, temperature, cloud cover, vapour pressure, wet day frequency. So the data about this 5 climatic parameters was gathered at a monthly level. 2.1 Cropping Seasons in India Crops are grown over the year in India. But the crops can be classified based on the season they grow. There are 2 main cropping seasons in India: Kharif and Rabi. The kharif cropping season is from July -Octoberduringthesouth-west monsoon and the rabi cropping season is from October - March (winter). The crops grown between March and June are summer crops, and the crops which grow over the year are whole year crops. As the data of climate which was gathered was at a monthly level, dimensionality reduction was done by combining the columns based on the cropping season of each feature. The data of crop and the climate data was then combined into 1 dataset. The historicalinformation of the crop such as district in which the crop is grown, name of the crop, the season of thatcrop and the5mostinfluencing climatic parameters became the independent variables. And the yield of the crop will becomethedependentvariable.This is the dataset that will be used for trainingthemodelbyusing random forest regression. 2.2 Implementation In this research we have developed an user friendly web application, the farmer will interact with the userinterfaceof this system. There are three mainentitiesofthesystem:User, Server, Climate Forecast API as shown in Fig-2. User will select the name of the district, name of the crop and the area of his field then he will submit this information to the server. The processing of this information will be done at the server side. The model is trained at server side using the random forest algorithm and the dataset. Steps for training the system: 1. Importing the Required Libraries. 2. Importing the dataset and Feature Selection. 3. Taking care of missing data. 4. Encoding categorical data or the Independent Variable. 5. Splitting the dataset into the Training set and Test set. 6. Feature Scaling. 7. Fit Random Forest Regressor to the Training set. 8. Predicting a new result. Fig -2: Activity Diagram As random forest algorithm was used to train the model. The Pseudo code of random forest algorithm: 1.Randomly select “k” features from total “m” features. (Where k << m) 2.Among the “k” features, calculate the node “d” using the best split point. 3.Split the node into daughter nodes using the best split. 4.Repeat 1 to 3 steps until “l” number of nodes has been reached. 5.Build forest by repeating steps 1 to 4 for “n”numbertimes to create “n” number of trees. The model is trained by considering 200 decision trees to construct the random forest. 10-fold cross validation technique was used to find the accuracy of the model, Cross- validation is a re-sampling procedure used to evaluate machine learning models on a limited data sample. The accuracy of model was found out to be 87 % Server will receive the information given by the user, for making a new prediction themodel willalsoneedtheclimate information about the season of that crop. Server will get the information from a climate forecast API, the server will send request for the climate information of that season and API will respond with the climate information of that season.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 03 | Mar 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1502 Then the server will make new prediction by using the trained model. This predicted value of crop yield will then be sent to the user and it will be displayed on the user interface. 2.3 Results The aim of the research was to constructanuserfriendlyweb application thatwillhelpthefarmersandotherpolicymakers to predict the crop yield based on the climatic parameters. A web application 'Smart Farm' was thus developed. Fig -3: Smart Farm, Home Page Fig -4: Smart Farm, Result Page The backend of the system was made using python and the results of the application were rendered into a web page by using Flask. As you can see in Fig-3, it is the home page of the application where the farmer or the user of the application will enter the details such as name of district, season, name of crop and area of his field in hectare. After entering the details user will press 'Predict'. Which will send request to the server, and here the prediction will be made using the model which is trained by using the random forest algorithm. As youcan see in Fig-4, the result of theprediction of the crop yield will be send to the user and it will be displayed in tonnes. 3. CONCLUSION The accuracy of the model is 87% whichwasfoundusing 10- fold cross validation technique, it indicates that there is high correlation between the climate and the crop yield. Other agro-inputs such as soil quality, pest, chemicals used, etc. were not used as it changes from field to field. As the climate has become very uncertain, such application will help farmers to make better decision on which crop to plant based on the climate of that season. It will also help policy makers to make important decisions like import-export, pricing, marketing, etc. even before the crop is harvested. REFERENCES [1] P. Priya, U. Muthaiah and M. Balamurugan, “Predicting yield of the crop using machine learning algorithm,” International Journal of EngineeringScience&Research Technology, vol. 7(4), April 2013 [2] Jig Han Jeong and team, “Random forests for global and regional crop yield productions,” PLOS ONE, vol. 11(6), June 2016 [3] S. Veenadhari, Dr. Bharat Misra and Dr. CD Singh, “Machine learning approach for forecasting crop yield based on climate,” International Conference on Computer Communication and Informatics, Conference Paper, January 2014 [4] Subhadra Mishra, Debahuti Mishra and Gour Hari Santra, “Application of machine learning techniques in agricultural crop production,” Indian Journal of Science and Technology, vol. 9(38), October 2016