The
definition of depression is a psychological mood disorder characterized by deep
sadness and an inability to perform the functions of daily life.
The most common
symptoms of depression are: sadness, loss of interest, guilt, lack of energy,
sleep and appetite disorders, difficulty concentrating and thoughts related to
death.
Goldberg's mental
health test includes a depression subscale. The Goldberg depression test is a
screening instrument, a simple and short test. This adaptation of
Psychology-Online of the Goldberg depression test, allows it to be done for
free and online. This psychological test will let you know if you have symptoms
of depression. If so, information on how to get out of depression will appear
in the immediate results. However, it is important to see a professional to
make the proper diagnosis and treatment, since if depressive symptoms are not
adequately treated, they can lead to major depression or chronic or recurrent
depression.
Clips:
CLIPS is a tool that provides a development environment for the production and execution of expert systems. It was created from 1984, at NASA's Lyndon B. Johnson Space Center. Funding ceased in the early 1990s, and there was a mandate from NASA to purchase commercial software.
CLIPS is an acronym for C Language Integrated Production System. Currently, among the programming paradigms supported by CLIPS are logical programming, imperative programming and object-oriented programming.
JAVA:
In
order to join JAVA you need a library; This is CLIPSJNI which we have to import
into our library. Thanks to this library we can manage and control through an
interface that is more user friendly. In addition, it can be incorporated into
other programs such as Python; which is currently booming.
CLIPS.JNI:
- CLIPS JNI demonstrates basic techniques for integrating
- CLIPS with a Java GUI and
comes with five examples of CLIPS programs integrated with a Swing front
end.
- CLIPS JNI also includes an Integrated Development Environment (IDE) for writing and debugging CLIPS programs.

Interface of
Program
For the elaboration of the user experience or graphic interface, the following components were used: 2 Jframes ; the first one was used as the title page for our project and the second one for the form itself of the topic. The initial page used 2 JtextBox in the header, if the person wants to disclose their identity (name and age). In the body, we used a JTEXTAREA for all the information about the methods that was placed. In our case, it was the Golberg method which, unlike the traditional method was not calculated with true and false values but was calculated with a Likert scale which takes values from 0 to 5 with zero being a variable in which It is explained to the person that their condition is null and 5 is high risk in the test.
Within the form, the 18 questions were already established by the Golberg method for which JLabels was used and the range of responses using the Likert scale was elaborated with JradioButtons.
In the part of the clips system, a template was developed for each question. One for the output or answer which could be given if it is a string, one for numerical values and finally one for the person in case the person exposed wants disclose their identity. This shows that each template was assigned it’s respective type of variable. Given all these steps, validations are carried out using the rules. The first rule is to verify if the patient has entered their data (optional). The second rule, we have the validations for the questions. We are going to need a counter which is going to be placed at the top of the .clp file and inside the validation. We’ll call our respTest variable and we’ll send two parameters the index and the calculated value.
We proceed to the calculation of the likert scale for which (ifs questions).
We asked if the calculated value is equal to the scale value and then it returns the total value for each question. At the end, all the answers were obtained and the final value was compared with the golberg method, which according to each answer the following results were obtained:
If a person obtained a sum <= 5 then, he/she suffers from everyday problems like anyone else.
If a person obtained a sum> = 7 but <9 then, he/she suffers from anxiety problems which could be treated, but if a person reaches a score> = 9 it means that this person may already suffered from chronic anxiety and in the future will suffer from depression.
Thank you very much, this has been our project about how to measure the levels of anxiety or depression that a person may suffer.
In conclusion, thanks to the tools such as clips and java we were able to carry out the expert system to determine questions such as how a person can be known and what state he is in. In this way it can be done for different fields of medicine, industry, commerce, etc. In other words, it encompasses a great world in what is very useful in society.




Comentarios
Publicar un comentario