In this project, forward chaining rules are used using a durable rule engine in python.
Python File - ForwardChaining.ipynb
You need to install jupyter notebook to run the ipynb file or you can also use Google Colaboratory to run the file.
To run this program you need to open jupyter notebook
- Run the cells and answer questions as per your choice.
In this project, I am applying forward chaining rules using a durable rule engine in python.
I have 4 ruleset in my program:
a) course
b) grades
c) theroy_proj
d) clubs
First triggering course fact with attributes: course_int, grades and t_p.
Then based on the user's choice course will further trigger ‘grades’ fact, ‘theory_proj’ fact and
‘clubs’ fact and use Forward chaining concept.
Steps:
- Ask for user’s grade in BTech
- Ask for user’s course interest
- Ask for user’s practical or theoretical interest
- Ask for user’s other interest for extra curricular activities
- Showing Suggestion as per user’s choice using forward chaining rules
This project was a part of my assignment in Artificial Intelligence at IIIT Delhi during my MTech 1st year.