Skip to main content

ORIGINAL RESEARCH article

Front. Psychiatry, 26 May 2022
Sec. Digital Mental Health

Applications of Artificial Intelligence to Popularize Legal Knowledge and Publicize the Impact on Adolescents' Mental Health Status

  • School of Law, Chongqing University, Chongqing, China

Artificial intelligence (AI) advancements have radically altered human production and daily living. When it comes to AI's quick rise, it facilitates the growth of China's citizens, and at the same moment, a lack of intelligence has led to several concerns regarding regulations and laws. Current investigations regarding AI on legal knowledge do not have consistent benefits in predicting adolescents' psychological status, performance, etc. The study's primary purpose is to examine the influence of AI on the legal profession and adolescent mental health using a novel cognitive fuzzy K-nearest neighbor (CF-KNN). Initially, the legal education datasets are gathered and are standardized in the pre-processing stage through the normalization technique to retrieve the unwanted noises or outliers. When normalized data are transformed into numerical features, they can be analyzed using a variational autoencoder (VAE) approach. Multi-gradient ant colony optimization (MG-ACO) is applied to select a proper subset of the features. Tree C4.5 (T-C4.5) and fitness-based logistic regression analysis (F-LRA) techniques assess the adolescent's mental health conditions. Finally, our proposed work's performance is examined and compared with classical techniques to gain our work with the greatest effectiveness. Findings are depicted in chart formation by employing the MATLAB tool.

Introduction

A person's mental health is defined as social well-being, psychological and emotional. It impacts how a person thinks, feels, and reacts to situations. It is simpler to perform effectively and realize one's full potential when one has good mental health. Mental well-being at any age includes preschool, adolescence, and adulthood. Anxiety, social phobia, sadness, panic disorder, drug dependency, and individual diseases are all components that contribute to mental health issues that lead to mental disease. It is becoming more important to notice the onset of mental illness to maintain a healthy life balance. An individual's mental well-being is a combination of their mental state and an assessment of their whole personality. Chemical imbalances cause mental diseases in the brain. Understanding and treating persons with abnormal mental activity requires a detailed study of their mental health (1).

Mental health serves as a gauge for how effectively they are being addressed for their illnesses. It's vital to maintain track of different groups' mental health profiles to predict health-related anomalies. High school pupils, college graduates, and young professionals make up the community. Persons and backgrounds are said to be affected by stress and unhappiness. It is vital to maintain the mental health of distinct groups at different times to prevent catastrophic illness. According to a 2011 study by the ‘World Health Organization (WHO) executive council, depression will be the leading cause of global illness burden by 2030. Healthcare providers will be obliged in the next years to consider a sufferer's mental health status to provide better treatment and help in a faster recovery. Winters-Miner and colleagues investigated how prescriptive medical modeling would impact the worldwide healthcare business (2).

Psychologists devote a lot of time to psychotherapy and behavioral interventions to help patients with emotional and mental problems. Psychologists are also competent to perform psychological testing, which is essential for establishing a person's mental condition and the most successful treatment plan. Professionals will be able to use the developed prediction technique to conduct psychological sampling and forecast a person's mental health. The psychologist and psychiatrist work together to treat the participant's behavior and clinical problems. Psychologists and psychiatrists are both important in researching and advancing mental and emotional health solutions (3).

Because all except the most severe psychiatric therapy is provided in an outpatient environment, greater community monitoring would be very beneficial. Early identification and prevention of recurrence may make a big difference in how things turn out. Patients' written records are one way to track emotion and mental health outside of the professional context. There is a risk of recollection bias and compliance concerns with this method. Although some of the same challenges exist, apps have been created that actively urge users to answer questions about their mood, sleeping habits, and other pertinent areas (4).

AI technology and methods are already in use all in our region, while frequently after the scenes. Many uses of AI technology and methods have grown so prevalent that we can no longer respect them to be AI-based. Artificial Intelligence-based mental health monitoring solutions ranging from smartphone apps to wearable gadgets may enhance or possibly replace the function of a psychologist as technology advances. It explains how AI can be used to make decisions and how it can be used to evaluate and treat patients. AI advancements are also helping the behavioral and mental health care industries (5). Figure 1 shows the application of AI to mental health status.

FIGURE 1
www.frontiersin.org

Figure 1. Application of AI in mental health status.

Computing tools for education, comprehending, and thinking, for example, may aid medical managerial, test, diagnosis, and care organization for healthcare practitioners. AI technology and approaches, such as participatory movable healthiness applications (apps) that learn users' behaviors and preferences, may develop self-care tools to get better people's lives. By aiding in identifying health concerns and guiding actions, AI is enhancing public health (6).

Despite the enormous development in academic output in computerization technologies, artificial intelligence, and robotics, academics still lack a clear understanding of the effects of these advances on human resource management (HRM) at both the managerial and personal levels. Consequently, the purpose of this study is to consolidate the current academic inputs on intelligent automation and characterize its key contributions to and issues with HRM (7).

Mental illnesses like depression are becoming more prevalent and have substantially impacted a person's physical well-being. AI systems have freshly been created to assist psychological well-being practitioners, especially psychiatrists and clinicians, and historical data from patients, such as clinical aspects, social media activity, and behavioral data, are used to make judgments. There is a pressing need to address adolescent core mental health concerns, which may progress to more severe problems if not recognized early (8).

