SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4805
CROP PRICE FORECASTING SYSTEM USING SUPERVISED MACHINE
LEARNING ALGORITHMS
Rachana P S1, Rashmi G2, Shravani D3, Shruthi N4, Seema Kousar R5
1,2,3,4BE, Department of CSE, NIE Mysore, Karnataka, India
5Assistant Professor, Department of CSE, NIE Mysore, Karnataka, India
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - In the recent years due to the uncertain climatic
variations, natural calamities and other issues the price of the
crop has varied to a larger level. Farmers are uninformed of
these uncertainties, which causes massive loss. The developed
Crop Price ForecastingSystemisawell-designedSystem which
provides accurate results in predicting price and profit of the
crop. The system comprises of two actors, the Administrator
and the Agricultural Department. The Admin maintains the
entire System. The Departments performs two main roles, the
Price Prediction and the Profit Prediction. The Parameters
considered for Price Prediction are- Rainfall, Maximum-trade,
Minimum Support Price (MSP),Yield. The Parameters
considered for Profit Prediction are- Crop Price, Yield,
Cultivation Cost, Seed Cost. To predict the Price of the Crop we
use Naïve Bayes Algorithm which is a Machine Learning
Classification technique. To predict the Profit of the Crop we
use K Nearest Neighbor(KNN) which is a Supervised Machine
Learning Classification Algorithm. The Department Head can
select the Crop and the Prediction methodology and provide
the required parameter values. The algorithms run in the
background and give the Output to the Department Heads
which is in turn conveyed to the Farmers’ for better pre-
knowledge about the outcome. Thus, the System gives a
beforehand prediction to the Farmers’ which increases the
rate of Profit to them and in turn the country’s economy.
Key Words: Forecasting System, K- Nearest Neighbour
(KNN), Naïve Bayes, Price Prediction, Profit Prediction.
1. INTRODUCTION
Agriculture is the main pillar of economy in our country.
Most of the families rely on Agriculture. Country’s Gross
Development predominantly lean onAgriculture.60%ofthe
land is utilized for Agriculture to adequate therequirements
of the Country’s population. To meet the requirements,
modernization in Agricultural practices is required. Thus,
heading towards the growth in Farmers’ and Country’s
economy. In the recent years there has been an
inconsistency in the prices of multiple crops which in turn
has increased the menace encountered by the Farmers. The
main purpose of the Forecasting System is to ensurethatthe
Farmers make a better-informed decision and manage the
price risk. In the recent times, most of the Farmers are
deprived of the knowledge about the various breeds crops,
season of sowing seeds, cultivation methodologies,
cultivation cost and other conditions. Also, the farm
productivity can be increased by understanding and
forecasting crop performance in a variety of environmental
conditions. An effective Crop price forecasting system can
give out possibilities for customers which can satisfy the
customers to a greater context. Finally, the results are
displayed for the Department Heads based on Crop chosen
and the Parameters supplied.
1.1 Price Prediction System
In the paper the emphasis is on machine learning
technique to predict the Price of the Crop using the Naïve
Bayes Algorithm. The price of the crop is determined by
recognizing the patterns in our training dataset which is
given as one of the inputs to the Algorithm.Theinputsvalues
for the parameters( Yield, Rainfall, Minimum Support Price,
and Maximum Trade ) are taken by the user and fed to the
algorithm. The other Parameters to the Algorithm are-
Probability, New Record Input and number of Dataset
Parameters.
1.2 Profit Prediction System
In the paper there is also focus on a machine learning
technique to predict the profit of the CropwhichisKNearest
Neighbor technique. The profit of the crop is determined so
that the farmers are aware about their net profit before
sowing the crop. The profit is calculated based on
shortlisting the similarities found in the dataset values. The
algorithm takes the parameters like yield, price, cultivation
costs and actual seed cost.
2. RELATED WORK
[1]The paper aims at analyzing the demand of the crop by
the predicting the price of the crop at the correct scenario.
The researcher collects the datasetfromtheTaiwanmarkets
by the knowledge of market prices of over 15 local markets.
The price is predicted using the well-knownalgorithmssuch
as the partial least square (PLS), autoregressive integrated
moving average (ARIMA) and the artificial neural network
(ANN). The paper compares the performance of these four
algorithms with the prices so obtained from the local
markets. The crops considered for analyzing are cabbage,
watermelon, bok choy and cauliflower. According to the
results so obtained the PLS and ANN algorithms gave a
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4806
better result than others for both short term and long-term
forecasting.
[2] The research aims over choosing an appropriatecrop for
an area selected by the user thus helping the farmer to take
better and wise decisions. It also suggests the rank of the
crop based the suitability to that area. Thus, the farmers get
to know the compatibility of the chosen crop and the area
selected. The research is carried out for 6 crops which are
potato, aus rice, boro rice, wheat, aman rice and jute and the
datasets of the previous years are collectedrespectively. The
prediction which predicts the output is done by analysing
the dataset using supervised machine learning technique
such as K nearest neighbour regression algorithm and
decision tree learning (ID3).
3. METHODOLOGY
Naïve Bayes Algorithm for Price Prediction
Naïve Bayes Algorithm is a Machine Learning Classification
Technique that uses Bayes’ Algorithm. The assumptions are
independent and unrelated to other features which we use
for price prediction.
Steps followed in the Algorithm-
The algorithm has four inputs to it-
1)The number of parameters (m) -Thepredictionisbased on
the various parameters which are provided as the inputs to
the algorithm through our frontend. Theseparametersaffect
the price of the crop as mentioned in the previous sections.
The parameters considered are: Rainfall, Minimum Support
Price (MSP), Yield and Maximum Trade.
2)The Probability of possible outcomes (p) – There can be
any number of possible outcomes which depend on the
number of records for each crop in the training dataset.
3)Training Dataset- The previous years’ data provided in a
structured format (Excel sheet) is given as an input to the
algorithm from which the recordswould befiltered based on
the current input parameters of a croptowhichtheprice has
to be predicted.
4)Current Record Parameters-A new current year record
which contains the values of the parameters for which the
possible price must be predicted.
The algorithm works based on the formula-
P=[n_c+(m*p)]/(n+m)
where
n - The number of previous records where the value of the
parameters is as same as the new record parameter value.
n_c- The number of previous records that has the result
value equal to the possible outcome value.
P- The probability of a crop for a certain price.
The one value with greater probability would be chosen as
the most accurate value.
K Nearest Neighbour (KNN) Algorithm for Profit
Prediction
Fig -1: Concept involved in KNN
K nearest neighbour is a supervised machine learning
classification algorithm which in our case is used for
predicting the profit of the crop. This algorithm basically
searches for similarities in the entire dataset. Based on the
most similar or nearest valuestheoutcomeispredicted.This
algorithm is chosen over other algorithms because of its
higher convergence speed and simplicity. The inputs to the
algorithm are:
-The input Parameters
-The value of k
-The training dataset
The Euclidian Formula-
Steps involved are:
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4807
1) The entire dataset is divided into number of classes or
possible outcomes depending uponthenumberof recordsin
the dataset and the probability of the profit. The algorithm
predicts that the input given falls into which one of the
classes.
2) We decide the value of k which stands for number of
nearest neighbours to be considered. The value of k is
decided based on the number of records present in the
dataset. The accuracy of the result is based on deciding the
appropriate value of k which shouldn't be too high or too
low. In our dataset having 100 entries of records, the
appropriate value for k is taken as 10.
3) The Euclidian distance is calculated independently for
each record in the dataset by taking the difference of the
values present in the dataset records and the input values.
4) The k nearest neighbours,thatisthek minimumdistances
are used for predicting the profit value of the crop.
4. FUTURE ENHANMENTS
The future enhancement of our application is to implement
this application in every location(bytakinga GPSmodule)as
much as possible by extracting the dataset for that location
which further increases the accuracy and probability.
Implementing the chat portals making the application more
user friendly can be another scope for enhancement. Thus,
ensuring that the information is available at most ease for
them and the more accurate prediction increases the
probability of profit for the Farmers.
5. CONCLUSION
The research aims at predicting both the price and profit of
the given crop before sowing. This web application runs on
efficient machine learning algorithms and technologies
having an overall user-friendly interface to the users. The
training datasets so obtained providethe enoughinsightsfor
predicting the appropriate price anddemandinthemarkets.
Thus, the system helps the farmers in reducing their
difficulties and stop them by attempting suicides.
REFERENCES
[1] “Developing Crop Price Forecasting Service Using Open
Data from Taiwan Markets”, Yung-Hsing Peng, Chin-
Shun Hsu, and Po-Chuang Huang, 2017 IEEE
[2] “Agricultural Production Output Prediction Using
Supervised Machine Learning Techniques”, Md.Tahmid
Shakoor, Karishma Rahman, Sumaiya Nasrin Rayta,
Amitabha Chakrabarty, 2015 IEEE

