Ai Project
Ai Project
SYSTEM
BY
AWKA
SEPTEMBER 2024.
DEVELOPMENT OF A YAM DISEASE DIAGNOSIS EXPERT
SYSTEM
BY
BACHELOR OF SCIENCE
SEPTEMBER 2024
CREDIT
Building on the need for accurate diagnosis, the development of expert systems in agriculture has
gained attention over the years as a way to address challenges like these. Expert systems are
computer programs that mimic the decision-making abilities of a human expert, providing
solutions based on a set of rules derived from expert knowledge. In the context of yam disease
diagnosis, an expert system can serve as a valuable tool for farmers, offering them guidance on
identifying diseases and suggesting appropriate treatments. Previous research has shown that
expert systems can be particularly effective in environments where access to human experts is
limited (Sirait, 2023). By applying this technology to yam cultivation, it is possible to bridge the
knowledge gap and provide timely assistance to farmers, ultimately improving crop management
and reducing losses.
Despite the potential of expert systems in agriculture, the specific application to yam disease
diagnosis is still relatively underexplored. While there have been advances in developing expert
systems for diagnosing plant diseases in crops like rice, maize, and wheat, yam has not received
the same level of attention (Kalu et al., 2023). This lack of focus may be due in part to the regional
nature of yam cultivation, primarily in developing countries where resources for advanced research
are often limited. However, the need for such a system is pressing, given the economic importance
of yam and the significant losses farmers face due to disease. Previous research efforts have been
concentrated on general disease identification in plants, but there remains a gap in targeted
solutions for yams, especially those that are accessible to farmers in rural areas.
Recognizing this gap presents an opportunity for innovation and problem-solving. The
development of a yam disease diagnosis expert system could fill this void by providing a
specialized tool tailored to the needs of yam farmers. Such a system would not only assist in
identifying diseases but could also suggest preventive measures and treatments, thereby reducing
the time and resources spent on trial-and-error methods (Akinlolu et al., 2023). Furthermore, by
incorporating local knowledge and adapting to the specific environmental conditions where yams
are grown, the system could offer more accurate and relevant advice than generalized plant disease
diagnosis tools. This focus on yam-specific challenges underscores the importance of developing
solutions that are not only technically sound but also contextually appropriate for the farmers who
will be using them.
However, the development of a yam disease diagnosis expert system is not without its challenges.
One of the primary limitations is the availability of comprehensive and reliable data on yam
diseases. For an expert system to function effectively, it requires a robust knowledge base built
from expert input, field observations, and scientific research (Expert Systems in Artificial
Intelligence - Javatpoint, n.d.). Unfortunately, detailed studies on yam diseases are less prevalent
compared to those on more globally cultivated crops. This scarcity of data makes it difficult to
develop a system that can cover all possible scenarios a farmer might face. Additionally, according
to Okon et al. (2022) there are variations in how yam diseases manifest in different regions, further
complicating the creation of a universally applicable system. These challenges highlight the need
for ongoing research and collaboration with local experts to gather the necessary information for
building a reliable and effective system.
Addressing these challenges requires a multifaceted approach. First, there is a need for increased
research efforts focused specifically on yam diseases, particularly in regions where yam is a major
crop. Collaborative projects involving agricultural researchers, local experts, and farmers could
help in gathering the essential data needed to build the knowledge base for the expert system.
Additionally, leveraging advancements in technology, such as machine learning and image
recognition, could enhance the system’s ability to diagnose diseases even when data is limited.
These technologies can help in identifying patterns and symptoms that may not be well-
documented, thereby improving the accuracy of the system. By combining traditional expert
knowledge with modern technological tools, it is possible to create a more comprehensive and
adaptable system that can meet the diverse needs of yam farmers.
Despite these efforts, gaps still remain in the existing research on yam disease diagnosis. Many
studies have focused on specific diseases or regions, leading to fragmented knowledge that may
not fully address the broader challenges faced by yam farmers. Additionally, while there has been
some progress in developing diagnostic tools, these are often limited in scope or accessibility,
particularly for small-scale farmers who may not have the resources to implement complex
systems. This is where the development of a comprehensive yam disease diagnosis expert system
becomes important. By integrating and expanding upon existing research, this system has the
potential to provide a unified platform that addresses the full range of challenges associated with
yam cultivation. Moreover, by making the system accessible through mobile platforms or other
easily available technologies, it can reach a wider audience, including those in remote or
underserved areas.
The impact of developing such a system extends beyond disease diagnosis. It has the potential to
improve overall agricultural productivity and sustainability by providing farmers with timely and
accurate information. This can help reduce crop losses, enhance yield quality, and strengthen food
security in regions where yam is a crucial food source(Akinlolu et al., 2023). Additionally, data
collected through the system could contribute to larger agricultural databases, offering valuable
insights for future research and policy-making. Thus, this expert system not only supports
individual farmers but also contributes to broader efforts in addressing food security challenges in
yam-producing regions.
LITERATURE REVIEW
In this Chapter, an in-depth analysis and exploration of existing knowledge form the foundation for
the development of a yam disease diagnosis expert system.
Expert systems are a branch of artificial intelligence that use a knowledge base and inference
engine to solve complex problems in specific domains. In agriculture, these systems are used to aid
farmers in decision-making by diagnosing diseases, recommending treatments, and predicting crop
yields. For yam disease diagnosis, an expert system can integrate expert knowledge about various
yam diseases, symptoms, and environmental factors, and use this to diagnose diseases with
accuracy. This reduces the need for extensive laboratory testing and provides timely advice to
farmers, ultimately enhancing crop yield and food security.
Machine learning algorithms have become pivotal in the development of expert systems,
particularly in disease diagnosis. These algorithms can analyze large datasets, identify patterns, and
learn from them to improve diagnosis accuracy over time. For yam disease diagnosis, machine
learning can help in the identification of diseases based on image recognition, symptom analysis,
and environmental data. Incorporating machine learning into the expert system enhances its ability
to generalize and improve its performance over time.
The development of expert systems for agriculture, including yam disease diagnosis, faces several
challenges. These include the complexity of modeling expert knowledge, the variability in
symptoms due to environmental conditions, and the limited availability of high-quality data.
Moreover, expert systems must be user-friendly and accessible to farmers, who may have varying
levels of technological expertise. Overcoming these challenges requires collaboration between
computer scientists, agricultural experts, and farmers.
Expert systems play a crucial role in promoting sustainable agriculture by optimizing resource use
and minimizing the impact of diseases. In yam cultivation, timely and accurate disease diagnosis
can prevent the overuse of pesticides and reduce crop losses, thereby contributing to sustainability.
Expert systems can be integrated with other technologies, such as Geographic Information Systems
(GIS) and IoT devices, to provide holistic solutions for disease management.
The future of expert systems in agriculture, including yam disease diagnosis, is likely to be shaped
by advancements in AI, big data, and cloud computing. These technologies will enable the
development of more sophisticated systems that can process vast amounts of data in real-time,
provide more accurate diagnoses, and deliver personalized recommendations to farmers.
Additionally, the integration of expert systems with mobile platforms will make these tools more
accessible to small-scale farmers, thus democratizing access to agricultural technology.
A 2020 study by Rafi Surya and Elliana Guatama delves into cassava leaf disease detection in
Indonesia using Convolutional Neural Networks (CNN) under Deep Learning. According to data
from the Indonesian Central Statistics Agency in 2015, cassava production in Indonesia was
21,201,415 tonnes per year. Apart from being a food ingredient, it is also used as an industrial raw
material and animal feed. The use of this technique came to play after in 2016, the production of
cassava reduced due to disease affecting the cassava crops. This network is built with the
assumption that the input used is an image. This network has a special layer called the convolution
layer, where in this layer an input image will be processed based on a predefined filter. From each
layer, it will produce a pattern from several parts which will be easier to classify, thus making the
propagation function more efficient to implement. This technique can make the image learning
function more efficient to implement. Therefore, the study takes advantage of the advantages of
CNN, namely being able to classify an object intended for image data, so that the CNN model will
be used as an introduction to the four types of healthy cassava leaf and cassava leaf diseases that
can be found in Indonesia. The study applies the CNN method with the MobileNets architecture
and the TensorFlow library which includes the package in the Google Collabs Python software
version 3.7 to recognize images of cassava leaves that focuses on finding the best classification
accuracy in detecting diseases in cassava leaves. By using the TensorFlow library, the results of
model trials and evaluation cassava leaves show an accuracy of 0.8538 for training and 0.7496 for
data validation. So, it can be concluded that the implementation of Deep Learning with the
Convolutional Neural Network (CNN) method can detect cassava disease images.
In a research done by Selvaraj et al, an AI-powered banana diseases and pest detection was looked
into. Worldwide, banana production is affected by numerous diseases and pests. Novel and rapid
methods for the timely detection of pests and diseases will allow to surveil and develop control
measures with greater efficiency. The aim of this research being to carry out disease detection
using DCNN. Large datasets of expert-prescreened banana disease and pest symptom/damage
images were collected from various hotspots in Africa and Southern India. To build a detection
model, three different CNN architectures were retrained using a transfer learning approach. A total
of six different models were developed from 18 different classes (disease by plant parts) using
images collected from different parts of the banana plant. The study also showed ResNet50 and
InceptionV2 based models performed better compared to MobileNetV1. These architectures
represented the state-of-the-art results for banana diseases and pests detection with an accuracy of
more than 90% in most of the models tested. With a future view to run these detection capabilities
on a mobile device, the performance of SSD (Single Shot Detector) MobileNetV1 was evaluated.
Performance and validation metrics were also computed to measure the accuracy of different
models in automated disease detection methods.
ESforRPD2: Expert System for Rice Plant Disease Diagnosis was a study done by Agus et al.
Rice plant diseases in Indonesia are increasingly rampant because of farmers lacking knowledge of
the early symptoms of rice plant diseases and the lack of experts. Data of rice plant pests and
diseases in 2016 were taken from Samarinda, East Kalimantan, Indonesia using an in-depth survey,
and rice experts from the Department of Food Crops and Horticulture of East Kalimantan Province
were recruited for the project. ESforRPD2 was developed based on the pest and disease
experiences of the rice experts and uses a Waterfall Paradigm and Unified Modeling Language
which consists of use case diagrams, activity diagrams and class diagrams. The ES architecture
consists of three parts: the user interface, the inference engine and the knowledge base as proposed
by Lucas and van der Gaag. Two types of user case diagrams were created namely: “Use case for
user” consisting of four cases (Article, Consulting, Choose System and Consulting Result) and
“Use case for Expert” consisting of three cases (Symptoms, Diseases and Relation). The
application uses four datasets (disease- and symptoms-data, knowledge base, and symptoms-
disease-weight decision table). This System can detect 48 symptoms and 8 types of diseases of rice
plants from 16 data tests with a sensitivity of 87.5%. This system can also provide
recommendations for the treatment of unidentified diseases. ESforRPD2 is the first version of ES
(in a bilingual interface that combines both English and Indonesia language) to make a user-
friendly for Indonesian users. Users sign use a consultation page to choose the symptom of the rice
plant. The ES performs the calculation process to obtain the trust level using the Dempster-Shafer
method. The user page is the main webpage for users without logging in. The consultation page
starts the user consultation about the disease of rice plants. The ES will output as a display showing
the symptoms, diagnosis of disease and the confidence level. The ESfor RPD2 is developed using
CPU with specifications of Intel Corei3, 4GB RAM and 300GB HDD. The same specification of
CPU is needed to operate the application. The ESforRPD2 was tested applying symptom-data
inputs by clicking the symptoms selected. In a single test using the case of four symptom-data
inputs selected, namely (i) Spots on leaf midrib, (ii) Little spots are dark brown or slightly purple
rounded shape, (iii) Spots on oval shaped leaves and evenly distributed on the leaf surface, (iv) The
size of spots is 2-10mm long and 1mm wide, a display of diagnosis page will appear, following
clicking of the “submit diagnose” button. The diagnosis page shows the confidence level, the ES
giving the sensitivity of disease type detection of 91%.
A work carried out by Quintero-Dominguez et al, presents an Expert System for the presumptive
diagnosis of fungal diseases in crops, called Fungi. Countries all over the world have experienced
the negative impact that phytopathogenic fungi have on food security. A fast diagnose of the kind
of fungus that affect the crops is essential to stop disease proliferation and so minimize the losses.
The expert system was developed using SWI-Prolog for the creation of the knowledge base and
Java for the graphic user interface. This system allows a fast and reliable diagnosis of the kind of
fungus that affect crops, the specific crops that can be diagnosed with Fungi are: rice, tobacco,
bean, banana, garlic, onion, corn, coffee and cocoa. Fungi was developed under free software
license. Besides, the comparison of human experts diagnoses and Fungi diagnoses allowed to
validate the knowledge base of the system. The application of black box tests and specialist
criterion allowed corroborating the correct operation of the proposed expert system.
A research work proposed by Laxmi Rananavare and Sanjay Chitnis looks into Vrikshayurveda
(An ancient Indian science of plant life) and the development of an expert system to diagnose plant
diseases using its principles. Vrikshayurveda includes complete plant-life knowledge
compendicum of plant physiology, horticulture, pathology, and treatment. The manuscript
containing this is not easily accessible to farmers or researchers who want references for specific
topics without having to read the whole book, and so, the knowledge in this manuscript was
converted to form an expert system which can provide the answers to specific queries from the
farmers and agricultural stakeholders. It is a rule based ES using backward chaining. Its database
containing ten diseases and evaluation done for all dataset. The results are compatible with the
expert’s diagnosis. Thus the users can get comprehensive information on Vrikshayurvedic
expertise on all elements of disease and plant protection. The ES is created using Python, it is
implemented using decorators, and two library modules, that is, Expertia and Flask. The expert
system creates a hypothesis about the disorder in a hierarchical format, that is, the hypothesis
categorises different disorders under it. The hypothesis is further classified as internal and external.
The research identifies different disorder categories based on Ayurvedic principles and expert
knowledge. For example, “vata” may be associated with symptoms such as dryness, roughness,
and mobility issues while “pitta” may manifest as symptoms such as inflammation, heat, and
irritability. Hypotheses are then identified for each disorder category. The formulated hypotheses
are integrated into the Expertia program as predicates, allowing the system to reason about the
presence of specific disorders based on observed symptoms. The system prompts the user with a
series of yes/no questions about the presence of symptoms in the plant. These questions correspond
to the symptoms associated with each disorder category. The user’s responses are recorded for
further evaluation. The system evaluates the user’s responses and checks whether the observed
symptoms align with the symptoms associated with the hypothesized disorder category. It uses
logical inference rules defined in Expertia to reach conclusions about the presence or absence of
the hypothesized disorder. Based on the evaluation and inference process, the system updates its
belief statement regarding the presence of a particular disorder in a plant. If the observed
symptoms match the symptoms associated with a particular disorder, the system concluded the
plant likely has that disorder. The developed system is evaluated using sample plant data and
known disorders. The accuracy of the system in correctly classifying plant disorders is assessed.
Validation techniques, such as cross-validation or expert evaluation, can be employed to ensure the
system’s reusability.
A paper published by Fatima Salman and Samy S. Abu-Naser, reviewed an expert system created
for the diagnosis of castor diseases. The castor bean is a large grassy or semi-wooden shrub or
small tree. Any part of the castor plant can suffer from a disease that weakens its ability to grow
and eliminates its production. The ES aids the agricultural engineers to detect and diagnose
diseases of castor such as seeding blight, alternaria blight, cercospora leaf spot, powdery mildew
and wilt. CLIPS Shell and Delphi XE 10.2 languages are used for designing and implementing the
proposed system. The expert system accomplishes diagnosis for five castor diseases, it can be
applied by displaying all symptoms in the list and selects it to analyse the disease. The ES will ask
the user to choose the symptoms that appear on castor plant from the list, then click “analyse”
button to diagnose the castor disease name, survival and speed, favourable conditions and snapshot
of the disease.
Additionally, there is a need for localized disease databases and models specifically tailored to yam
diseases, as well as mobile-compatible systems that can be used by farmers in remote areas. The
absence of a holistic approach that integrates advanced image analysis, expert knowledge, and
user-friendly, mobile-ready interfaces for yam disease diagnosis highlights a significant
opportunity for further research and development. Creating such an expert system would greatly
enhance the accuracy and accessibility of yam disease management, addressing a critical gap in the
current agricultural technology landscape.
CHAPTER THREE
In developing the Yam Disease Diagnosis Expert System, a structured methodology was followed
to ensure that the system meets the requirements of its users and provides accurate and reliable
disease diagnosis. The methodology consists of six key phases which includes Requirements
Gathering, System Analysis, System Design, Implementation, Testing and Validation, and
Deployment and Maintenance.
The first phase in the development of the expert system involved gathering requirements from
various stakeholders, including farmers, agricultural experts, and extension officers. This phase
was critical in understanding the specific needs and challenges faced by users in diagnosing yam
diseases.
- Interviews and Surveys: Conducted with farmers and agricultural extension officers to identify
the most common yam diseases, observable symptoms, and current diagnostic practices.
- Literature Review: Extensive review of scientific literature and agricultural reports was carried
out to compile information on yam diseases, their symptoms, causes, and treatments. This included
reviewing existing databases and digital tools to understand the current landscape of disease
diagnosis.
determine the critical indicators and decision criteria for diagnosing specific yam diseases.
This comprehensive approach to requirements gathering ensured that the system would be built on
a solid foundation of expert knowledge and real-world needs.
3.1.2 System Analysis
The second phase focused on analyzing the existing methods and systems used for
Diagnosing yam diseases. The goal was to identify the strengths and weaknesses of these methods
and use this analysis to inform the design of the proposed system. The existing methods can be
broadly categorized into manual diagnosis and basic digital tools:
Manual Diagnosis: This method relies heavily on the experience and visual inspection
skills of farmers or agricultural officers. Typically, they observe symptoms on the yam
plants, compare them with known disease characteristics, and attempt to make a
diagnosis. If they are uncertain, they might consult an expert or reference agricultural guides.
However, this process is time-consuming and prone to errors due to limited knowledge and
subjective judgment.
Basic Digital Tools: Some digital tools are available that provide basic information on yam
diseases. These tools often allow users to input observed symptoms and receive a list of
potential diseases. However, these tools generally lack a comprehensive knowledge base
and advanced diagnostic capabilities, leading to inaccurate or incomplete diagnoses.
The design phase involved creating a robust and user-friendly expert system tailored to the needs
of the users. The key components of the system were carefully designed to ensure functionality,
accuracy, and ease of use.
Testing and validation were essential to ensure the accuracy and reliability of the expert system.
This phase involved several types of testing:
Unit Testing: Individual components, such as the knowledge base and inference engine, were
tested to ensure they functioned correctly. This testing phase involved verifying that each
component met its design specifications and produced accurate outputs.
Integration Testing: After individual testing, the components were integrated, and the system was
tested as a whole. This testing ensured that all parts worked together seamlessly and that data
flowed correctly between components.
The final phase involved deploying the expert system and providing ongoing support and updates
to ensure its continued effectiveness.
Deployment: The system was deployed as an app based platform to ensure scalability and
accessibility. Users could access the system through the dedicated mobile app, making it available
to farmers in remote areas.
The existing systems for diagnosing yam diseases are primarily manual or rely on basic
digital tools that are not optimized for accurate and quick diagnosis. A thorough analysis of these
existing systems revealed several limitations that the proposed expert system aims to address.
The diagram illustrates both the manual diagnosis process and the digital tool workflow, showing
how information flows between different steps, entities, and data stores.
2. Tool Workflow:
Input: Users enter observed symptoms into a digital tool or application.
Search: The tool searches its limited database for matching symptoms and suggests
possible diseases.
Output: A list of potential diseases is provided, often without clear guidance on the
accuracy or certainty of the diagnosis.
Action: Users decide on a course of action, often with minimal guidance on effective
treatments or next steps.
fig(ii) Subsystem interaction diagram
This diagram details the interaction between different subsystems within the Yam Disease
Diagnosis System
Digital Diagnosis Subsystem represents a technology-driven method utilizing a digital tool and a
database for disease identification.
Digital Database is a repository within the digital subsystem that stores information about
diseases and symptoms.
Knowledge Gaps: Many farmers lack the specialized knowledge needed to accurately diagnose
diseases, leading to frequent misdiagnoses and ineffective treatments.
Limited Accessibility: In remote areas, access to agricultural experts or reliable digital tools is
limited, which hampers timely and accurate diagnosis.
Inefficient Processes: Manual diagnosis is slow and labor-intensive, often requiring multiple
consultations and revisits, which delays treatment and increases crop loss risks.
Data Limitations: Existing digital tools often have outdated or incomplete databases, limiting
their ability to provide accurate diagnoses or treatment recommendations.
The proposed Yam Disease Diagnosis expert system aims to revolutionize the way farmers
identify and manage yam diseases by leveraging advanced technologies such as artificial
intelligence (AI) and machine learning (ML). Unlike traditional diagnostic methods that rely
heavily on the subjective interpretation of symptoms by farmers and local experts, the proposed
system will use a structured, data-driven approach to accurately identify
diseases. By analyzing a wide range of symptoms and patterns in the data, the system can
provide more precise and reliable diagnoses, reducing the risk of misdiagnosis that often leads to
ineffective treatment and crop loss.
One of the core components of the proposed system is its comprehensive database, which
contains extensive information on yam diseases, symptoms, environmental conditions, and
effective treatment methods. This database is continuously updated through contributions from
agricultural experts, ongoing research, and real-time data collection from the field. The expert
system utilizes this vast repository of knowledge to compare input symptoms against known
disease profiles, enhancing its diagnostic accuracy.
Furthermore, the integration of environmental data such as soil quality, moisture levels, and
weather patterns enables the system to consider external factors that may influence disease
development, providing a more holistic diagnostic process.
To enhance user experience and accessibility, the proposed system will be developed as a user-
friendly mobile application. This application will feature an intuitive interface where farmers can
easily input symptoms through text or images. The system will employ image recognition
technologies to analyze visual symptoms on yam plants, such as leaf
discoloration, wilting, or spotting. In addition, the application will support multiple languages
and include voice input options to accommodate farmers with different literacy levels and
preferences, ensuring that the technology is accessible to a broad audience.
Another significant feature of the proposed system is its ability to provide actionable
recommendations. After diagnosing a disease, the system will offer specific treatment plans
tailored to the severity of the infection and the farmer’s available resources. It will suggest
appropriate fungicides, insecticides, or cultural practices such as crop rotation or soil treatment.
The system will also include educational resources to help farmers
understand disease prevention and management strategies better, fostering a proactive approach
to crop health and sustainability.
The proposed expert system offers several advantages that significantly enhance yam disease
diagnosis and management:
Enhanced Diagnostic Accuracy: By using AI and ML algorithms, the system can analyze vast
amounts of data and identify diseases with a high degree of accuracy. This reduces the risk of
misdiagnosis that is common with traditional methods, which rely heavily on farmers’ subjective
assessments and experience.
Rapid Response and Timely Interventions: The system’s ability to provide quick and accurate
diagnoses allows farmers to take immediate action to address disease outbreaks. Early detection
and timely intervention are crucial in preventing the spread of diseases and minimizing crop
losses.
Cost-Effective Solution: The system reduces the need for costly consultations with agricultural
experts by providing automated diagnoses and treatment
recommendations. This makes advanced diagnostic tools accessible to smallholder farmers who
may not have the resources to seek expert advice regularly.
Empowerment and Knowledge Sharing: The system not only diagnoses diseases but also
educates farmers about the causes and prevention of yam diseases. By providing detailed
explanations and actionable advice, the system empowers farmers with knowledge and fosters a
proactive approach to crop management, improving overall farm productivity.
The high-level model of the Yam Disease Diagnosis expert system consists of several integrated
components designed to work together to deliver accurate and timely
diagnoses. The model emphasizes seamless interaction between these components to ensure the
system is user-friendly, reliable, and effective in diverse farming contexts.
Knowledge Base: This component stores comprehensive information on yam diseases, including
symptoms, causes, environmental conditions, and treatment options. It is continuously updated
with new data and expert input treatment options.
Inference Engine: The inference engine is the core component of the expert system, responsible
for reasoning and drawing conclusions based on the input data and the knowledge base. It uses
techniques such as rule-based reasoning or case-based reasoning to identify potential diseases
and recommend appropriate treatments.
User Interface: The mobile application’s user interface is designed to be intuitive and
accessible, allowing farmers to input symptoms easily and receive clear diagnostic results. The
interface supports multiple input methods—text, images, and voice commands— ensuring it is
accessible to farmers of all literacy levels and technical abilities.
Knowledge Engineer: The knowledge engineer is responsible for acquiring and organizing
domain-specific knowledge about yam diseases, symptoms, and treatment options. They work
closely with agricultural experts to ensure the accuracy and completeness of the knowledge base.
Interpreter: The interpreter translates the system’s output into a format that is understandable to
the user. It presents the diagnosis and treatment recommendations in a clear and concise manner.
Dynamic Database: The dynamic database stores information about user interactions,
diagnoses, and treatment recommendations. This data can be used to improve the system’s
performance over time by identifying patterns and trends.
Fig(iii) high level model diagram
Overall Workflow:
The user interacts with the system through the user interface, providing information about the
yam plant’s symptoms.
The inference engine processes the input data and searches the knowledge base for matching
symptoms.
Based on the comparison, the inference engine identifies potential diseases and applies relevant
rules.
The interpreter presents the diagnosis and treatment recommendations to the user.
The system stores information about the user’s interaction, diagnosis, and recommendations in
the dynamic database.
CHAPTER FOUR
SYSTEM DESIGN AND IMPLEMENTATION
Diagnosis Subsystem
Interfaces with the Gemini API to process symptoms or images and return a diagnosis.
Database Subsystem
Manages the information related to yam diseases, including symptoms, descriptions, and
treatments.
4.4 SYSTEM SPECIFICATIONS
System specifications refer to the formalization of the structural operational semantics, providing
programming and specification languages with an interpretation. They play a crucial role in
system design by allowing for the validation of system accuracy and aiding in the examination of
system-level characteristics such as time specifications, resource utilization, communication, and
non-functional aspects of the system.
Input:
1. Symptoms: Text input or selection from predefined options.
2. Images: Upload of images in formats like JPEG, PNG.
3. Dual Input Support: Users can use either or both input methods (image and text) to get a
diagnosis.
4. Output:
4.6.3 Documentation
Documentation is a pivotal aspect of the student information management system (SIMS)
project, designed to empower users with comprehensive guidance on how to use the system. This
section presents a detailed user manual tailored for all users.
Usage
1. Home Screen: Start by creating a new chat in the home screen or opening one of
your chats in your chat history.
2. Chat Screen: Send images and/or text descriptions while chatting with the AI.
3. Select an Image: Users can take a photo of the yam or select an existing image from
their gallery.
4. Describe the Yam: Alternatively, or additionally, users can describe what the yam
looks like, including any visible signs of disease.
5. Get a Diagnosis: Yam Doctor processes the input and responds with a probable
diagnosis of any diseases or confirms that the yam is healthy.
CHAPTER FIVE
SUMMARY, CONCLUSION AND RECOMMENDATION
5.1 SUMMARY
Yam (Dioscorea spp.), a staple crop in West Africa, plays a critical role in food security and the
economy. However, yam cultivation faces significant challenges due to various diseases such as
anthracnose, yam mosaic virus, and soft rot, which often go undiagnosed or are misdiagnosed by
farmers. This results in substantial crop losses, impacting both food security and the livelihoods
of farmers. The primary issue lies in the lack of accessible and reliable diagnostic tools,
particularly in rural areas where farmers may not have easy access to expert knowledge.
To address this gap, the development of an expert system for yam disease diagnosis offers a
promising solution. Expert systems are computer programs that mimic human decision-making
processes by using a set of rules derived from expert knowledge. In the context of yam disease
diagnosis, this system would guide farmers in identifying diseases and suggesting appropriate
treatments. Although expert systems have been successfully applied to other crops like rice,
maize, and wheat, yam remains under-explored.
The proposed expert system operates through a chatbot interface that leverages a customized
Gemini API for processing user inputs. The process involves the following steps: the user
provides input to the chatbot, either as text or an image of a diseased yam plant. The chatbot
processes this input and customizes it for a request to the Gemini API. The API, which integrates
machine learning and image recognition, analyzes the data and returns a diagnosis. Finally, the
chatbot sends the API's response back to the user as a reply. This approach ensures that farmers
receive accurate, timely, and accessible diagnostic information.
However, the development of such a system faces challenges, particularly in terms of the
availability of comprehensive and reliable data on yam diseases. A robust knowledge base is
essential for the system to function effectively, yet detailed studies on yam diseases are less
prevalent compared to other crops. Furthermore, variations in how yam diseases manifest in
different regions complicate the creation of a universally applicable system.
To overcome these challenges, there is a need for increased research efforts focused specifically
on yam diseases. Collaborative projects involving agricultural researchers, local experts, and
farmers could help gather the essential data required to build the system's knowledge base.
Additionally, advancements in technology, such as machine learning and image recognition, can
enhance the system's ability to diagnose diseases even when data is limited. By combining
traditional expert knowledge with modern technological tools, the system can meet the diverse
needs of yam farmers.
5.2 CONCLUSIONS
The development of a yam disease diagnosis expert system presents a critical opportunity to
improve yam cultivation by providing accurate and accessible diagnostic tools. This system can
help farmers identify diseases and take timely action, reducing crop losses and enhancing food
security. By leveraging modern technologies such as machine learning and image recognition
through a customized API, the system can offer precise diagnoses even in regions with limited
resources. Continued research, adaptation to local conditions, and ongoing support will be
essential in ensuring the system's effectiveness and long-term impact on yam production.
5.3 RECOMMENDATIONS
II. Leverage Modern Technology: Integrate machine learning, image recognition, and other
technological advancements to enhance the system's diagnostic accuracy. The customized
Gemini API is a key component in processing user inputs and providing accurate disease
diagnoses based on text and image data.
III. Tailor the System to Local Conditions: Ensure that the expert system incorporates local
knowledge and adapts to the specific environmental conditions where yams are grown. This will
make the system more relevant and effective for farmers in different regions.
IV. Enhance Accessibility: Make the expert system available through mobile platforms or other
easily accessible technologies, ensuring that it reaches a wider audience, including farmers in
remote or underserved areas.
V. Provide Continuous Updates and Support: Establish mechanisms for regularly updating
the system with new data and disease information. Additionally, offer ongoing support to users,
including training and assistance in using the system effectively.
By implementing these recommendations, the yam disease diagnosis expert system can become a
valuable tool for improving agricultural productivity, sustainability, and food security in yam-
producing regions.
The yam disease diagnosis expert system can be applied in various agricultural settings,
particularly in regions where yam is a staple crop. Its primary users include small-scale farmers
in rural areas who lack access to expert diagnostic services. Agricultural extension officers can
also use the system to provide accurate diagnoses and treatment recommendations during field
visits. Additionally, research institutions and universities may apply the system as a teaching tool
in agricultural programs, helping students understand plant disease diagnosis and management.
Here are some potential application areas:
Further research is needed to expand the system’s knowledge base by gathering more data on
yam diseases, especially in different geographical regions. This includes studying less common
diseases and variations in disease manifestation due to environmental factors. Additionally,
research should focus on improving the system’s algorithms to enhance the accuracy of disease
diagnosis, particularly in distinguishing between similar symptoms caused by different diseases.
Investigating the integration of the system with other agricultural technologies, such as sensors
for early disease detection, could also be valuable.
The development of a yam disease diagnosis expert system should focus on several key areas to
enhance the system’s overall effectiveness and applicability. One critical area is the expansion
and diversification of the database of yam diseases. This involves collecting comprehensive data
on a wider range of yam diseases, particularly those that are region-specific or less documented
in existing literature. Incorporating this information will enable the system to provide more
accurate and relevant diagnoses, especially in diverse farming environments. Additionally,
research should investigate how regional climatic and soil conditions affect disease
manifestation, as this will allow for the development of more localized and precise diagnostic
models.
Another area of focus is the enhancement of the system's underlying technologies, particularly in
terms of machine learning algorithms and image recognition techniques. Advanced machine
learning models, such as deep learning, could be employed to improve the system's ability to
differentiate between diseases with similar symptoms. Similarly, image recognition technology
can be refined to more accurately detect visual patterns associated with specific diseases, even in
images of varying quality. This technological improvement will be crucial for ensuring that the
system remains reliable and effective in real-world scenarios where image quality and symptom
descriptions may be inconsistent.
Exploring the integration of sensor-based early detection technologies with the expert system is
another promising area for future research. Sensors placed in the field could monitor
environmental factors and plant health in real-time, providing data that could be fed into the
expert system to predict and diagnose diseases at an earlier stage. This proactive approach could
significantly reduce crop losses by allowing farmers to take preventive measures before diseases
become widespread.
Furthermore, research into user experience and system design should be conducted to ensure that
the expert system is accessible and user-friendly for farmers of all literacy and technological
proficiency levels. Studies should examine how different interface designs impact usability and
gather feedback from farmers to continuously improve the system's functionality. This includes
considerations for mobile accessibility, language options, and culturally relevant features that
make the system more adaptable to various regions and farming communities.
Lastly, it is important to investigate the potential for multilingual and culturally sensitive
adaptations of the expert system. Since yam is grown in diverse regions with different languages
and cultural practices, the system must be tailored to meet these varying needs. Research into
how language and cultural factors influence disease management practices can inform the
development of more personalized and effective diagnostic tools that resonate with local farmers.
This will ensure that the system is not only technically sound but also relevant and practical for
the communities it aims to serve, user experience studies could provide insights into how the
system can be further optimized for accessibility and effectiveness in diverse farming contexts.
REFERENCES
MONDO, J. M., AGRE, P. A., EDEMODU, A., ADEBOLA, P., ASIEDU, R., AKORODA, M. O., ET AL.
(2020). FLORAL BIOLOGY AND POLLINATION EFFICIENCY IN YAM (DIOSCOREA SPP.). AGRI
10:560. DOI: 10.3390/AGRICULTURE10110560
KALU, C., NNABUE, I., EDEMODU, A., AGRE, P. A., ADEBOLA, P., ASFAW, A., & OBIDIEGWU, J.
E. (2023). FARMERS’ PERSPECTIVE TOWARD A DEMAND LED YAM BREEDING IN NIGERIA.
FRONTIERS IN SUSTAINABLE FOOD SYSTEMS, 7. HTTPS://DOI.ORG/10.3389/FSUFS.2023.1227920
SIRAIT, H. (2023). BASIC ELEMENTS AND CHARACTERISTICS IN BUILDING AN EXPERT SYSTEM.
JOURNAL NEOSANTARA HYBRID LEARNING, 1(3), 227–248.
HTTPS://DOI.ORG/10.55849/JNHL.V1I3.337
AKINLOLU, A. O., ODEJOBI, O. A., AJAYI, F. O., & JIMOH, E. R. (2023). MOBILE-BASED DEEP
LEARNING FOR YAM DISEASE DIAGNOSIS. HTTPS://DOI.ORG/10.1109/SEB-
SDG57117.2023.10124483
OKON, N. I., MARKSON, A. A. A., OKoN, E. I., ITA, E. E., UYOH, E. A., ENE-OBONG, E. O. E., &
NTUI, V. O. (2022). CHARACTERIZATION OF SOME FUNGAL PATHOGENS CAUSING ANTHRACNOSE
DISEASE ON YAM IN CROSS RIVER STATE, NIGERIA. PLOS ONE, 17(6), E0270601.
HTTPS://DOI.ORG/10.1371/JOURNAL.PONE.0270601
MEENA, H. R., SINGH, K. M., & SWANSON, B. E. (2017). EXPERT SYSTEMS APPLICATIONS IN
AGRICULTURE: A REVIEW. AGRICULTURAL RESEARCH, 6(2), 173-177
OJHA, T., MISRA, S., & RAGHUWANSHI, N. S. (2017). WIRELESS SENSOR NETWORKS FOR
AGRICULTURE: THE STATE-OF-THE-ART IN PRACTICE AND FUTURE CHALLENGES. COMPUTERS
AND ELECTRONICS IN AGRICULTURE, 118, 66-84.
LECUN, Y., BENGIO, Y., & HINTON, G. (2015). DEEP LEARNING. NATURE, 521(7553), 436-444.
ZHANG, W., ZENG, X., & YAO, J. (2018). DEEP LEARNING FOR IMAGE-BASED CROP DISEASE
DIAGNOSIS: A SURVEY. COMPUTERS AND ELECTRONICS IN AGRICULTURE, 151, 234-243.
FOUNTAS, S., ESS, D., SORENSEN, C. G., & BLACKMORE, B. S. (2015). FARMER ACCEPTANCE OF
PRECISION AGRICULTURE TECHNOLOGY. PRECISION AGRICULTURE, 16(6), 767-791.
BALDI, P., & BRUNAK, S. (2001). BIOINFORMATICS: THE MACHINE LEARNING APPROACH. MIT
PRESS.
TILMAN, D., BALZER, C., HILL, J., & BEFORT, B. L. (2011). GLOBAL FOOD DEMAND AND THE
SUSTAINABLE INTENSIFICATION OF AGRICULTURE. PROCEEDINGS OF THE NATIONAL ACADEMY
OF SCIENCES, 108(50), 20260-20264.
PAREEK, A., & TRIVEDI, R. S. (2011). DEVELOPMENT OF EXPERT SYSTEMS
SALMAN, F, ABU-NASER, S. (2019). EXPERT SYSTEM FOR CASTOR DISEASES & DIAGNOSIS,
KNOWLEDGE AND INFORMATION, SYSTEMS, 3(3):1-10