AI platforms' computation capability might be used to elucidate the complicated biology of mental diseases and effectively guide treatment application. Effective physician relationships are vital in mental health treatment, but they are sometimes hampered by the little contact time allocated for medical care. AI technologies provide a method to automate activities that don't need a “personal contact,” allowing physicians to concentrate on providing more empathetic care and “civilizing” the tradition of medicine (9).

This research presents a novel CF-KNN approach to anticipate adolescents' mental health status by AI's application. The normalization technique is utilized to normalize/balance the collected datasets in the pre-processing stage. The VAE technique is employed to convert the normalized data into numerical attributes. The MG-ACO approach is performed to select the attribute sub-sets. The T-C4.5 and F-LRA techniques are conducted to assess the adolescent's mental health status, both t. The additional detail is organized as topic II-related works and problem statements, topic III-proposed work, topic IV-performance analysis, and topic V-conclusion.

Study Background

This part illustrated the exciting approaches regarding legal knowledge and the prediction of adolescents' mental health status. AI technologies have been implemented to help physicians and doctors make decisions based on clinical information. There seems to be a great need to deal with fundamental psychological problems in youngsters that might become complex even though not addressed early. The deep learning assisted Integrated Prediction Model (DLIPM) was introduced in this research to detect and diagnose childhood mental disorders (8). Kubiak et al. (10) investigated the acceptance, faithfulness, and effects of a juvenile Crisis Intervention Team (CIT-Y). This strategy seeks to maintain mentally ill kids out of the criminal justice through educating and training police personnel. Singh et al. (11) examined the psychological well-being of young people affected by the COVID-19 virus, including statewide or local closings to limit illness propagation and during the COVID-19 epidemic; they reviewed papers and warnings on youth mental wellness.

Major psychological health is linked to physical ailments, but most study has been done on adults. To summarize available research on medical and psychological metabolic abnormalities among adolescent mental health inpatients. They executed the meta-analysis (12). A convenience sample strategy was used to deliver an online survey among kids and teenagers (13). A cascade technique enables assessing delivery difficulties and creating measures to increase treatment involvement and achievements for kids in community JJ supervision (14). Li's (15) study analyses the impact of music learning to enhance students' mental health in the setting of 5G networks. Based on the site study on the emotional and mental health of current academy students, one concerning the issue of music instructors seems to be how effectively to employ music education to assist students in maintaining a better and upward psychological condition. Zhang's (16) research proposes using triangular fuzzy and entropy weights to assess youths' mental well-being. This approach minimizes manual interaction and quantifies the outcomes of psychological screening amongst young adults. Cai (17) research presents a data mining-based approach to determining mental disasters in young adults to increase the accuracy of detecting mental disasters in young adults. A mental disorder recognition model based on CNN is developed in this research. Self-learning capability allows the model to detect mental illnesses in adolescents and assist academic psychologists and the mental well-being group (18).

Mody and Bhoosreddy (19) stated that many disorders have multiple odontogenic keratocysts. A 12-year-old female youngster had several odontogenic keratocysts. The studies found no other anomalies indicative of a condition. Personalized medicine employs fine-grained data to identify specific deviations from normal (20). These developing data-driven health care methods were conceptually and ethically investigated using ‘Digital Twins' within engineering. Physical artifacts were coupled using digital techniques which continuously represent their state. Moral differences can be observed based on their data structures and interpretations. Digital Twins’ ethical and sociological ramifications are examined. The Healthcare system has become increasingly data-driven. This technique could be a social equalizer by providing efficient equalizing enhancing strategies. Allergic rhinitis would be a long-standing worldwide epidemic. Taiwanese doctors commonly treat it with either traditional Chinese or Chinese–Western drugs. Outpatient traditional Chinese medicine therapy of respiratory illnesses was dominated by allergic rhinitis. They compare traditional Chinese medicine with western medical therapies in treating allergic rhinitis throughout Taiwan (21).

High-dose-rate (HDR) brachytherapy avoids radioactivity, allows for outpatient therapy, and reduces diagnosis timeframes (22). A single-stepping source could also enhance dosage dispersion by adjusting latency at every dwell location. The shorter processing intervals do not permit error checking, and inaccuracies could injure individuals. Hence, HDR brachytherapy therapies should be performed properly. Li (23) presented treatment and the technology of domestic sewage to improve the rural surroundings. Salihu and Iyya (24) took soil samples from chosen vegetable farms throughout Zamfara State. Nigeria has been tested for physicochemical and organochlorine pesticides. Testing procedure and data were analyzed using QuEChERS with GC-MS.

Rao et al. (25) mentioned that to prevent depression and enhance children's psychological levels, an “Artificial Neural Network-based Psychological Symptom Prediction Model” “(ANN-PSM)” has been suggested. In the presence of sad signals and an elevated risk of depression, the ANN-PSM patterns may identify youngsters who are more prone to perpetrate emotional abuse. Their studies highlight the processes that occur in children for social-emotional adaption due to mental depression.