Weitere ähnliche Inhalte

Was ist angesagt?

Feed forward back propagation neural
Feed forward back propagation neuralFeed forward back propagation neural
Feed forward back propagation neural
ijcseit
 
Mintewab Biodiversity And Productivity1
Mintewab Biodiversity And Productivity1Mintewab Biodiversity And Productivity1
Mintewab Biodiversity And Productivity1
a95osksj
 
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
Decision and Policy Analysis Program
 
The dssat cropping system model
The dssat cropping system modelThe dssat cropping system model
The dssat cropping system model
Mayur Shitap
 

Was ist angesagt? (18)

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
 
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
 
Feed forward back propagation neural
Feed forward back propagation neuralFeed forward back propagation neural
Feed forward back propagation neural
 
Predicting crop yield and response to Nutrients from soil spectra at WCSS 201...
Predicting crop yield and response to Nutrients from soil spectra at WCSS 201...Predicting crop yield and response to Nutrients from soil spectra at WCSS 201...
Predicting crop yield and response to Nutrients from soil spectra at WCSS 201...
 
Sugarcane yield forecasting using
Sugarcane yield forecasting usingSugarcane yield forecasting using
Sugarcane yield forecasting using
 
Crop simulation model
Crop simulation modelCrop simulation model
Crop simulation model
 
