Project Title: INTELLIGENT EXPERT SYSTEM FOR DIAGNOSING MENTAL ILLNESSES AND TREATMENT
Project is implemented in Python language
Required software: Visual studio IDE, python interpreter
Instructions for downloading the visual studio download the software from the link: https://visualstudio.microsoft.com/vs/features/python/
Installation of visual studio:
- Make sure your computer is ready for Visual Studio
- Download Visual Studio
- Install the Visual Studio installer
- After the new workloads and components are installed, choose Launch. Then choose install
- For Python, select the Python development workload and select Install
- select the installation location
- Start programming
Execution steps*
- The Project execution starts from the main program. Open the main.py and click Run.
- Now the execution will start and all the variables required are declared in the main file. The Main function imports Disorder_BW.py(Backward chaining algorithm) and Drug_FW.py (Forward chaining algorithm) files.
- Knowledge base, variable list, intermediate node and derived variable lists are stored in separate Json files for both backward and forward chaining algorithm.
- Once declaration is done and backward chaining algorithm is called which is in separate file Disorder_BW.py and then we need to enter either "yes" or "no" based on questions asked.
- Once the user has responded to the questions, then backward chaining algorithm detects the disorder based on the symptoms given.
- The obtained disorder will be passed as an input to the forward chaining which will determine the treatment after asking considering the user response.
- Now the time taken by both algorithms is calculated and memory consumed is also determined.
- All the outputs are displayed on