Fundamentals of Artificial Intelligence - Spring 2022 Lab 1: Expert Systems
Fundamentals of Artificial Intelligence - Spring 2022 Lab 1: Expert Systems
• Submit your solution as a .zip archive (containing .ipynb and .py code files), and a
PDF report uploaded on ELSE.
• For this laboratory you can use the provided code from the archive. Alternatively, you
can implement your own code for the Expert System, but you will have to implement the
entire algorithm yourself, including Forward chaining and Backward chaining.
• For the Report you are free to choose between LaTeX, Jupyter notebook or Word ex-
ported to PDF. Highly recommended Jupyter notebook/Colab.
• Please don’t host your solution in public repositories (e.g Github etc). You can use private
repositories if you need.
Grading policy
• Task 1: Define 5 types of tourists. Draw the Goal Tree representing these types of
tourists. (1p)
• Task 2: Implement the rules from the defined tree in task 1 in your code (use the IF,
AND, OR, THEN etc rules which are already implemented in the code). (1p)
• Task 3: If you are using the provided code, check how the Forward chaining algorithm
works and show an example. If you are implementing your own code, implement the
Forward chaining algorithm yourself. (0.5p)
• Task 4: Implement the Backward chaining algorithm for the Goal tree. (2p)
• Task 5: Implement a system for generating questions from the goal tree. Have at least
2-3 types of questions (e.g yes/no, multiple choice, etc). (2p)
• Task 6: Wrap up everything in an Interactive Expert System that will dynamically ask
questions based on the input from the user. Both forward chaining and backward chaining
should be working. (2p)
• Task 7: Format the output and questions to human readable format. (0.5p)
Good Luck!
The code source and the material was inspired and adapted from 6.034 Artificial Intelligence Lab 1 MIT OpenCourseWare http://ocw.mit.edu.