Term ppt
Term pptTerm ppt
Term ppt
 
Mintewab Biodiversity And Productivity1
Mintewab Biodiversity And Productivity1Mintewab Biodiversity And Productivity1
Mintewab Biodiversity And Productivity1
 
CENTROG FEATURE TECHNIQUE FOR VEHICLE TYPE RECOGNITION AT DAY AND NIGHT TIMES
CENTROG FEATURE TECHNIQUE FOR VEHICLE TYPE RECOGNITION AT DAY AND NIGHT TIMESCENTROG FEATURE TECHNIQUE FOR VEHICLE TYPE RECOGNITION AT DAY AND NIGHT TIMES
CENTROG FEATURE TECHNIQUE FOR VEHICLE TYPE RECOGNITION AT DAY AND NIGHT TIMES
 
CROP WEATHER MODELING
CROP WEATHER MODELINGCROP WEATHER MODELING
CROP WEATHER MODELING
 
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
Mer F - Use of climate predictions for impact studies, Nairobi Aug 2012
 
"Fuzzy based approach for weather advisory system”
"Fuzzy based approach for weather advisory system”"Fuzzy based approach for weather advisory system”
"Fuzzy based approach for weather advisory system”
 
Crop simulation model for intercropping
Crop simulation model for intercroppingCrop simulation model for intercropping
Crop simulation model for intercropping
 
R 12013(crop weather modeling)
R 12013(crop weather modeling)R 12013(crop weather modeling)
R 12013(crop weather modeling)
 
Using empirical and mechanistic models to predict crop suitability and produc...
Using empirical and mechanistic models to predict crop suitability and produc...Using empirical and mechanistic models to predict crop suitability and produc...
Using empirical and mechanistic models to predict crop suitability and produc...
 
The dssat cropping system model
The dssat cropping system modelThe dssat cropping system model
The dssat cropping system model
 
Julian R - Using the EcoCrop model and database to forecast impacts of cc
Julian R - Using the EcoCrop model and database to forecast impacts of ccJulian R - Using the EcoCrop model and database to forecast impacts of cc
Julian R - Using the EcoCrop model and database to forecast impacts of cc
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 

Ähnlich wie IRJET- Crop Price Forecasting System using Supervised Machine Learning Algorithms