AI is strongly linked to college students' ethical wisdom education as network technology advances in the internet era. It necessitates instructors' employment of AI and broadcast technology for college students to develop proper civic ethics via bright education approaches (26). The scoping review summarizes the present capabilities of AI-assisted digital biomarkers for dementia early on diagnosis and future potential research areas (27).

Li et al. (28) judiciously summarize psycho radiological studies using magnetic resonance imaging of the brain to investigate the neural mechanisms of psychiatric diseases and outline progress and the path ahead for the use of psychopathology and AI in sufferers with psychiatric disorders, as well as restrictions in the operation of AI that should be considered in destiny translational research.

Welch et al. (29) performed a scoping review to explore, define, and field wearable technology discovery that may supplement existing in-person physician evaluations to personalize treatment and care of mental problems in children and adolescents. Malek (30) investigated how and why AI technologies promote prejudice and inequality in society and possible alternatives to present predictive justice methods.

The back propagation (BP) algorithm is used in this investigation study to diversity various features from past data, like psychological character, fundamental individual aspects, and social-economic factors. Data grounding techniques are used in the early stages of modeling to construct the data for use by the BP algorithm to create the portrait. The capability of the BP algorithm to knob variability in data and explore associations between numerous attributes is one of the reasons for its acceptance (31).

Problem Statement

Law enforcement can now analyze young adults' capacity and legality. Knowing that institutions have sensible laws allows students to research health and life advancement appropriately. They chose legally possessed firearms to protect themselves and other students from assaults. Law students were able to learn and achieve together to raise legal awareness, fight against rules and infractions, and implement the nation's efficient legal guidance. For this, several investigations are progressed but with specific inconsistent outcomes in learning efficiency, students' mental ability prediction, etc. We introduce a novel cognitive fuzzy-based K-nearest neighbor (CF-KNN) by AI application to legal education students to overcome these concerns.

Proposed Work

This research aims to evaluate the impacts of AI on the legal field and the mental health conditions of adolescents. For this purpose, the cognitive fuzzy K-nearest neighbor (CF-KNN) technique is utilized. Specific legal education datasets are gathered to initiate this investigation. A normalization approach is provided to pre-process these datasets to eliminate the unwanted noises/outliers from the gathered raw data. Correspondingly, feature extraction and feature selection stages are performed through VAE and MG-ACO techniques. T-C4.5 and F-LRA techniques are used to assess the adolescent's mental health conditions. Furthermore, the performance of our proposed work is examined to prove our work with better outcomes. Figure 2 depicts the complete framework of this research.

FIGURE 2
www.frontiersin.org

Figure 2. Complete framework of proposed work.

Study Dataset

This research is carried out within Fuyang Township, Guangdong Province, from Dec 2007 to June 2008 (32). Fuyang has a population of 87,134 and per capita yearly revenue of around 5,154 RMB (2008), which is also under the national and province averages of 4,140 RMB and 5,624 RMB, correspondingly. It's a category II rural area in the municipality (category I am extremely rich, and category IV is extremely deprived). Thirteen to 18-year-olds can attend any of the five junior high schools (1 vocational and 4 standards) or the senior high schools that serve students between the ages of 16 to 18. The research was open to all primary and secondary education students in grades one and two. In advance, the pupils were asked for their written agreement, which was received voluntarily. As a result, we were given the go-light by CHU's Ethics Committees. Table 1 shows the dataset description.

TABLE 1
www.frontiersin.org

Table 1. Study respondent.

Data Pre-processing

Quality data is still an issue, and poor information may result in bad judgments and analyses. Typical problems are missing values, errors, confusing forms, duplicate records of the same real-world entity, and medical guideline breaches. To make informed decisions, we should evaluate the impacts of dirty data. Missing values become significant because these alter the information's properties. The values should be calculated to do a dynamic analysis, mainly whenever numerous studies are involved. It can cause serious identification issues. Data corruption causes discontinuity in data records or outliers, and thus it indicates uncertainty in the identification process.

So, that data must be removed containing missing values and outliers. Therefore, data pre-processing seems to be a critical step in obtaining resultant data that are accurate and valuable for more investigation. The dataset supplied is unrefined and will include a bogus datagram and insufficient data. It has been cleaned and standardized to remove recurrent and duplicate sounds and insufficient data. Due to the huge size of the records, specimen compression procedures must be used. Because there are so many characteristics in this dataset, image retrieval techniques are required to filter out the ones that aren't important.

The dataset may be normalized during the pre-processing stage. Equation (1) defines the q-count in mathematical form as,

q=[(B-β )/τ]    (1)

Here, β expresses the mean of the information and τ hints at the standard deviation (33), and q is represented as,

q=B-B¯Sd    (2)

Here, B = mean of the specimen, and Sd points out the standard deviation of the specimens.

This is how the random specimen looks like:

qk=δ0+δ1Br+ρr    (3)

The defects that are depending on τ2 are represented by r.

Ensuring that, as seen below, the defects should not depend on one another.

tm~Utt2+u-1    (4)

Here, the t = random parameter.

After that, the standard deviation is used to standardize the variable's moves. The momentary scale deviation is calculated using the formula (5).

MMS=μmmsθmms    (5)

Here, momentary scale = mms.

