Embed presentation
Download to read offline

This expert system uses a set of rules and forward chaining to diagnose diseases based on input symptoms. It defines a class that inherits from KnowledgeEngine and takes arguments to map symptoms, handle non-matches, and retrieve treatment and detail information. Rules check symptoms and store user input, executing in salience order until a disease matches or no match is found. Once diagnosed, the disease name is added as a fact and treatment and detail functions are called to provide output.