Ähnlich wie IRJET- Crop Price Forecasting System using Supervised Machine Learning Algorithms (20)

Crop yield prediction.pdf
Crop yield prediction.pdfCrop yield prediction.pdf
Crop yield prediction.pdf
 
IRJET - Agricultural Analysis using Data Mining Techniques
IRJET - Agricultural Analysis using Data Mining TechniquesIRJET - Agricultural Analysis using Data Mining Techniques
IRJET - Agricultural Analysis using Data Mining Techniques
 
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
 
Supervise Machine Learning Approach for Crop Yield Prediction in Agriculture ...
Supervise Machine Learning Approach for Crop Yield Prediction in Agriculture ...Supervise Machine Learning Approach for Crop Yield Prediction in Agriculture ...
Supervise Machine Learning Approach for Crop Yield Prediction in Agriculture ...
 
AI Based Smart Agriculture – Leaf Disease Prediction Using Optimized CNN Model
AI Based Smart Agriculture – Leaf Disease Prediction Using Optimized CNN ModelAI Based Smart Agriculture – Leaf Disease Prediction Using Optimized CNN Model
AI Based Smart Agriculture – Leaf Disease Prediction Using Optimized CNN Model
 
Smart Farming Using Machine Learning Algorithms
Smart Farming Using Machine Learning AlgorithmsSmart Farming Using Machine Learning Algorithms
Smart Farming Using Machine Learning Algorithms
 
IRJET - Analysis of Crop Yield Prediction by using Machine Learning Algorithms
IRJET - Analysis of Crop Yield Prediction by using Machine Learning AlgorithmsIRJET - Analysis of Crop Yield Prediction by using Machine Learning Algorithms
IRJET - Analysis of Crop Yield Prediction by using Machine Learning Algorithms
 
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
 
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
 
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-Precision Farming and Big Data
IRJET-Precision Farming and Big DataIRJET-Precision Farming and Big Data
IRJET-Precision Farming and Big Data
 
Crop Recommendation System Using Machine Learning
Crop Recommendation System Using Machine LearningCrop Recommendation System Using Machine Learning
Crop Recommendation System Using Machine Learning
 
IRJET - Enlightening Farmers on Crop Yield
IRJET -  	  Enlightening Farmers on Crop YieldIRJET -  	  Enlightening Farmers on Crop Yield
IRJET - Enlightening Farmers on Crop Yield
 
Analyzing Cost of Crop Production and Forecasting the Price of a Crop
Analyzing Cost of Crop Production and Forecasting the Price of a CropAnalyzing Cost of Crop Production and Forecasting the Price of a Crop
Analyzing Cost of Crop Production and Forecasting the Price of a Crop
 
IRJET- Agricultural Productivity System
IRJET- Agricultural Productivity SystemIRJET- Agricultural Productivity System
IRJET- Agricultural Productivity System
 
Agricultural Product Price and Crop Cultivation Prediction based on Data Scie...
Agricultural Product Price and Crop Cultivation Prediction based on Data Scie...Agricultural Product Price and Crop Cultivation Prediction based on Data Scie...
Agricultural Product Price and Crop Cultivation Prediction based on Data Scie...
 
IRJET- Agricultural Data Modeling and Yield Forecasting using Data Mining...
IRJET-  	  Agricultural Data Modeling and Yield Forecasting using Data Mining...IRJET-  	  Agricultural Data Modeling and Yield Forecasting using Data Mining...
IRJET- Agricultural Data Modeling and Yield Forecasting using Data Mining...
 
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
 
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...
 
STOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIESSTOCK PRICE PREDICTION USING TIME SERIES
STOCK PRICE PREDICTION USING TIME SERIES
 

Mehr von IRJET Journal

Mehr von 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...
 

Kürzlich hochgeladen

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 

Kürzlich hochgeladen (20)

DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
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
 
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
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
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
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
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
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
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...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