μmms=Ex(B-β)ˆMMS    (6)

Here, B = random variable, and Ex = predicted values.

θmms=(Ex(B-β)ˆMMS)ˆ2    (7)
tu=mmsB¯    (8)

The coefficient of variance = tu.

By setting all of the parameters to 0 or 1, the characteristic scaling method will be terminated. This process is known as the unison-based normalizing approach. This is how the normalized formula would look:

B=(t-tmin)(tmax-tmin)    (9)

After the data has been normalized, the statistics may be retained, and the length and irregularity of the data can be preserved. The goal of this step is to reduce or eliminate information repeats. After that, the normalized data may be utilized for further processing.

Feature Extraction Using Variational Autoencoder

VAE is a deep Bayesian architecture that incorporates neural network models and analytics. It also forces the underlying signals to pursue a specified allocation, like the Gaussian distribution, instead of the typical auto-encoder. This change improves the learned aspects' ability to meet the demands of our target.

The VAE's entire layout is depicted in Figure 3. The fundamental principle of VAE is introduced in this phase. The encoder component of the neural network is supposed to show the conditional probability as,

Et=(u|f)    (10)

Here, f = authentic information; t = encoder's weight; u = inherent codes.

FIGURE 3
www.frontiersin.org

Figure 3. Framework of VAE.

Dissimilar to other auto-encoders, the VAE pushes the underlying codes “u” dispersion to resemble a conventional normal distribution. The underlying codes have persistent analytical features, making the decoder easier to use and our operation more efficient. The decoder then uses the underlying codes to obtain the model information. A neural network with weight, for example, “γ” indicates a conditional probability,

Pγ=(f|u)    (11)

A new VAE technique must be implemented. The decoder's sources are taken from the distribution of underlying codes to maintain ambiguity within the networks. The encoder is then programmed to produce two factors: the underlying codes' average and deviation vector. The two factors are then used to create a normal distribution to select a signal for the decoder.

Feature Selection Using Multi-Gradient Ant Colony Optimization

The feature selection challenge could be framed as an MG-ACO issue. An issue must be represented graphically in MG-ACO as depicted in Figure 4. The edges between nodes reflect the decision of another characteristic, while the nodes themselves indicate characteristics. The search for the perfect feature subset proceeds like an ant transit through the structure, terminating when the smallest nodes are visited to meet the traverse terminating condition. The ant gets presently at node ‘a’ and can add which characteristic to its pathway ahead (dotted lines). Depending on the transition criterion, it selects characteristic b next, following c, and finally d. The present subset [a; b; c; d] gets evaluated to fulfill the traverse termination requirement when arriving at d. The ant finishes its traverse and delivers this characteristic subset as an information reduction candidate.

FIGURE 4
www.frontiersin.org

Figure 4. Layout of MG-ACO problem.

Any subset assessment task, such as an entropy-based measurement, a rough set dependency test, or FDR (“Fisher Discrimination Rate”), will be used as an appropriate heuristic for transiting among characteristics. The probabilistic transition criterion, which denotes the probability of an ant at characteristic “i” deciding to move to feature j at period t, is formed by combining the heuristic attractiveness of traversal with edge pheromone amounts.

