Professional Documents
Culture Documents
Thesis
Thesis
Thesis
Submitted by
Nikita Nawle ( 28 )
Vaibhavi Parmar ( 32 )
Dhanashree Thakur ( 54 )
This is to certify that Nikita Nawle, Vaibhavi Parmar and Dhanashree Thakur
has completed the project report on the topic “Krishikaran: A web based Farmer
Portal” satisfactorily in partial fulfillment for the Bachelor’s Degree in Informa-
tion Technology under the guidance of Dr. Sanjay Shitole during the 2022-23 as
prescribed by S.N.D.T. Women’s University, Mumbai.
Principal
Dr. Shikha Nema
Examiner 1 Examiner 2
Abstract
Abstract i
1 Introduction 1
1.1 Objectives of the Study . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Technology Used 11
3.1 Requirement Specification . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 HARDWARE AND SOFTWARE REQUIREMENTS . . . . 11
3.2.1 Technologies . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2.2 Libraries Used . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 System Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Activity Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5 Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.6 Existing System Architecture . . . . . . . . . . . . . . . . . . . . . 18
3.7 Proposed System Architecture . . . . . . . . . . . . . . . . . . . . . 19
3.8 Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.8.1 Crop Recommendation . . . . . . . . . . . . . . . . . . . . . 20
3.8.2 Fertilizer Recommendation . . . . . . . . . . . . . . . . . . . 25
3.8.3 Government Schemes . . . . . . . . . . . . . . . . . . . . . . 26
3.8.4 ChatGpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.9 Experimental Result: . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.10 Project Implementation . . . . . . . . . . . . . . . . . . . . . . . . 28
3.10.1 Workflow & Algorithms of our Project: . . . . . . . . . . . . 28
i
4.2 Algorithm of our Project: . . . . . . . . . . . . . . . . . . . . . . . 36
4.3 Experimental Result: . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.4 Analysis of Results . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.5 Testing and Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.6 Comparision of the work with existing work . . . . . . . . . . . . . 40
4.7 Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
ii
List of Figures
iii
Chapter 1
Introduction
Agriculture is an essential industry that plays a vital role in feeding the world’s
population. With the increasing global population, it is essential to adopt sustain-
able agricultural practices to ensure food security and promote economic develop-
ment.To support this cause, an agriculture portal has been created to provide a
comprehensive platform for farmers, agribusinesses, researchers, and policymakers
to share knowledge, resources, and ideas. The portal aims to promote sustainable
agriculture by providing information on modern farming techniques, crop manage-
ment, livestock rearing, and pest control. The agriculture portal is also committed
to creating awareness about the importance of sustainable agriculture and promot-
ing best practices that minimize the impact of farming on the environment. It will
provide a platform for farmers to learn about the latest advancements in agricul-
ture and connect with experts in the field to gain valuable insights and advice.
1
The system consists of different modules which helps the growers in numerous
aspects. The modules are:
1. Crop Recommendations.
2. Fertilizer Recommendations.
3. Crop Disease.
4. Government Scheme.
The agricultural sector is a vital component of any nation’s economy. It is respon-
sible for providing food for the population, generating employment opportunities,
and contributing to the country’s overall economic growth. In agriculture, crop
recommendations and fertilizer recommendations play a critical role in ensuring
optimal crop production. Farmers need to know the best crop varieties to plant
and the appropriate type and amount of fertilizers to use for maximum yields.
However, crop diseases pose a significant challenge to farmers, and timely identi-
fication and treatment are crucial to minimize crop losses. Governments also play
a crucial role in supporting the agricultural sector through various schemes aimed
at providing farmers with subsidies, loans, and other incentives. This ensures the
adoption of sustainable agricultural practices, enhances farmers’ livelihoods, and
contributes to food security. Therefore, understanding these key aspects of agri-
culture is essential for effective planning and sustainable growth of the sector.
Krishikaran web based portal is user-friendly and accessible to all, with a focus
on providing accurate, reliable, and up-to-date information. It will feature articles,
videos, tutorials, and interactive tools to help farmers improve their yields, reduce
their costs, and enhance the quality of their produce. This portal is a much-needed
initiative that will help farmers and other stakeholders in the agriculture sector to
stay informed, connected, and up-to-date with the latest trends and developments
in the industry. Its creation underscores the importance of sustainable agriculture
in promoting food security, reducing poverty, and promoting economic develop-
ment.
2
1.1 Objectives of the Study
The objective of this site is to give farmers a dependable and trustworthy platform
to access information and tools that will help them improve their farming methods
and increase their standard of living. The portal should strive to accomplish the
following goals:
2. Give farmers the resources and tools they need to manage their farms prof-
itably, such as advice on which crops to grow and which fertilisers to use.
3. Make it easier for farmers to access financial resources and market opportu-
nities.
5. Make sure that all of the data and resources offered on the portal are unique.
3
Chapter 2
In Kiran Moraye[1], Users of the application (Smart Farm) can use a variety
of climatic parameters to predict crop yield using the research’s developed Smart
Farm. Various techniques for forecasting crop yield have been developed over a
number of years with varying degrees of success, but many of them do not account
for the climate. The best method for solving the crop yield problem practically is
machine learning. As a result, we chose 5 climatic parameters to train the model
with using the Random Forest algorithm, which we decided would give our model
the highest accuracy and best prediction. As it depends on the type of field, agri-
cultural inputs like pesticides, fertilizers, chemicals, soil quality, etc. were not used.
4
In Dr A Senthil Kumar [3],Our research aims to help ranchers assess the
quality of the soil by looking at its various borders and recommending crops based
on the findings using an information mining approach. The framework makes use
of the Harvest Suggestion Framework’s Arrangement calculation of the Help Vector
Machine. The system maps the soil and yield data to predict a list of reasonable
harvests for the soil and it also provides information about supplements that are
insufficient in the soil for the particular harvest. As a result, it is up to the client
to choose the crop to be planted. In this way, the framework aids in supplying the
novice ranchers with information.
In Anantha Reddy Dasari [4], The most prevalent issue Indian farmers have
is that they do not choose their crops based on the requirements of the soil, which
has a significant negative impact on their productivity. Precision agriculture can
be used to solve this issue. Three factors are taken into account by this method:
soil types, soil characteristics, and crop yield data collection. Based on these fac-
tors, the farmer is recommended a suitable crop to cultivate. In addition to the
benefits listed below, such as efficiency in both input and output, and improved
farming decision-making, precision agriculture aids in the reduction of unsuitable
crops, which in fact increases productivity. This approach offers solutions such
as proposing a recommendation system through an ensemble model with major-
ity voting methods using random tree, CHAID, K Nearest Neighbour and Naive
Bayes as learner to recommend an appropriate crop based on soil parameters with
high specific accuracy and efficacy.
5
In Vijay S. Rajpurohit [6], Every crop must be carefully chosen when plan-
ning an agricultural project. The choice of crops will be influenced by a variety
of factors, including market price, production rate, and government policies. To
improve changes in our Indian economy, the agriculture sector needs to undergo
numerous changes. Using machine learning techniques that are simple to im-
plement in the farming sector, we can improve agriculture. Along with all the
improvements in the tools and technologies used in farming, accurate and useful
information about various topics is also crucial. The goal of this paper is to put the
crop selection method into practise so that it can help farmers and agriculturalists
solve a variety of issues. This increases crop yield rates, which benefits our Indian
economy.
In Chintal Raval [7], The proposed IoT and ML system, which uses sensors
to enable soil testing, is based on measuring and observing soil parameters. This
system lessens the likelihood of soil deterioration and aids in crop health mainte-
nance. This system uses various sensors to monitor temperature, humidity, soil
moisture, pH, and NPK nutrients of the soil. These sensors include soil tempera-
ture, soil moisture, pH, and others. The microcontroller stores the data collected
by these sensors and uses machine learning algorithms like random forest to anal-
yse it to generate recommendations for the growth of the most appropriate crop.
In P. Ganesh Kumar [8], More than 40% of the people in this state make
their living primarily from agriculture. Researchers with the Food and Agriculture
Organisation (FAO) predict that the population of the world will rise by one third
between 2010 and 2050. Compared to current crop production, the demand for
crop production will rise by 60%. Therefore, prediction is crucial in determining
the demand for crop production in order to maximise yield. Using K-means and
Modified K Nearest Neighbour (KNN), we suggest a prediction method for the
main crops of Tamilnadu in this paper. The tools used for clustering and classifi-
cation are WEKA and Matlab, respectively. The numerical outcome demonstrates
that our approach is superior to the conventional data mining approach.
6
In Richard Tzong-Han Tsai [9], In this paper, we focus on the chatbot-
based applications of artificial intelligence (AI) in manufacturing. We created a
chatbot that aids users in finishing an assembly task that mimics those found in
manufacturing environments. We ask users to put together a Meccanoid robot
in stages with the aid of an interactive dialogue system in order to recreate this
environment. When a user runs into difficulties during the assembly process, the
chatbot can offer solutions or instructions based on how it categorises the user’s
intent. We want to make our system better so that it can recognise users’ needs
by inferring their intent and then give them pertinent and useful information.
In Zhaoxia Jing [12], This study focuses on the gas-fired power plants’ rev-
7
enue streams that are impacted by China’s Guangdong province’s power mar-
ket reform. We compare the effects of five settlement mechanisms—feed-in tariff
(FiT), location marginal price (LMP), contract for difference (CFD), direct sub-
sidy (DS), and estimated revenue method (ERM)—on market indicators for the
first time. To avoid significant profit fluctuations brought on by market reforms,
we design key parameters, including authorised CFD and ERM, of two types of
government-authorized contracts based on conventional dispatching patterns. We
also examine the effects of variables on the market as a whole and its participants,
such as climbing efficiency, seasonal load, and subsidy amount. A case study’s
findings demonstrate that directly subsidising gas-fired units will result loss of so-
cial welfare.
8
In Huifang Dou [15], In order to estimate the soil moisture content of an
area, various prediction models have been developed. These models use empirical
data, including meteorological and remotely sensed data. This paper provides an
overview of these prediction models. The various models used cover a broad spec-
trum of machine learning methods, from basic linear regression models through
models based on the Bayesian framework, decision tree learning, and recursive
partitioning, to contemporary non-linear statistical data modelling tools like Arti-
ficial Neural Networks. All of the models’ theoretical foundations, advantages and
disadvantages, prognostication outcomes, and efficacy are discussed.
9
In Mr. Bachhav, Nitin Bhagachand [18], Information is a basic require-
ment of modern life. Information is needed for everything and anything. Many
different sources can be used to find or retrieve information. Farmers make up
a distinct user group with very specialised information needs. The information
requirements of the rural farmer community are the subject of the current paper.
According to the survey-based study, 71 farmers (40.58%) need daily information
for a variety of agricultural tasks. Additionally, it has been discovered that gov-
ernment agencies and newspapers are the farmers’ second and third choices for
information sources.
In V Phani Kumar [19], India is the world’s largest agrarian economy be-
cause 54% of its total land area is regarded as arable. The various factors that
contribute to low agricultural production include soil infertility brought on by
excessive fertilisation, as well as a lack of access to and awareness of modern
agricultural practises. The main goal of this research project is to create a recom-
mendation system based on machine learning to boost agricultural productivity.
In this study, sophisticated models were designed and developed to estimate the
crop, suggest fertiliser, and detect plant disease. An image of a leaf is used by
an algorithm known as MobileNet to determine whether a plant is afflicted. On
the basis of the local soil nutrients and rainfall, the XGBoost model forecasts a
suitable crop.
10
Chapter 3
Technology Used
11
SOFTWARE REQUIREMENTS
Front End
- HTML
- CSS
- JavaScript
Back End
- Python
- Jupyter Notebook
- Flask
- Matplotlib
- sklearn
- PyTorch(an open source machine learning (ML) framework )
- scikit-learn
- numpy
- Web Browser - Google Chrome
- Code Editor - Visual Studio
3.2.1 Technologies
1. Python
12
ages promotes the modularity and reuse of code in programmes. For all popular
platforms, the Python interpreter and the extensive standard library are freely
distributable and available in source or binary form.
2. Jupyter Notebook
3. Flask
4. PyTorch
Artificial neural networks can be built and trained using a variety of tools
and libraries thanks to PyTorch, an open source machine learning framework for
Python. With a user-friendly interface that makes it accessible to both beginning
and experienced developers, it is made to be flexible and simple to use. The dy-
namic computational graph that PyTorch is renowned for enables effective memory
13
usage and simple neural network debugging. It is perfect for deep learning model
training on massive datasets because it supports distributed computing and GPU
acceleration.
With a variety of tools and functions for working with arrays, matrices, and
other numerical data, NumPy is a well-known Python library for numerical com-
puting. It is made to be effective, quick, and simple to use, with an interface that
is clear and intuitive and enables developers to easily carry out challenging math-
ematical operations. Numerous mathematical operations are offered by NumPy,
such as Fourier transformations, random number generation, and linear algebra.
Because of its high performance and memory efficiency, it is frequently used in
scientific computing, data analysis, and machine learning applications.
2. sklearn
3. Pandas
14
Pandas is a well-known open-source library for Python that allows for data
analysis and manipulation. In addition to data frames and series, which are com-
parable to the tables in a relational database, it offers a wide range of tools and
functions for working with structured data. Pandas’ user-friendly interface makes
it simple for developers to carry out a range of data manipulation and analysis
tasks. Pandas is made to be quick, effective, and flexible. Data cleaning, transfor-
mation, and aggregation tools, as well as tools for data visualisation and statistical
analysis, are all included. Pandas is well-known for its capacity to manage sizable
datasets effectively and is utilised extensively in a variety of fields, including data
science, machine learning, and finance.
4. Matplotlib
15
government scheme module will enlighten farmers about the many programmes
and subsidies the government offers to help them with their business. Based on
user feedback, the site will be continually enhanced to give farmers the most per-
tinent and current information. The overall goal of Krishikaran is to arm farmers
with the knowledge they need to make wise decisions, increase their productivity,
and increase their profitability.
16
Figure 3.1: Activity Diagram
17
3.5 Use Case
The farmer can access Crop Prediction, fertilizer Recommendation , Government
Schemes and Chatgpt.
18
A web-based user interface included into the system design enables farmers to en-
ter their unique needs and get tailored solutions. By giving farmers accurate and
current information, Krishikaran enables them to make the most of government
programmes and optimise their use of fertilisers, ultimately improving agricultural
output and profitability. Krishikaran is assisting farmers in making better deci-
sions and enabling them to be more successful in their agricultural endeavours by
utilising cutting-edge technologies and data-driven insights.
19
Figure 3.3: Proposed system Architecture of Crop Prediction and Fertilizer Rec-
ommendation
3.8 Methodology
3.8.1 Crop Recommendation
The process for extracting sentiment includes the many steps outlined below.
Data Collection:
The dataset includes variables including soil PH, humidity, temperature, rainfall,
and elements like nitrogen (N), phosphorus (P), and potassium (K). The Kaggle
website has provided the datasets. The data set includes 3101 instances or data
that were gathered from historical data in the past. Watermelon, pomegranate, or-
ange, papaya, muskmelon, mango, apple, grapes, banana, chickpea, black gramme,
20
coconut, moon beans, kidney beans, sugarcane, peas, groundnut, cotton, coffee,
jute, lentils, maize, millet, tea, wheat, and rice are among the eleven distinct crops
included in this dataset.
Data Pre-Processing
Pre-processing is essential for a successful application. The information obtained
from many sources is occasionally in raw form. It might include some conflicting,
redundant, or incomplete data. Therefore, such redundant data needs to be fil-
tered in this step. You should normalise your data.
Different machine learning algorithms, including Decision Tree, Naive Bayse (NB),
Support Vector Machine (SVM), Logistic Regression (LR), Random Forest (RF),
and XGBoost, were used in the proposed system.
Decision Tree:
Decision tree classifiers use a greedy approach. A tree is used to represent at-
tributes and class labels in this supervised learning algorithm.By learning decision
rules derived from prior data (training data), the main goal of using a decision
tree is to create a training prototype that can be used to predict the class or value
of target variables. Decision nodes and leaves are two different types that can
be used to describe the decision tree. The outcomes, or ultimate outcomes, are
the leaves. The edges descending from each node in the tree represent one of the
potential answers to the test case, and each node serves as a test case for a partic-
ular attribute. Every sub-tree rooted at the fresh nodes undergoes this recursive
process once more.In our model, we used the decision tree approach as follows:
(i) sklearn.tree Class library Decision Tree Classifier, import.
(ii) The DecisionTree Classifier object is now created.
21
Naı̈ve Bayes (NB):
Naive Bayes is an order computation for binary and multi-class arrangement prob-
lems. The Naive Bayes approach is very simple to use when categorically or binary
input values are available. When using Naive Bayes, a classifier accepts that the
presence of one element in a class isn’t necessarily associated with the presence of
another element. The Naive Bayes classifier, which is based on the Bayes theory,
is useful when there is a high level of dimensionality in the data sources.
In our model, we used the Naive Bayes (NB) technique as:
(i) Importing the GaussianNB Classifier library from the naive bayes class in
Sklearn.
(ii)The Naive Bayes Classifier object is now created.
(iii) Last, we fitted our data.
22
simulate a binary dependent variable; many more intricate versions exist. In re-
gression analysis, logistic regression, a type of binomial regression, predicts the
variables of a logistic model.
Our model includes the following applications of Logistic Regression (LR):
(i) Importing the library for Logistic Regression from the sklearn.linear Class.
(ii) The LogReg classifier object is now created.
(iii) Last but not least, we fitted our data.
23
it suggests how many observations we should conduct.
In our model, we used Random Forest (RF) as follows:
(i) Importing RandomForestClassifier from the class sklearn.ensemble.
(ii) We are now creating the RF classifier object.
(iii) Last but not least, we fitted our data.
XGBoost:
A flexible and enhanced version of the gradient boosting approach, known as eX-
treme Gradient Boosting (XGBoost), was created for viability, computing speed,
and model performance. It is commonly known that XGBoost offers superior
results to other machine learning methods. It belongs to the Distributed Ma-
chine Learning Community and is an open-source library. A parallel tree boosting
method called XGBoost (also known as GBDT or GBM) is available to quickly
and accurately address a variety of data science issues.
We used XGBoost in our model by :
(i) importing the xgboost library and
(ii) creating an XB classifier object.
(iii) Last, we fitted our data.
24
3.8.2 Fertilizer Recommendation
We use input data like N, P, K temperature, humidity, wetness, soil type, and the
crop to be produced in order to predict the specific fertiliser that will be used.
The loading of external fertiliser datasets is the first step in the fertiliser predic-
tion process. After the dataset has been read, various stages of pre-processing
will be carried out, as discussed in the section on data pre-processing. After pre-
processing the data, create a training dataset and train the models using SVM
and Random Forest classifier. We take into account numerous factors, including
temperature, humidity, soil PH, and the anticipated crop to be cultivated, when
predicting the fertilisers. These are the system input parameters that can be man-
ually inputted or obtained through sensors.The following table lists a summarised
fertiliser prediction model and its input parameters:
25
Plot the hyperplanes for the remaining points in step four.
STEP 5: Determine the hyperplane distances for various classes of objects.
STEP 6: Choose the hyper plane that is consistent for each kind of data in step six.
3.8.4 ChatGpt
To use ChatGPT efficiently, a lot of resources are needed, including:
Data: Deep learning model ChatGPT was developed using a significant amount of
text data. The model will perform better if there is a greater amount of text data
available for training. Numerous text-based sources, such as web pages, books,
and other publications, can be used to gather this information.
Computational power:A lot of computer resources are needed to both train and
use the ChatGPT language model. In addition to having plenty of memory and
storage, this also entails having access to strong GPUs or TPUs.
Tools and libraries: You will need access to the required tools and libraries for
training and deploying deep learning models in order to use ChatGPT efficiently.
This covers tools for data preprocessing, deployment, training, and evaluation.
Expertise: You must be well-versed in both deep learning and natural language
processing in order to use ChatGPT to its full potential. You must also be familiar
with the specific tools and libraries that were used to create and deploy the model.
In terms of resources, OpenAI offers access to ChatGPT and other GPT-3 pre-
trained models via its API. This eliminates the need for developers to train their
own models from scratch and gives them access to the model’s capabilities.
26
3.9 Experimental Result:
27
3.10 Project Implementation
3.10.1 Workflow & Algorithms of our Project:
The analysis of several elements that influence crop growth, such as soil type,
climate, and accessible water resources, is often included in a crop recommenda-
tion algorithm. An overview of how such an algorithm may operate is given below:
i. Data input:
The algorithm would require input from a variety of sources, including soil maps,
meteorological information, and details on the region’s water resources.
28
After the algorithm has discovered a variety of crop options, it will rate them
according to how well-suited they are to the region. The potential production of
each crop, the need for water, and the necessity for nutrients are all variables that
may be taken into account while rating these crops.
29
iii. Selection of Crop Selection:
The algorithm will next estimate the ideal nutrient levels for the soil by taking
into account the crop(s) to be grown and their nutrient requirements. This step
is essential to ensuring that the proper mix of nutrients is available in the soil for
optimum growth because different crops have varying nutrient requirements.
v. Final recommendation:
The algorithm will suggest the kind and quantity of fertilizer that should be added
to the soil. This advice might cover when and how to apply the fertilizer as well
as any other details important for optimum crop growth.
The usage of fertilizers can be optimized by farmers with the help of a fertilizer
suggestion algorithm, leading to higher crop yields, lower costs, and more environ-
mentally friendly farming methods.
Making an algorithm that can comprehend natural language and produce suit-
able responses is a necessary step in building a chatbot. An overview of a chatbot
algorithm is given below:
i. Analysis of Input:
Whether it is a text message, voice command, or some other type of input, the
algorithm would need to analyse the user’s input. The input will be dissected into
its component parts in order to identify the key information, such as the user’s
intent, the subject under discussion, and any specific requests or questions.
30
The algorithm would next employ natural language processing (NLP) methods to
ascertain the user’s intent, or what the user is attempting to do or learn. In order
to do this, the user’s input must be examined for words, phrases, and other clues
that might reveal the user’s intention.
31
Chapter 4
Implementation and
Experimental Result
The analysis of several elements that influence crop growth, such as soil type,
climate, and accessible water resources, is often included in a crop recommenda-
tion algorithm. An overview of how such an algorithm may operate is given below:
i. Data input:
The algorithm would require input from a variety of sources, including soil maps,
meteorological information, and details on the region’s water resources.
32
data.
33
samples in order to ascertain the number of nutrients available in the soil. An
overview of how such an algorithm may operate is given below:
v. Final recommendation:
The algorithm will suggest the kind and quantity of fertilizer that should be added
to the soil. This advice might cover when and how to apply the fertilizer as well
as any other details important for optimum crop growth.
The usage of fertilizers can be optimized by farmers with the help of a fertilizer
suggestion algorithm, leading to higher crop yields, lower costs, and more environ-
mentally friendly farming methods.
34
3. Workflow of Chatbot with ChatGPT:
Making an algorithm that can comprehend natural language and produce suit-
able responses is a necessary step in building a chatbot. An overview of a chatbot
algorithm is given below:
i. Analysis of Input:
Whether it is a text message, voice command, or some other type of input, the
algorithm would need to analyse the user’s input. The input will be dissected into
its component parts in order to identify the key information, such as the user’s
intent, the subject under discussion, and any specific requests or questions.
35
The chatbot algorithm can develop over time by observing how it interacts with
users. This could involve manual intervention by human operators to fine-tune
the chatbot’s responses or it could involve using machine learning algorithms to
analyze user feedback and adjust the chatbot’s responses accordingly.
36
Step 4: The user can now see the amount of compensation, eligibility criteria,
documents required, and how to apply for the selected scheme.
Step 5: End.
37
Figure 4.2: Machine Learning vice Accuracy Result
38
with its live government scheme modules, offer a considerable benefit. Krishikaran
makes sure that farmers are up to date and have access to the most pertinent and
current information by offering real-time updates and suggestions on the newest
government programmes.
39
4.5 Testing and Analysis
40
A web portal for farmers called Krishikaran features sophisticated modules for
crop prediction, fertiliser recommendations, real-time updates on government pro-
grammes, and a chatbot powered by GPT. With the help of these features, Kr-
ishikaran is a complete platform that enables farmers to take well-informed deci-
sions and make the most use of their resources for maximum output and profit.
One of the key advantages of Krishikaran over the Government farmer portal is the
quality and personalization of its recommendations. Krishikaran’s crop prediction
and fertiliser recommendation modules give farmers individualised advice based
on their particular locations and crops. Increased yields and profits for farmers
are possible as a result of this.
The fact that Krishikaran lacks features for animal husbandry or weather updates
when compared to the government farmer-based portal with an animal husbandry
module, map view module, and weather module is a drawback. Although Kr-
ishikaran offers sophisticated crop prediction and fertiliser recommendation mod-
ules, it might not be as helpful for farmers whose primary source of income is
animal husbandry. Similar to this, the weather module of the government’s farmer
portal can be a crucial tool for farmers, giving them important updates on weather
conditions that can affect crop growth and yield. To understand the soil type and
topography of their land, farmers can also find the map view module to be useful.
41
4.7 Result
42
Figure 4.6: Crop Prediction
43
Figure 4.8: Fertilizer Recommendation
44
Figure 4.10: Government Schemes
45
Figure 4.11: Government Individual Scheme
46
Figure 4.12: Chatgpt
47
Chapter 5
By putting our knowledge and skills to use, we are committed to creating a fully
user-friendly web portal that will be beneficial to the intended audience, Farmers.
As previously mentioned, this system has additional modules that would address
various particular problems. In the near future, a product would be created with
the intention of assisting the underserved community in resolving their problems.
After all the trials and errors have been successfully addressed, the overall perfor-
mance will be tried and tested and made available so that the Users can benefit
from, learn from, and develop in all areas while using our product.
FUTURE SCOPE: By incorporating IOT sensors into the project, we can broaden
its scope and eliminate the need for manual data entry by allowing the website to
receive input from soil tests instead.
48
Appendices
1- Install Python
pip install python
2- Install Flask
pip install Flask
3- To Install Pandas
pip isntall pandas
4- To install matplotlib
pip install matplotlib
6- To Install sklearn
pip install sklearn
7- To Install matplotlib
pip install matplotlib
8- To Install PyTorch
pip3 install torch torchvision torchaudio
9- To Install Numpy
pip install Numpy
49
References
[1]. Kiran Moraye, Aruna Pavate, Suyog Nikam and Smit Thakkar - Crop Yield
Production Using Random Forest Algorithm for Major Cities in Maharashtra.
2021 International Journal of Innovative Research in Computer Science Technol-
ogy (IJIRCST).
[2]. Kumar, Y. Jeevan Nagendra and Spandana, V. and Vaishnavi, V.S. and
Neha, K. and Devi, V.G.R.R. Supervised Machine learning Approach for Crop
Yield Prediction in Agriculture Sector
[3]. Suresh, G., A. Senthil Kumar, S. Lekashri, and R. Manikandan. “Efficient
Crop Yield Recommendation System Using Machine Learning For Digital Farm-
ing”
[4]. Bondre, Devdatta A., and Santosh Mahagaonkar. ”Prediction of Crop Yield
and Fertilizer Recommendation Using Machine Learning Algorithms.” Interna-
tional Journal of Engineering Applied Sciences and Technology 4, no. 5 (2019):
371-376.
[5]. Reddy, D. Anantha, Bhagyashri Dadore, and Aarti Watekar. “Crop recom-
mendation system to maximize crop yield in ramtek region using machine learning”
[6] Devdatta A Bondre, Santosh Mahagaonkar PREDICTION OF CROP YIELD
AND FERTILIZER RECOMMENDATION USING MACHINE LEARNING AL-
GORITHMS
[7] Jeevaganesh R; Harish D; Priya B - A Machine Learning-based Approach for
Crop Yield Prediction and Fertilizer Recommendation
[8] Ramesh Medar; Vijay S. Rajpurohit; Shweta Shweta Crop Yield Prediction
using Machine Learning Techniques
[9] Dighe, Deepti, Harshada Joshi, Aishwarya Katkar, Sneha Patil, and Shrikant
Kokate. ”Survey of Crop Recommendation Systems
[10] Mahule, Ankit Arun, and A. J. Agrawal. ”Hybrid Method for Improving
Accuracy of Crop-Type Detection using Machine Learning.” International Journal
50
9, no. 2 (2020).
[11] Rajak, Rohit Kumar, Ankit Pawar, Mitalee Pendke, Pooja Shinde, Suresh
Rathod, and Avinash Devare. ”Crop recommendation system to maximize crop
yield using machine learning technique.” International Research Journal of Engi-
neering and Technology 4, no. 12 (2017): 950-953
[12] Suresh, A., P. Ganesh Kumar, and M. Ramalatha. ”Prediction of major
crop yields of Tamilnadu using K-means and Modified KNN.” In 2018 3rd In-
ternational Conference on Communication and Electronics Systems (ICCES), pp.
88-93. IEEE, 2018.
[13] Kulkarni, Nidhi H., G. N. Srinivasan, B. M. Sagar, and N. K. Cauvery.
”Improving Crop Productivity Through A Crop Recommendation System Using
Ensembling Technique.” In 2018 3rd International Conference on Computational
Systems and Information Technology for Sustainable Solutions (CSITSS), pp. 114-
119. IEEE, 2018.
[14] Mrs. N. Hemageetha, and Dr. G.M. Nasira (2016). Analysis of Soil Condition
based on pH value using Classification Techniques, IOSR-JCE, Issue 6, (pp.50-54).
[15] Doshi, Zeel, Subhash Nadkarni, Rashi Agrawal, and Neepa Shah. ”Agro-
Consultant: Intelligent Crop Recommendation System Using Machine Learning
Algorithms.”
[16] Suresh, A., P. Ganesh Kumar, and M. Ramalatha. ”Prediction of major
crop yields of Tamilnadu using K-means and Modified KNN.” In 2018 3rd In-
ternational Conference on Communication and Electronics Systems (ICCES), pp.
88-93. IEEE, 2018
[17] A Machine Learning-based Approach for Crop Yield Prediction and Fertil-
izer Recommendation Jeevaganesh R; Harish D; Priya B 2022 6th International
Conference on Trends in Electronics and Informatics (ICOEI)
[18] ML based methods XGBoost and Random Forest for Crop and Fertilizer
Prediction Premasudha B G; Thara D K; Tara K N
[19] KRISHI RAKSHAN - A Machine Learning based New Recommendation Sys-
tem to the Farmer D. N. V. S. L. S. Indira; M. Sobhana; A. H. L. Swaroop; V
Phani Kumar
[20] For Government Schemes,www.businessinsider.in
[21] For Government Schemes,www.nvshq.in
51
[22] Nitin Bhagachand Bachhav - Information Needs of the Rural Farmers : A
Study from Maharashtra, India: A Survey - University of Nebraska - Lincoln Win-
ter 12-1-2012
[23] ML based methods XGBoost and Random Forest for Crop and Fertilizer
Prediction Premasudha B G; Thara D K; Tara K N
[24] Kung, T. H. et al. Preprint at medRxiv https://doi.org/10.1101/2022.12.19.22283643
(2022).
[25] ChatGPT & Zhavoronkov, A. Oncoscience 9, 82–84 (2022)..
[26] GPT, Osmanovic Thunström, A. & Steingrimsson, S. Preprint at HAL
https://hal.science/hal-03701250 (2022).
[27] Lund B.D., Wang T. Chatting about ChatGPT: how may AI and GPT im-
pact academia and libraries?
[28] van Dis E.A., Bollen J., Zuidema W., van Rooij R., Bockting C.L. ChatGPT:
Five priorities for research
[29] Gorthi, Swathi and Huifang Dou. “PREDICTION MODELS FOR ESTIMA-
TION OF SOIL MOISTURE CONTENT.”
[30] Liu, X., Zheng, Y., Du, Z., Ding, M., Qian, Y., Yang, Z., & Tang, J. (2021).
GPT understands, too. arXiv
52
Acknowledgement
We would like to express our big thanks to our respected principal Dr Shikha
Nema for providing various facilities to carry out this project. Also, we would like
to thank our project guide Dr. Sanjay Shitole for her guidance, encouragement,
kind co-operation and suggestions given to us at progressing stages of the seminar.
We also like to thank our computer laboratory faculty for updating the terminals
to our requirements and having them available for us from time to time. Finally,
we would like to thank all of our teaching, non-teaching staff of the college for
their moral support during the course of the project work and for their direct and
indirect help in the completion of our project work.
...
Date:
Nikita Nawle(28)
Vaibhavi Parmar(32)
Dhanashree Thakur(54)
53