IRJET- Crop Price Forecasting System using Supervised Machine Learning Algorithms

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4805 CROP PRICE FORECASTING SYSTEM USING SUPERVISED MACHINE LEARNING ALGORITHMS Rachana P S1, Rashmi G2, Shravani D3, Shruthi N4, Seema Kousar R5 1,2,3,4BE, Department of CSE, NIE Mysore, Karnataka, India 5Assistant Professor, Department of CSE, NIE Mysore, Karnataka, India ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - In the recent years due to the uncertain climatic variations, natural calamities and other issues the price of the crop has varied to a larger level. Farmers are uninformed of these uncertainties, which causes massive loss. The developed Crop Price ForecastingSystemisawell-designedSystem which provides accurate results in predicting price and profit of the crop. The system comprises of two actors, the Administrator and the Agricultural Department. The Admin maintains the entire System. The Departments performs two main roles, the Price Prediction and the Profit Prediction. The Parameters considered for Price Prediction are- Rainfall, Maximum-trade, Minimum Support Price (MSP),Yield. The Parameters considered for Profit Prediction are- Crop Price, Yield, Cultivation Cost, Seed Cost. To predict the Price of the Crop we use Naïve Bayes Algorithm which is a Machine Learning Classification technique. To predict the Profit of the Crop we use K Nearest Neighbor(KNN) which is a Supervised Machine Learning Classification Algorithm. The Department Head can select the Crop and the Prediction methodology and provide the required parameter values. The algorithms run in the background and give the Output to the Department Heads which is in turn conveyed to the Farmers’ for better pre- knowledge about the outcome. Thus, the System gives a beforehand prediction to the Farmers’ which increases the rate of Profit to them and in turn the country’s economy. Key Words: Forecasting System, K- Nearest Neighbour (KNN), Naïve Bayes, Price Prediction, Profit Prediction. 1. INTRODUCTION Agriculture is the main pillar of economy in our country. Most of the families rely on Agriculture. Country’s Gross Development predominantly lean onAgriculture.60%ofthe land is utilized for Agriculture to adequate therequirements of the Country’s population. To meet the requirements, modernization in Agricultural practices is required. Thus, heading towards the growth in Farmers’ and Country’s economy. In the recent years there has been an inconsistency in the prices of multiple crops which in turn has increased the menace encountered by the Farmers. The main purpose of the Forecasting System is to ensurethatthe Farmers make a better-informed decision and manage the price risk. In the recent times, most of the Farmers are deprived of the knowledge about the various breeds crops, season of sowing seeds, cultivation methodologies, cultivation cost and other conditions. Also, the farm productivity can be increased by understanding and forecasting crop performance in a variety of environmental conditions. An effective Crop price forecasting system can give out possibilities for customers which can satisfy the customers to a greater context. Finally, the results are displayed for the Department Heads based on Crop chosen and the Parameters supplied. 1.1 Price Prediction System In the paper the emphasis is on machine learning technique to predict the Price of the Crop using the Naïve Bayes Algorithm. The price of the crop is determined by recognizing the patterns in our training dataset which is given as one of the inputs to the Algorithm.Theinputsvalues for the parameters( Yield, Rainfall, Minimum Support Price, and Maximum Trade ) are taken by the user and fed to the algorithm. The other Parameters to the Algorithm are- Probability, New Record Input and number of Dataset Parameters. 1.2 Profit Prediction System In the paper there is also focus on a machine learning technique to predict the profit of the CropwhichisKNearest Neighbor technique. The profit of the crop is determined so that the farmers are aware about their net profit before sowing the crop. The profit is calculated based on shortlisting the similarities found in the dataset values. The algorithm takes the parameters like yield, price, cultivation costs and actual seed cost. 2. RELATED WORK [1]The paper aims at analyzing the demand of the crop by the predicting the price of the crop at the correct scenario. The researcher collects the datasetfromtheTaiwanmarkets by the knowledge of market prices of over 15 local markets. The price is predicted using the well-knownalgorithmssuch as the partial least square (PLS), autoregressive integrated moving average (ARIMA) and the artificial neural network (ANN). The paper compares the performance of these four algorithms with the prices so obtained from the local markets. The crops considered for analyzing are cabbage, watermelon, bok choy and cauliflower. According to the results so obtained the PLS and ANN algorithms gave a
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4806 better result than others for both short term and long-term forecasting. [2] The research aims over choosing an appropriatecrop for an area selected by the user thus helping the farmer to take better and wise decisions. It also suggests the rank of the crop based the suitability to that area. Thus, the farmers get to know the compatibility of the chosen crop and the area selected. The research is carried out for 6 crops which are potato, aus rice, boro rice, wheat, aman rice and jute and the datasets of the previous years are collectedrespectively. The prediction which predicts the output is done by analysing the dataset using supervised machine learning technique such as K nearest neighbour regression algorithm and decision tree learning (ID3). 3. METHODOLOGY Naïve Bayes Algorithm for Price Prediction Naïve Bayes Algorithm is a Machine Learning Classification Technique that uses Bayes’ Algorithm. The assumptions are independent and unrelated to other features which we use for price prediction. Steps followed in the Algorithm- The algorithm has four inputs to it- 1)The number of parameters (m) -Thepredictionisbased on the various parameters which are provided as the inputs to the algorithm through our frontend. Theseparametersaffect the price of the crop as mentioned in the previous sections. The parameters considered are: Rainfall, Minimum Support Price (MSP), Yield and Maximum Trade. 2)The Probability of possible outcomes (p) – There can be any number of possible outcomes which depend on the number of records for each crop in the training dataset. 3)Training Dataset- The previous years’ data provided in a structured format (Excel sheet) is given as an input to the algorithm from which the recordswould befiltered based on the current input parameters of a croptowhichtheprice has to be predicted. 4)Current Record Parameters-A new current year record which contains the values of the parameters for which the possible price must be predicted. The algorithm works based on the formula- P=[n_c+(m*p)]/(n+m) where n - The number of previous records where the value of the parameters is as same as the new record parameter value. n_c- The number of previous records that has the result value equal to the possible outcome value. P- The probability of a crop for a certain price. The one value with greater probability would be chosen as the most accurate value. K Nearest Neighbour (KNN) Algorithm for Profit Prediction Fig -1: Concept involved in KNN K nearest neighbour is a supervised machine learning classification algorithm which in our case is used for predicting the profit of the crop. This algorithm basically searches for similarities in the entire dataset. Based on the most similar or nearest valuestheoutcomeispredicted.This algorithm is chosen over other algorithms because of its higher convergence speed and simplicity. The inputs to the algorithm are: -The input Parameters -The value of k -The training dataset The Euclidian Formula- Steps involved are:
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 04 | Apr 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 4807 1) The entire dataset is divided into number of classes or possible outcomes depending uponthenumberof recordsin the dataset and the probability of the profit. The algorithm predicts that the input given falls into which one of the classes. 2) We decide the value of k which stands for number of nearest neighbours to be considered. The value of k is decided based on the number of records present in the dataset. The accuracy of the result is based on deciding the appropriate value of k which shouldn't be too high or too low. In our dataset having 100 entries of records, the appropriate value for k is taken as 10. 3) The Euclidian distance is calculated independently for each record in the dataset by taking the difference of the values present in the dataset records and the input values. 4) The k nearest neighbours,thatisthek minimumdistances are used for predicting the profit value of the crop. 4. FUTURE ENHANMENTS The future enhancement of our application is to implement this application in every location(bytakinga GPSmodule)as much as possible by extracting the dataset for that location which further increases the accuracy and probability. Implementing the chat portals making the application more user friendly can be another scope for enhancement. Thus, ensuring that the information is available at most ease for them and the more accurate prediction increases the probability of profit for the Farmers. 5. CONCLUSION The research aims at predicting both the price and profit of the given crop before sowing. This web application runs on efficient machine learning algorithms and technologies having an overall user-friendly interface to the users. The training datasets so obtained providethe enoughinsightsfor predicting the appropriate price anddemandinthemarkets. Thus, the system helps the farmers in reducing their difficulties and stop them by attempting suicides. REFERENCES [1] “Developing Crop Price Forecasting Service Using Open Data from Taiwan Markets”, Yung-Hsing Peng, Chin- Shun Hsu, and Po-Chuang Huang, 2017 IEEE [2] “Agricultural Production Output Prediction Using Supervised Machine Learning Techniques”, Md.Tahmid Shakoor, Karishma Rahman, Sumaiya Nasrin Rayta, Amitabha Chakrabarty, 2015 IEEE