pijk(t)={[τij(t)]α·[ηij]βlϵJik[τij(t)]α·[ηij]β   if jϵJik0                                                      otherwise    (12)

Here, k = no. of ants, ηij = heuristic desirability of selecting feature “j” while at feature “i”, Jik = collection of neighbor nodes of node “i” that the ant has not yet explored, and τij(t) = quantity of virtual pheromone present upon that edge (i,j).

And also, the proportional significance of the pheromone score and heuristic information was determined by two variables: alpha and beta, and values of both are greater than zero.

Figure 5 depicts the process flow of MG-ACO. The procedure starts with generating a great number of ants, k, which would then be arbitrarily arranged upon that graph. Instead, the number of ants to arrange on the graph could be specified as the same number as the number of features inside the data, with every ant initiating pathway creation at a distinctive characteristic. They traverse edges based on probabilities from such starting places until a traversal termination requirement is fulfilled. The subsets that arise are then collected and assessed. The procedure stops and delivers the greatest feature subset observed even when an excellent subset was already discovered, or the technique has run a given number of times. If neither of these conditions is met, the pheromone was adjusted, a new group of ants is formed, and the cycle continues.

FIGURE 5
www.frontiersin.org

Figure 5. Procedure of MG-ACO.

The equation for updating the pheromone on every edge is represented as:

τij(t+1)=(1-ρ).τij(t)+ρ.Δτij(t)    (13)

Where

Δτij(t)=k = 1n(γ´(Sk)|Sk|)    (14)

If indeed the edge (i;j) was already visited, Δτij(t) represents 0; alternatively, ρ = decay constant has been used to mimic pheromone dispersal within the range [0, 1], and Sk = feature sub-set discovered by ant ‘k’. The pheromone is modified depending on the size of the ant's feature subset (γ′) and the assessment of its quality. Every ant modifies the pheromone through this concept.

Cognitive Fuzzy K-Nearest Neighbor

Standard Euclidean distance “D (a, b)” has been utilized to estimate the difference between the training and test examples. The following equation calculates it:

D(ai, aj)=(mr(ai)-mr(aj))2    (15)

To assess the class of a training example in the testing dataset, KNN calculates the most common type of K closest neighbor to the test data. The following equation is described:

c(a)=argmaxc  Ci = 1kL(c, c(bi))    (16)

Here, k = amount of neighbors, yk = Kth nearest neighbor of a particular test instance of the test dataset, C = finite set of class labels and L(c, c(bi)) is equal to “one” when c = c(bi) and L(c, c(bi)) is equal to zero in other cases.

When using the KNN classifier, one of the biggest issues is that every sampled data is given equal weight when assigning a class label to the raw data. This creates an issue if the samples are too close together. When an input sample has been granted a class label, there is no way to tell how strong it belongs to that particular class. CF-KNN solves two problems with the traditional KNN algorithm. The CF-KNN exceeds the more classic KNN approach as a mere fuzzy version. Algorithm 1 depicts the procedure, and Figure 6 depicts the flow process of the CF-KNN technique.

ALGORITHM 1
www.frontiersin.org

Algorithm 1. Procedure of CF-KNN.

FIGURE 6
www.frontiersin.org

Figure 6. Flow process of CF-KNN.

Tree C4.5 (T-C4.5) Algorithm

There are nodes and edges inside a resolution tree (DT). It is an element of the DT procedure employed in supervised learning. The development of the decision tree and the construction of the guidelines is the two primary components of the C4.5 overall (arrangement and intent). Determine the entropy and gain for the feature that has the most value in the selection.

A decision tree can be generated using the Tree C4.5 technique in 4 stages. The feature is the first root. A branch is generated for each value. Finally, add the database to the branch. Fourth, keep repeating the second step when the same value is found in each class.

Entropy (R)=i = 1n-wi* log2wi    (17)

Here, R = entropy and w = percentage in the output.

This is followed by using a root feature with a large gain rate.

Gain(C,F)= Entropy(R)i = 1n|Ci||C|*Entropy(R)    (18)

Here, C = collection of cases, F = feature of the case, |C| = amount of cases in the collection, and |Ci| = amount of cases to “i”.

As seen in Algorithm 2, the pseudo-code for Tree C4.5 can be found there.

ALGORITHM 2
www.frontiersin.org

Algorithm 2. Procedure of T-C4.5.

Fitness-Based Logistic Regression Analysis

The primary goal of a fitness function would be to examine the effectiveness of every solution that is put out for consideration. Regression representations were tested using the outcome from F-LRA:

H(z)=h1+h    (19)

Where z = 1.

Here, H(z) = probability and z = 1.

g=β0+β1u1+β2u2+..βkuk    (20)

Here, the cognitive test values are expressed in the cognitive test values, the g = linear function of explanatory factors, u = number of independent feature/variables, and that variable.

The AUC (“area under the ROC curve”) has been employed as a fitness metric in this experiment. Whenever it comes to the selection of features, this fitness function does a good job. However, it prefers to pick bigger sets of features. For this investigation, fewer variables in the study were chosen to obtain prediction performance and are comparable to those of the bigger sets. As a result, fewer variable collections are more useful since they are simpler to understand and evaluate. Smaller feature collections could be gathered more regularly because they are simpler, quicker, and far less expensive.

A penalty is added toward the fitness function to make it easier to identify limited selected features that seem to be significantly predictive:

fitness=AUC+q-qrm    (21)

Here, r = amount of active variables, m = amount of features, and q = compromise element.

It is achievable to diminish the numeral of variables by adjusting the ROC fitness offsets, which we're talking about here.

Performance Analysis

In this section, the investigation of our work is explained, and certain performance metrics like learning interest, learning accuracy, sensitivity, specificity, and error rate are also assessed through the below-mentioned calculations and indicate the efficacy of the planned technique for the prediction of student's mental health status by applying AI. These metrics are depicted as outcomes using the MATLAB tool in the graphical representations. The legal education student's data are taken as datasets in this research. The pre-processing stage is carried out to standardize/balance the given datasets through normalization techniques to remove unwanted outliers/noises. The normalized data is performed in further processes like feature extraction, feature selection, and AI application to anticipate the psychological health status of legal education students. Here, the proposed technique is used to predict the mental health status of legal students. Our proposed technique is performed and also matched with other standard techniques such as BP-neural network (34), ANOVA (35), and Bayesian-BP branch (36), and VGG-19 (32). The metrics mentioned above are determined with both the proposed and standard techniques.

A student's mental health status can be classified as either a positive or negative event. We divided the dataset into four trials [i.e., “true positive,” “true negative,” “false positive,” and “false negative”]. Our proposed algorithm forecasts the data individually; therefore, we arrange them as per their prediction findings and then use the data as good instances. In this section, certain metrics like learning interest, learning accuracy, sensitivity, specificity, and error rate are assessed for our proposed work for predicting the student's mental health status. These metrics are expressed below.

Learning Accuracy (A)

Learning accuracy provides the categorization with the required information of the health status. Figure 7 depicts the comparison of learning accuracy with proposed and existing techniques for predicting students' mental health status by applying the AI model. By employing the below calculation, we accomplish the greatest learning accuracy than the existing techniques.

A=(T+U)(T+U+V+W)    (22)

Here, true positive = T = amount of right forecasts of a positive sample, true negative = U = amount of right forecasts of a negative sample, false positive = V = amount of wrong forecasts of a positive sample, and false negative = W = amount of wrong forecasts of a negative sample.

FIGURE 7
www.frontiersin.org

Figure 7. Comparison of learning accuracy with proposed and existing techniques.

Specificity (B)

The effectiveness of a method to forecast the true negatives of every specified student's health status is measured by its specificity. Figure 8 depicts the comparison of specificity with proposed and existing techniques for predicting students' mental health status by applying the AI model. By employing the below calculation, we accomplish the greatest specificity of the existing techniques.

B=UU+V
FIGURE 8
www.frontiersin.org

Figure 8. Comparison of specificity with proposed and existing techniques.

Sensitivity (C)

Sensitivity is the statistic that measures a model's potential to anticipate a true positive in every specified student's health status. Figure 9 depicts the comparison of sensitivity with proposed and existing techniques for predicting students' mental health status by applying the AI model. By employing the below calculation, we accomplish the greatest sensitivity than the existing techniques.

C=tptp+fn
FIGURE 9
www.frontiersin.org

Figure 9. Comparison of sensitivity with proposed and existing techniques.

Error Rate (D)

The error rate seems to result from incorrectly anticipated outcomes and is represented in percentages. Figure 10 depicts the error rate comparison with proposed and existing techniques for predicting students' mental health status by applying the AI model. By employing the below calculation, we accomplish the smallest error rate than the existing techniques.

D=measured value-predicted value predicted value×100
FIGURE 10
www.frontiersin.org

Figure 10. Comparison of error rate with proposed and existing techniques.

Learning Interest

Students' interest in AI is defined in learning as their ability to interact with that subject matter without any difficulty readily. Figure 11 depicts the student's learning interest in the proposed technique for predicting a student's mental health status by applying the AI model. By employing the below calculation, we get students' learning interest rate in different cases like “totally inconsistent. The comparison doesn't match, not sure, more in line with, totally suitable.”

FIGURE 11
www.frontiersin.org

Figure 11. Learning interest.

Efficiency

A student's efficiency in AI is defined as being efficient as a condition or attribute. Figure 12 depicts the student efficiency of the planned technique for predicting students' mental health status by applying the AI model.

FIGURE 12
www.frontiersin.org

Figure 12. Comparison of efficiency with proposed and existing techniques.

Satisfaction

Student satisfaction in AI is described as a quick mindset arising from assessing the learning program, activities, and facilities provided to students. Figure 13 depicts the student's satisfaction with the proposed technique for predicting the student's mental health status by applying the AI model.

FIGURE 13
www.frontiersin.org

Figure 13. Comparison of satisfaction of proposed and existing techniques.

Conclusion

The ability and legality of young adults may now be identified through law enforcers at this point. Understanding that institutions possess sensible legislation enables pupils to investigate health and life advancement properly. They got picked out legally owned guns to protect them and college kids against assaults and boost their sense of safety. Law students were able to learn and achieve together to improve their legal awareness, develop legal awareness, fight against regulations and violations, and execute the nation's efficient guide with law. Thus, the CF-KNN approach was presented to anticipate students' legal awareness and mental health status through AI usage. Firstly, the legal education student's datasets were carried out and pre-processed by employing the normalization approach and variational autoencoder (VAE). Correspondingly, multi-gradient ant colony optimization (MG-ACO) approaches were utilized to retrieve the features and select the feature sub-sets in feature extraction and feature selection stages. The exploration of our work is explained in performance analysis and specific performance metrics such as learning interest, learning accuracy, sensitivity, and specificity. Error rates are also assessed through calculations, indicating the efficiency of the proposed methodology for predicting student mental health status using AI. The proposed work is examined and compared with classical techniques to gain our work with the greatest effectiveness. Findings are depicted in chart formation by employing the MATLAB tool. T-C4.5 and F-LRA techniques were applied to assess adolescents' mental health conditions. Lastly, our suggested technique was allied to the other existing techniques to accomplish our work with supreme effectiveness through applying the AI model.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics Statement

Ethical review and approval was not required for the study on human participants in accordance with the local legislation and institutional requirements. The patients/participants provided their written informed consent to participate in this study.

Author Contributions

The author confirms being the sole contributor of this work and has approved it for publication.

Conflict of Interest

The author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Srividya M, Mohanavalli S, Bhalaji N. Behavioral modeling for mental health using machine learning algorithms. J Med Syst. (2018) 42:1–12. doi: 10.1007/s10916-018-0934-5

PubMed Abstract | CrossRef Full Text | Google Scholar

2. Min MO, Yoon D, Minnes S, Ridenour T, Singer LT. Profiles of individual assets and mental health symptoms in at-risk early adolescents. J Adolesc. (2019) 75:1–11. doi: 10.1016/j.adolescence.2019.06.012

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Kim AW, Nyengerai T, Mendenhall E. Evaluating the mental health impacts of the COVID-19 pandemic: perceived risk of COVID-19 infection and childhood trauma predict adult depressive symptoms in urban South Africa. Psychol Med. (2020) 1–13. doi: 10.1017/S0033291720003414

PubMed Abstract | CrossRef Full Text | Google Scholar

4. Chen IY, Szolovits P, Ghassemi M. Can AI help reduce disparities in general medical and mental health care? AMA J Ethics. (2019) 21:167–79. doi: 10.1001/amajethics.2019.167

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Bickman L. Improving mental health services: a 50-year journey from randomized experiments to artificial intelligence and precision mental health. Administr Policy Ment Health Ment Health Serv Res. (2020) 47:795–843. doi: 10.1007/s10488-020-01065-8

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Fouad H, Hassanein AS, Soliman AM, Al-Feel H. Analyzing patient health information based on IoT sensor with AI for improving patient assistance in the future direction. Measurement. (2020) 159:107757. doi: 10.1016/j.measurement.2020.107757

CrossRef Full Text | Google Scholar

7. Vrontis D, Christofi M, Pereira V, Tarba S, Makrides A, Trichina E. Artificial intelligence, robotics, advanced technologies and human resource management: a systematic review. Int J Hum Resour Manag. (2022) 33:1237–66. doi: 10.1080/09585192.2020.1871398

CrossRef Full Text | Google Scholar

8. Zhang X, Wang R, Sharma A, Deverajan GG. Artificial intelligence in cognitive psychology—Influence of literature based on artificial intelligence on children's mental disorders. Aggress Violent Behav. (inpress) 101590. doi: 10.1016/j.avb.2021.101590

CrossRef Full Text | Google Scholar

9. Lee EE, Torous J, De Choudhury M, Depp CA, Graham SA, Kim C, et al. Artificial intelligence for mental health care: clinical applications, barriers, facilitators, artificial wisdom. Biol Psychiatry Cogn Neurosci Neuroimaging. (2021) 6:856–64. doi: 10.1016/j.bpsc.2021.02.001

PubMed Abstract | CrossRef Full Text | Google Scholar

10. Kubiak S, Shamrova D, Comartin E. Enhancing knowledge of adolescent mental health among law enforcement: implementing youth-focused crisis intervention team training. Eval Program Plann. (2019) 73:44–52. doi: 10.1016/j.evalprogplan.2018.11.006

PubMed Abstract | CrossRef Full Text | Google Scholar

11. Singh S, Roy D, Sinha K, Parveen S, Sharma G, Joshi G. Impact of COVID-19 and lockdown on mental health of children and adolescents: a narrative review with recommendations. Psychiatry Res. (2020) 293:113429. doi: 10.1016/j.psychres.2020.113429

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Carney R, Firth J, Pedley R, Law H, Parker S, Lovell K. The clinical and behavioral cardiometabolic risk of children and young people on mental health inpatient units: a systematic review and Meta-analysis. Gen Hosp Psychiatry. (2021) 70:80–97. doi: 10.1016/j.genhosppsych.2021.03.007

PubMed Abstract | CrossRef Full Text | Google Scholar

13. Duan L, Shao X, Wang Y, Huang Y, Miao J, Yang X, et al. An investigation of mental health status of children and adolescents in china during the outbreak of COVID-19. J Affect Disord. (2020) 275:112–18. doi: 10.1016/j.jad.2020.06.029

PubMed Abstract | CrossRef Full Text | Google Scholar

14. Belenko S, Knight D, Wasserman GA, Dennis ML, Wiley T, Taxman FS, et al. The Juvenile Justice Behavioral Health Services Cascade: a new framework for measuring unmet substance use treatment services needs among adolescent offenders. J Subst Abuse Treat. (2017) 74:80–91. doi: 10.1016/j.jsat.2016.12.012

PubMed Abstract | CrossRef Full Text | Google Scholar

15. Li J. A study on the application of music education to improve college students' mental health in the context of 5G. Wireless Commun Mobile Comput. (2021) 2021:5423459. doi: 10.1155/2021/5423459

CrossRef Full Text | Google Scholar

16. Zhang J. A study on mental health assessments of college students based on triangular fuzzy function and entropy weight method. Math Problems Eng. (2021) 2021:6659990. doi: 10.1155/2021/6659990

CrossRef Full Text | Google Scholar

17. Cai L. A novel recognition model of university students' psychological crisis based on DM. Sci Program. (2022) 2022: 8908848. doi: 10.1155/2022/8908848

CrossRef Full Text | Google Scholar

18. Huang P. A mental disorder prediction model with the ability of deep information expression using convolution neural networks technology. Sci Program. (2022) 2022:4664102. doi: 10.1155/2022/4664102

CrossRef Full Text | Google Scholar

19. Mody RN, Bhoosreddy AR. Multiple odontogenic keratocysts: a case report. Ann Dent. (1995) 54:41–3.

Google Scholar

20. Garg H. Digital twin Technology: revolutionary to improve personalized healthcare. Sci Prog Res. (2021) 1:33–5. doi: 10.52152/spr/2021.105

CrossRef Full Text | Google Scholar

21. Huang SK, Ho YL, Chang YS. Prescriptions of traditional Chinese medicine, western medicine, and integrated Chinese–Western medicine for allergic rhinitis under the National Health Insurance in Taiwan. J Ethnopharmacol. (2015) 173:212–16. doi: 10.1016/j.jep.2015.06.051

PubMed Abstract | CrossRef Full Text | Google Scholar

22. Shahabaz A, Afzal M. Implementation of high dose rate brachytherapy in cancer treatment. SP2021 R. (2021) 1:77–106. doi: 10.52152/spr/2021.121

PubMed Abstract | CrossRef Full Text

23. Li Z. Treatment and technology of domestic sewage for improvement of rural environment in China-Jiangsu: A research. SPR. (2022) 2:466–75. doi: 10.52152/spr/2021.168

CrossRef Full Text

24. Salihu SO, Iyya Z. Assessment of physicochemical parameters and organochlorine pesticide residues in selected vegetable farmlands soil in Zamfara state, Nigeria. Sci Prog Res. (2022) 2:489–96. doi: 10.52152/spr/2021.171

CrossRef Full Text | Google Scholar

25. Rao F, Cao W, Huang J, Sivapragash C. Artificial neural network-based psychological assessment model for predicting the mental health problem in children facing psychological abuse and depression. Aggress Viol Behav. (inpress) 101711. doi: 10.1016/j.avb.2021.101711

CrossRef Full Text | Google Scholar

26. Li M. Artificial intelligence and ethical wisdom education of college students against the background of the internet. In: 2021 International Conference on Big Data Analytics for Cyber-Physical System in Smart City. Shanghai (2022). p. 843–51.

Google Scholar

27. Li R, Wang X, Lawler K, Garg S, Bai Q, Alty J. Applications of Artificial Intelligence to aid detection of dementia: a scoping review on current capabilities and future directions. J Biomed Inform. (2022) 127:104030. doi: 10.1016/j.jbi.2022.104030

PubMed Abstract | CrossRef Full Text | Google Scholar

28. Li F, Sun H, Biswal BB, Sweeney JA, Gong Q. Artificial intelligence applications in psychoradiology. Psychoradiology. (2021) 1:94–107. doi: 10.1093/psyrad/kkab009

CrossRef Full Text | Google Scholar

29. Welch V, Wy TJ, Ligezka A, Hassett LC, Croarkin PE, Athreya AP, et al. Use of mobile and wearable artificial intelligence in child and adolescent psychiatry: scoping review. J Med Internet Res. (2022) 24:e33560. doi: 10.2196/33560

PubMed Abstract | CrossRef Full Text | Google Scholar

30. Malek M. Criminal courts' artificial intelligence: the way it reinforces bias and discrimination. AI Ethics. (2022) 2:1–13. doi: 10.1007/s43681-022-00137-9

CrossRef Full Text | Google Scholar

31. Liu H, Xu J. Research on the use of neural network for the prediction of college students' mental health. Sci Program. (2022) 2022:5759239. doi: 10.1155/2022/5759239

PubMed Abstract | CrossRef Full Text | Google Scholar

32. Gao Y, Li LP, Kim JH, Congdon N, Lau J, Griffiths S. The impact of parental migration on health status and health behaviours among left behind adolescent school children in China. BMC Public Health. (2010) 10:1–10. doi: 10.1186/1471-2458-10-56

PubMed Abstract | CrossRef Full Text | Google Scholar

33. Liang X, Hao G, Xiao L, Luo S, Zhang G, Tang X, et al. Association between extraversion personality with the blood pressure level in adolescents. Front Cardiovasc Med. (2022) 9:711474. doi: 10.3389/fcvm.2022.711474

PubMed Abstract | CrossRef Full Text | Google Scholar

34. Cheng C, Chen W, Li A. Research on the cultivation and promotion of college students' legal quality and legal knowledge based on deep learning. Wireless Commun Mobile Comput. (2021) 2021:8647298. doi: 10.1155/2021/8647298

CrossRef Full Text | Google Scholar

35. Omeh CB, Olelewe CJ. Assessing the effectiveness of innovative pedagogy and lecture method on students academic achievement and retention in computer programming. Educ Res Int. (2021) 2021:5611033. doi: 10.1155/2021/5611033

CrossRef Full Text | Google Scholar

36. Li K, Yu W. A mental health assessment model of college students using intelligent technology. Wireless Commun Mobile Comput. (2021) 2021:7485796. doi: 10.1155/2021/7485796

CrossRef Full Text | Google Scholar

Keywords: artificial intelligence, legal knowledge, cognitive fuzzy K-nearest neighbor, variational autoencoder, fitness-based logistic regression analysis, MATLAB tool

Citation: Liu H (2022) Applications of Artificial Intelligence to Popularize Legal Knowledge and Publicize the Impact on Adolescents' Mental Health Status. Front. Psychiatry 13:902456. doi: 10.3389/fpsyt.2022.902456

Received: 23 March 2022; Accepted: 21 April 2022;
Published: 26 May 2022.

Edited by:

Muhammad Ibrahim Abdullah, COMSATS University Islamabad, Pakistan

Reviewed by:

Jasim Tariq, Iqra University, Pakistan
Ghulam Rasool, Zhejiang University, China

Copyright © 2022 Liu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Hao Liu, liuhao19983@126.com

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.