Professional Documents
Culture Documents
KBS CAT 2
1. A potential investor has just observed that the dollar exchange rate is falling. He wants to know
whether to buy bonds. Run forward and backward chaining, and submit a report of your findings to
him, advising on the investment options.
Backward chaining
Rule 6 fires therefore, Bond price decline becomes the new goal.
Rule 2 fires therefore, interest rates increase becomes the new goal.
I can recommend for him to buy the bonds because dollar exchange falling provides a great
environment for investing on the bonds.
Forward chaining
Therefore Rule 6 fires and the inference engine concluded to buy bonds.
Therefore he should buy bonds because with exchange rates falling leads =>R5 firing dollar falling=>R2
interest rates then increase=> leading to bond prices decling =>R6 firing which is buying bonds.
b) You are presented with a Prolog database that contains information about authors and books they
have written. Books are classified as either Fiction, Biography or Reference. Required: 2
i. Write a query to ask whether Tom wrote the fictional book called “Fiction stories” (2marks)
ii. Write a query to find all books written by Harry Weinmann (2marks)
2a) Discuss, giving reasons, why Case Based Reasoning Systems would be the technology of choice in
the implementation of the KAS.
Case based systems are intuitive be as they reflect a how people carry out their activities i.e work
secondly no knowledge must be elicited to create methods ad rules hence making development easier.
They are easier to maintain because case based reasoning systems learn by acquiring new cases through
use
Case based systems can provide solutions quickly because all it does is offer solutions offered by
previous similar cases thus making it effective and faster than other models.
Using case based reasoning systems it becomes very easy to find relevant and similar experience to a
particular situation because the retrieval mechanisms are very efficient as they can handle thousands of
cases in seconds
Case based reasoning system is adaptive since it can learn new cases therefore it can improve with time
and become more efficient
b) Highlight the inherent weaknesses one is likely to face when using Case Based Reasoning Systems
Case based reasoning systems (CBR) are based on unreliable evidence and adapting elements of one
case to another may result to complexity
Inaccuracies may come by as a result of adaptation of many elements of different cases that may cause
sophistication.
It can take large storage base for cases which incase it fails the whole system becomes unavailable
c) Discuss how you, a Knowledge Based Systems student, would enrich the KAS system to enhance its
capability and ensure agriculture contributes greatly to the economy. (5 marks)
Ensure that the farmers are able to access the system concurrently and ensure there are continuous
updates. The continuous updates we ensure that the users are well aware of the ongoing activities in
the agricultural sector this includes updates of cases
Ensure portability- ensure that the farmers using different platforms or gadgets can access the KBS i.e it
ensure its web based, available as a mobile app and other platforms.
Ensure availability and accessibility – ensuing that the system always available for the users ie farmers to
query and get their solutions to different questions and also ensure it is easily accessible.
Customization- tailoring the system to meet the needs of farmers based on their different sectors eg
have sections for livestock farmers and crop farmers for easier distinction of information.
Ensure that the system can be able to gather feedback from the farmers hence enabling easier
correction of areas that have issues and as a way of ensuring customer satisfaction so as to know where
to change where to improve and what to maintain.