<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="review-article" dtd-version="2.3">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Psychol.</journal-id>
<journal-title>Frontiers in Psychology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Psychol.</abbrev-journal-title>
<issn pub-type="epub">1664-1078</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fpsyg.2022.1066317</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Psychology</subject>
<subj-group>
<subject>Review</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Machine learning in biosignals processing for mental health: A narrative review</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Sajno</surname>
<given-names>Elena</given-names>
</name>
<xref rid="aff1" ref-type="aff"><sup>1</sup></xref>
<xref rid="aff2" ref-type="aff"><sup>2</sup></xref>
<xref rid="c001" ref-type="corresp"><sup>&#x002A;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1711739/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Bartolotta</surname>
<given-names>Sabrina</given-names>
</name>
<xref rid="aff3" ref-type="aff"><sup>3</sup></xref>
<xref rid="aff4" ref-type="aff"><sup>4</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1700373/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Tuena</surname>
<given-names>Cosimo</given-names>
</name>
<xref rid="aff5" ref-type="aff"><sup>5</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/419652/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Cipresso</surname>
<given-names>Pietro</given-names>
</name>
<xref rid="aff5" ref-type="aff"><sup>5</sup></xref>
<xref rid="aff6" ref-type="aff"><sup>6</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/50919/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Pedroli</surname>
<given-names>Elisa</given-names>
</name>
<xref rid="aff7" ref-type="aff"><sup>7</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/195140/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Riva</surname>
<given-names>Giuseppe</given-names>
</name>
<xref rid="aff1" ref-type="aff"><sup>1</sup></xref>
<xref rid="aff5" ref-type="aff"><sup>5</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/126074/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Humane Technology Lab</institution>, <addr-line>Universit&#x00E0; Cattolica del Sacro Cuore, Milan</addr-line>, <country>Italy</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Computer Science, University of Pisa</institution>, <addr-line>Pisa</addr-line>, <country>Italy</country></aff>
<aff id="aff3"><sup>3</sup><institution>ExperienceLab, Universit&#x00E0; Cattolica del Sacro Cuore</institution>, <addr-line>Milan</addr-line>, <country>Italy</country></aff>
<aff id="aff4"><sup>4</sup><institution>Department of Psychology, Universit&#x00E0; Cattolica del Sacro Cuore</institution>, <addr-line>Milan</addr-line>, <country>Italy</country></aff>
<aff id="aff5"><sup>5</sup><institution>Applied Technology for Neuro-Psychology Lab, IRCCS Istituto Auxologico Italiano</institution>, <addr-line>Milan</addr-line>, <country>Italy</country></aff>
<aff id="aff6"><sup>6</sup><institution>Department of Psychology, University of Turin</institution>, <addr-line>Turin</addr-line>, <country>Italy</country></aff>
<aff id="aff7"><sup>7</sup><institution>Department of Psychology, eCampus University</institution>, <addr-line>Novedrate</addr-line>, <country>Italy</country></aff>
<author-notes>
<fn id="fn0001" fn-type="edited-by"><p>Edited by: Camilo E. Valderrama, University of Winnipeg, Canada</p></fn>
<fn id="fn0002" fn-type="edited-by"><p>Reviewed by: Sheng-Hsiou Hsu, University of California, San Diego, United States; Omar Mendoza Montoya, Monterrey Institute of Technology and Higher Education (ITESM), Mexico</p></fn>
<corresp id="c001">&#x002A;Correspondence: Elena Sajno, &#x02709; <email>elena.sajno@phd.unipi.it</email></corresp>
<fn id="fn0003" fn-type="other"><p>This article was submitted to Emotion Science, a section of the journal Frontiers in Psychology</p></fn>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>01</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>13</volume>
<elocation-id>1066317</elocation-id>
<history>
<date date-type="received">
<day>10</day>
<month>10</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>16</day>
<month>12</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2023 Sajno, Bartolotta, Tuena, Cipresso, Pedroli and Riva.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Sajno, Bartolotta, Tuena, Cipresso, Pedroli and Riva</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>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.</p>
</license>
</permissions>
<abstract>
<p>Machine Learning (ML) offers unique and powerful tools for mental health practitioners to improve evidence-based psychological interventions and diagnoses. Indeed, by detecting and analyzing different biosignals, it is possible to differentiate between typical and atypical functioning and to achieve a high level of personalization across all phases of mental health care. This narrative review is aimed at presenting a comprehensive overview of how ML algorithms can be used to infer the psychological states from biosignals. After that, key examples of how they can be used in mental health clinical activity and research are illustrated. A description of the biosignals typically used to infer cognitive and emotional correlates (e.g., EEG and ECG), will be provided, alongside their application in Diagnostic Precision Medicine, Affective Computing, and brain&#x2013;computer Interfaces. The contents will then focus on challenges and research questions related to ML applied to mental health and biosignals analysis, pointing out the advantages and possible drawbacks connected to the widespread application of AI in the medical/mental health fields. The integration of mental health research and ML data science will facilitate the transition to personalized and effective medicine, and, to do so, it is important that researchers from psychological/ medical disciplines/health care professionals and data scientists all share a common background and vision of the current research.</p>
</abstract>
<kwd-group>
<kwd>biosignals</kwd>
<kwd>artificial intelligence</kwd>
<kwd>machine learning</kwd>
<kwd>mental health</kwd>
<kwd>neurology</kwd>
<kwd>precision medicine</kwd>
<kwd>affective computing</kwd>
<kwd>brain&#x2013;computer interfaces</kwd>
</kwd-group>
<contract-num rid="cn1">39C801_2018</contract-num>
<contract-sponsor id="cn1">Italian Ministry of Health</contract-sponsor>
<counts>
<fig-count count="4"/>
<table-count count="4"/>
<equation-count count="0"/>
<ref-count count="154"/>
<page-count count="24"/>
<word-count count="19273"/>
</counts>
</article-meta>
</front>
<body>
<sec id="sec1" sec-type="intro">
<label>1.</label>
<title>Introduction</title>
<p>Conventionally, mental health diagnoses require the health care professional to obtain patient&#x2019; information from narrative data (anamnesis and screening tools) and observation. On the one hand, these methodologies have the great advantage of allowing a qualitative assessment of the patients, allowing them to feel at the center of the treatment process and express themself. On the other hand, these methods are highly subjective, and therefore prone to possible incomplete or biased information (<xref ref-type="bibr" rid="ref106">Oscar, 2022</xref>). Furthermore, self-report tools can take a long time to administer and be time-consuming, leading to inefficiency (<xref ref-type="bibr" rid="ref138">Thabtah et al., 2018</xref>). These drawbacks can affect the medical journey in all steps, from providing the correct diagnosis to administering effective treatments. To overcome these limitations, there are two possible approaches equally suitable, and which can be implemented complementary: (1) simplify and add information to the self-reported data obtained by the patient; (2) use more objective clinical data, able to inform and monitor all the medical journey of the patient.</p>
<p>For the latter point, Machine Learning (ML) represents an optimal tool to partially overcome the limitations of solely using self-report data, by objectively determining which factors contribute the most to the informativeness of the clinical problem under investigation and integrating new information into the decision-making process. Indeed, ML proved to be effective in several clinical domains. It has been found that ML models enable the selection of those biomarkers that are the most prognostic of antidepressant treatment outcomes, thus overcoming the elusiveness and the complexity of the interrelation between different phenotypes related to depression, which typically do not allow a clinician to predict if a treatment will be effective or not (<xref ref-type="bibr" rid="ref9">Athreya et al., 2019</xref>). Or, again, ML algorithms allow the interpretation of EEG signals linked to specific brain activity (e.g., the activity of the motor/premotor cortex), to be used as inputs in Brain-Computer Interfaces (BCIs) applications (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>) as communicator systems for people with ALS (<xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>).</p>
<p>The ML-based analysis of biosignals would allow a more objective, autonomous, and automatic collection of a patient&#x2019;s clinical data, providing a detailed picture of a patient&#x2019;s health status (<xref ref-type="bibr" rid="ref106">Oscar, 2022</xref>). The vast trade in recent years of ever smaller, wireless, and battery-free biosignal collection tools (<xref ref-type="bibr" rid="ref135">Stuart et al., 2021</xref>) has resulted in greater advancement of biosensing research applied to the clinical field. Biosignals are physiological measures (e.g., electroencephalography, heart rate) indicative of not only physical states but also mental functions. The clinical applications that ML-based biosignals analysis entails are diverse, such as recognition and classification of abnormal patterns of brain functioning, recognition and classification of various affective and cognitive states, selection of the best treatment strategy for the specific situation, and so on.</p>
<p>Currently, ML models allow the collection and analysis of large amounts of biosignals (i.e., Big Data) that could represent interesting biomarkers of the brain and body functioning (i.e., sympathetic and parasympathetic system activation), and mental processes (<xref ref-type="bibr" rid="ref119">Riva et al., 2019</xref>). This will enable individual treatment strategies, transition to personalized, effective, and engaging medicine (<xref ref-type="bibr" rid="ref119">Riva et al., 2019</xref>), and potentially reshape the healthcare system by improving the quality overall of care (<xref ref-type="bibr" rid="ref77">Kalantari et al., 2018</xref>).</p>
<p>The purpose of this narrative review is to illustrate the ML applications to psychophysiological data analysis, deepening how ML techniques could bring new and interesting knowledge and open up new areas of discussion in the study of human mental health. First, an elucidation of different biosignals typically used to infer psychological correlates is provided, with a description of the relation between physiological data and mental functions (e.g., cognitive, emotional). An explanation of ML models (e.g., supervised, unsupervised), and issues associated with them (e.g., &#x201C;garbage-in garbage-out&#x201D;) are presented. Practical applications and experiments are then illustrated, to give the reader a complete overview of the possible clinical implementations of ML-based analysis of biosignals. We provide an in-depth analysis of the three principal areas in which ML analysis of biosignals has been applied to the mental health field: (1) diagnostic precision medicine, (2) Affective Computing and 3) BCIs. For each topic, we selected studies that have had the greatest impact in their field, as well as reviews on promising innovations. Finally, future challenges and research questions related to ML application in mental health areas are deepened.</p>
</sec>
<sec id="sec2">
<label>2.</label>
<title>Biosignals for mental health</title>
<p>A showcase of the biosignals most commonly used in psychological research and mental health contexts is illustrated in <xref rid="tab1" ref-type="table">Table 1</xref>. They were selected for their informativeness on the person&#x2019;s physiological activation and allow both to monitor the health status and to infer some psychological correlates. These biosignals are used in a variety of contexts to infer the implicit subject&#x2019;s responses to external and internal stimuli/changes associated with brain functioning or sympathetic/parasympathetic arousal changes, indicative, among others, of psychological states.</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>Description of biosignals more frequently used in mental health with their respective features and psychological correlates.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Biosignals</th>
<th align="left" valign="top">Features</th>
<th align="left" valign="top">Correlates</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top" rowspan="2">Cardiac signals recorded <italic>via</italic><break/>&#x2022; Electrocardiogram (ECG) the electrical activity signals of the heart, recorded on the body&#x2019;s surface<break/>&#x2022; Blood Volume Pulse (BVP) blood volume fluctuations, used analogously to ECG to infer heart activity. HR derived from BVP data has some milliseconds of latency, caused by calculations from the interbeat interval (<xref ref-type="bibr" rid="ref108">Peper et al., 2007</xref>) and the location in the body&#x2019;s periphery (e.g., the fingertips) where signals are collected.</td>
<td align="left" valign="top">Heart Rate (HR) is the measurement of the frequency of the heart activity cycle <xref ref-type="bibr" rid="ref154">Zhang and Zhang (2009)</xref>, counting the number of contractions (beats) the heart makes per minute (Beats per Minute) <xref ref-type="bibr" rid="ref108">Peper et al., 2007</xref>.</td>
<td align="left" valign="top">Related to Autonomic Nervous System activity (both parasympathetic and sympathetic) and breathing <xref ref-type="bibr" rid="ref84">Kreibig et al. (2007)</xref>; <xref ref-type="bibr" rid="ref109">P&#x00E9;rez et al. (2021)</xref>.<break/>HR rises in response to physical activity, mental activation, and emotions such as suspense and surprise. It is also linked to attentional focus <xref ref-type="bibr" rid="ref109">P&#x00E9;rez et al. (2021)</xref>.</td>
</tr>
<tr>
<td align="left" valign="top">Heart Rate Variability (HRV) calculates how the time intervals between one heartbeat and another vary, is correlated to variations in neurocardiac functions, and affected by the activity of the autonomic nervous system <xref ref-type="bibr" rid="ref128">Shaffer and Ginsberg (2017)</xref>. HRV features (i.e., frequency) are indicative of an individual&#x2019;s activation (<xref ref-type="bibr" rid="ref92">Malik et al., 1996</xref>; <xref ref-type="bibr" rid="ref107">Palma and Benarroch (2014)</xref>:<break/>&#x2022; very low frequency (VLF) - 0 - 0.04&#x2009;Hz;<break/>&#x2022; low frequency (LF) 0.04&#x2013;0.15&#x2009;Hz;<break/>&#x2022; high frequency (HF) 0.15 and 0.4&#x2009;Hz.</td>
<td align="left" valign="top">Increases in HRV show activation of the Parasympathetic Nervous System (SNP), while a decrease in HRV is correlated with increased sympathetic activation. <xref ref-type="bibr" rid="ref3">Akselrod et al. (1987)</xref>; <xref ref-type="bibr" rid="ref145">Van Ravenswaaij-Arts et al. (1993)</xref>; <xref ref-type="bibr" rid="ref84">Kreibig et al. (2007)</xref>; <xref ref-type="bibr" rid="ref108">Peper et al. (2007)</xref><break/>Findings link the HF components to SNP activity and the LF components to both the Sympathetic Nervous System (SNS) activity and to vagal&#x2019;s nerve influences <xref ref-type="bibr" rid="ref3">Akselrod et al. (1987)</xref>; <xref ref-type="bibr" rid="ref92">Malik et al. (1996)</xref>; <xref ref-type="bibr" rid="ref84">Kreibig et al. (2007)</xref>; <xref ref-type="bibr" rid="ref107">Palma and Benarroch (2014)</xref>.</td>
</tr>
<tr>
<td align="left" valign="top" rowspan="2">Respiratory Signals (RSPS) are measured through rhythm and depth of breath</td>
<td align="left" valign="top">RSPS contain four-phase cycles <xref ref-type="bibr" rid="ref16">Boiten et al. (1994)</xref>:<break/>&#x2022; inspiratory flow;<break/>&#x2022; inspiratory pause;<break/>&#x2022; expiratory flow;<break/>&#x2022; expiratory pause.</td>
<td align="left" valign="top">Stress can be detected by longer expiration times and shorter pause times. Meanwhile, other breathing parameters, such as frequency, amplitude, regularity, sighs, tremors, and thoracic tension, have been found to be emotionally distinct <xref ref-type="bibr" rid="ref16">Boiten et al. (1994)</xref>; <xref ref-type="bibr" rid="ref92">Malik et al. (1996)</xref>; <xref ref-type="bibr" rid="ref84">Kreibig et al. (2007)</xref>; <xref ref-type="bibr" rid="ref130">Shan et al. (2020)</xref>. Decreasing breathing frequency decreases HR (<xref ref-type="bibr" rid="ref36">Cooke et al., 1998</xref>)</td>
</tr>
<tr>
<td align="left" valign="top">Respiratory Sinus Arrhythmia (RSA) links respiration patterns to heart activity. RSA is characterized by an increase in HR during inspiration and a decrease during expiration. It shows influences on HRV (<xref ref-type="bibr" rid="ref50">Giggins et al., 2013</xref>; <xref ref-type="bibr" rid="ref107">Palma and Benarroch, 2014</xref>), and reaches its maximum level with 6 complete breaths per minute, where resonance between respiration and HR oscillations is reached (called Cardiac Coherence; <xref ref-type="bibr" rid="ref145">van Ravenswaaij-Arts et al., 1993</xref>; <xref ref-type="bibr" rid="ref15">Blum et al., 2019</xref>)</td>
<td align="left" valign="top">Slow-paced respiration boosts HRV and could be used for increasing relaxation <xref ref-type="bibr" rid="ref15">Blum et al. (2019)</xref>. Distance between beats (R&#x2013;R interval) and arterial pressure spectral power increase as breathing frequency decreases <xref ref-type="bibr" rid="ref36">Cooke et al. (1998)</xref></td>
</tr>
<tr>
<td align="left" valign="top">Temperature is measured with a &#x201C;thermistor,&#x201D; a thermal sensor.</td>
<td align="left" valign="top">The thermal sensor with a temperature range of about 24&#x2013;35&#x00B0; C is typically placed on the skin of the palmar surface of one finger, which temperature ranges from about 24 to 35&#x00B0; C (<xref ref-type="bibr" rid="ref153">Yucha and Montgomery (2008)</xref>.<break/>BVP can also be used to infer changes in peripheral temperature (<xref ref-type="bibr" rid="ref108">Peper et al. (2007)</xref>.</td>
<td align="left" valign="top">A rising in peripheral temperature, if not influenced by the environment temperature, correlates with general relaxation, while a lowering is linked to activation (<xref ref-type="bibr" rid="ref153">Yucha and Montgomery, 2008</xref><break/>Stress correlates with temperature differently depending on the position on the body (e.g., temperature decreases on the fingertips) (<xref ref-type="bibr" rid="ref149">Vinkers et al. (2013)</xref><break/>Slower and diaphragmatic breathing helps increase peripheral temperature (<xref ref-type="bibr" rid="ref108">Peper et al., 2007</xref>.</td>
</tr>
<tr>
<td align="left" valign="top">Electromyography (EMG) allows for the recording of electrical signals in muscles, which is proportional to the degree of contraction of the muscle itself.</td>
<td align="left" valign="top">The information about muscle contractions is primarily used by physical therapists for muscular and neurological rehabilitation, as well as to retrieve precise data on muscular activation (<xref ref-type="bibr" rid="ref153">Yucha and Montgomery (2008)</xref>. Useful inferences for Mental Health can be deducted by facial muscular activation (i.e., facial expressions), which is strongly related to emotional state (<xref ref-type="bibr" rid="ref42">Ekman and Rosenberg (2005)</xref></td>
<td align="left" valign="top">Activity of corrugator supercilii and zygomatic muscles are considered a reliable indicator of emotional states (<xref ref-type="bibr" rid="ref42">Ekman and Rosenberg, 2005</xref>; <xref ref-type="bibr" rid="ref84">Kreibig et al., 2007</xref>; <xref ref-type="bibr" rid="ref54">Gromala et al., 2015</xref>). Specifically, zygomaticus major and orbicularis oculi relate to positive emotions, whereas corrugator supercilii with negative ones (<xref ref-type="bibr" rid="ref23">Cacioppo et al. (2000)</xref>.</td>
</tr>
<tr>
<td align="left" valign="top">Electrodermal Activity (EDA) or Skin Conductance (SC) also known as &#x201C;skin conductance activity,&#x201D; or &#x201C;galvanic skin response,&#x201D; is calculated by detecting the electrical conductance of the skin between two sensors, placed on the palmar surface of two fingers, or in two places on the palm <xref ref-type="bibr" rid="ref153">Yucha and Montgomery (2008)</xref>.</td>
<td align="left" valign="top">EDA/SC components:<break/>- Background activity: Tonic components/SC Level;<break/>- Sympathetic neuronal activation: Rapid Phasic components/SC Responses.<break/><xref ref-type="bibr" rid="ref19">Braithwaite et al. (2013)</xref></td>
<td align="left" valign="top">Sweat gland activity causes changes in conductivity, which correlates with SNS activity: SC rises with negative emotions such as fear, worry, sadness, or anger, and falls as the subject relaxes <xref ref-type="bibr" rid="ref153">Yucha and Montgomery (2008)</xref>; <xref ref-type="bibr" rid="ref109">P&#x00E9;rez et al. (2021)</xref>.</td>
</tr>
<tr>
<td align="left" valign="top" rowspan="7">Electroencephalogram (EEG) detects electrical activity (expressed in microvolts) of the brain&#x2019;s cortical neurons <italic>via</italic> sensors applied to the scalp with conductive paste.</td>
<td align="left" valign="top">EEG is analyzed in terms of amplitude and synchronicity in both the time and frequency domains. EEG raw signal is usually subdivided by frequency (through methods like Fast Fourier transformation), facilitating the interpretation of brain activity and its psychological correlates (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>; <xref ref-type="bibr" rid="ref4">Al-Fahoum and Al-Fraihat, 2014</xref>).</td>
<td align="left" valign="top">EEG is frequently used to measure Event-Related Potentials (ERPs), defined as stereotyped electrophysiological responses strictly time-locked to a stimulus (<xref ref-type="bibr" rid="ref137">Sur and Sinha, 2009</xref>). ML algorithms have been successfully used to analyze acoustic ERPs for the early detection of schizophrenia disorder (<xref ref-type="bibr" rid="ref47">Frick et al., 2021</xref>). ML has been also optimally used to analyze ERPs components related to selective attention tasks for the detection of schizophrenia (<xref ref-type="bibr" rid="ref100">Neuhaus et al., 2011</xref>) and ERPs components acting as biomarkers of Substance Use Disorders treatment response (<xref ref-type="bibr" rid="ref65">Houston and Schlienz, 2018</xref>).<break/>Another EEG approach is Event-related desynchronization/synchronization (ERD/ERS), consisting in non-phase-locked decreases/increases of EEG in frequency bands linked to specific sensory, motor and cognitive processes (<xref ref-type="bibr" rid="ref112">Pfurtscheller, 1997</xref>. ERD and ERS can be observed in various brain sites at the same time, or in the same site at different times (e.g., ERD followed by an ERS; <xref ref-type="bibr" rid="ref112">Pfurtscheller, 1997</xref>). ERD and ERS are particularly interesting in Brain Computer Interfaces (BCIs) and Affective Computing applications (<xref ref-type="bibr" rid="ref1">Aftanas et al., 2001</xref>). Indeed, it has been found that the strength of ERD associated with physical motor execution (i.e., repetitive hand and grasping movements) might reflect time differences of hand coordination in the motor planning process or proprioception variation caused by hand movements (<xref ref-type="bibr" rid="ref98">Nakayashiki et al., 2014</xref>). This process can be optimally applied in BCI systems that make use of motor activity or mental motor imagery. On the other hand, ERD/ERS method with enhanced density recording is well suited for elucidating the temporal and topographical structure of affective processing in different frequency bands, thus providing a source for objective emotional processing recognition (<xref ref-type="bibr" rid="ref1">Aftanas et al., 2001</xref>).</td>
</tr>
<tr>
<td align="left" valign="top">Delta waves &#x03B4;&#x2014;0.5/1 to 2/4&#x2009;Hz</td>
<td align="left" valign="top">- Characteristic of deep sleep (especially during non-rem sleep phases N2 and N3) (<xref ref-type="bibr" rid="ref78">Kandel et al., 2021</xref>),<break/>- Connected with health recovery, hypothalamic function (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin (2013)</xref> and growth hormone release during sleep (<xref ref-type="bibr" rid="ref55">Gronfier et al. (1996)</xref>.<break/>- Predominant in EEG in infants (<xref ref-type="bibr" rid="ref37">Demos (2005)</xref>, decreases with age. (<xref ref-type="bibr" rid="ref34">Clarke et al. (2001)</xref><break/>- Alteration in the level of &#x03B4;-waves during wake is detected in people with ADHD, learning disorders, and obsessive&#x2013;compulsive disorder (<xref ref-type="bibr" rid="ref37">Demos (2005)</xref>; <xref ref-type="bibr" rid="ref134">Sroubek et al. (2013)</xref> and is related to dementia (<xref ref-type="bibr" rid="ref132">Soininen et al. (1982)</xref> and brain traumas (<xref ref-type="bibr" rid="ref51">Gloor et al., 1977</xref>; <xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).</td>
<td/>
</tr>
<tr>
<td align="left" valign="top">Theta waves &#x03B8;&#x2014;3/4 to 7/8&#x2009;Hz</td>
<td align="left" valign="top">- Present in N1 and N2 non-rem sleep phases (<xref ref-type="bibr" rid="ref78">Kandel et al., 2021</xref>).<break/>- Characterizes a state of drowsiness (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>).<break/>- Linked to moments of creativity, meditation, imagery, recollection of past memories, hypnosis, or inattention (<xref ref-type="bibr" rid="ref82">Klimesch, 1999</xref>; <xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).<break/>- Decreases with age (<xref ref-type="bibr" rid="ref34">Clarke et al., 2001</xref>; <xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).<break/>- Scarcity of &#x03B8; in the occipital lobe correlates with sleep disturbance, anxiety, and low resilience to stress or addiction (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>).<break/>- Increase in people with ADHD (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).</td>
</tr>
<tr>
<td align="left" valign="top">Alpha waves &#x03B1;&#x2014;8 to 12/13&#x2009;Hz</td>
<td align="left" valign="top">- Predominant when awake, typical of calm, idle, and focused relaxation. (<xref ref-type="bibr" rid="ref82">Klimesch, 1999</xref>; <xref ref-type="bibr" rid="ref78">Kandel et al., 2021</xref>)<break/>- Related to cognitive and intellectual performance. (<xref ref-type="bibr" rid="ref82">Klimesch, 1999</xref>)<break/>- Increases with age (<xref ref-type="bibr" rid="ref34">Clarke et al., 2001</xref>).<break/>- Declines or increases in relation to eyes open or closed (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).<break/>- Declines with age or reduced mental activity; can also be related to cognitive and memory impairment (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>).<break/>- Abnormal activity can be linked to attention problems, ADHD, and sleep disorders (<xref ref-type="bibr" rid="ref134">Sroubek et al., 2013</xref>).<break/>- Imbalance in &#x03B1; activity in the left frontal hemisphere is linked to depression (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).<break/>- Decrease of the lower alpha denotes attention, decrease in the upper alpha band is linked to semantic memory performance (<xref ref-type="bibr" rid="ref82">Klimesch, 1999</xref>).</td>
</tr>
<tr>
<td align="left" valign="top">Sensory Motor rhythm (SMR)&#x2014;12/13 to 15/16&#x2009;Hz</td>
<td align="left" valign="top">- Not a traditional division of wave bands, overlaps with high alpha and low beta.<break/>- Related to mental alertness, coupled with a still body (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>).<break/>- Linked to attentional processing (<xref ref-type="bibr" rid="ref41">Egner and Gruzelier, 2004</xref>).</td>
</tr>
<tr>
<td align="left" valign="top">Beta waves &#x03B2; 13/16 to 21/40&#x2009;Hz<break/>Low beta 13&#x2013;21&#x2009;Hz<break/>High beta 22&#x2013;35&#x2009;Hz</td>
<td align="left" valign="top">- Increased in adult age (<xref ref-type="bibr" rid="ref34">Clarke et al., 2001</xref>).<break/>- Linked to relaxed focus and analysis, with an orientation toward the external (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>).<break/>- Excessively protracted activation is registered in<break/>anxiety disorders, depression, obsessive&#x2013;compulsive disorder, attention deficit disorder (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>, chronic fatigue, and emotional volatility (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>.<break/>- Excessive activity during sleep has been found in insomnia (<xref ref-type="bibr" rid="ref110">Perlis et al., 2001</xref>).<break/>- Low &#x03B2; are related to focus, engagement, problem-solving (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>), and attentional processing (<xref ref-type="bibr" rid="ref41">Egner and Gruzelier, 2004</xref>).<break/>- High &#x03B2; correlate with concentration, high level of activation, attention, perception, cognition, and peak performance (<xref ref-type="bibr" rid="ref110">Perlis et al., 2001</xref>; <xref ref-type="bibr" rid="ref37">Demos, 2005</xref>), but also with anxiety and irritability and can relate to stress, anxiety, rumination, and obsessive thoughts, emotional intensity and hypervigilance (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>); <xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>).</td>
</tr>
<tr>
<td align="left" valign="top">Gamma waves &#x03B3; - 25/28&#x2009;Hz to 42/100&#x2009;Hz</td>
<td align="left" valign="top">- Related to cognitive efficiency in: learning, focus, insight, language comprehension, memory, (<xref ref-type="bibr" rid="ref28">Chapin and Russell-Chapin, 2013</xref>) attention, perception, and cognition (<xref ref-type="bibr" rid="ref110">Perlis et al., 2001</xref>; <xref ref-type="bibr" rid="ref44">Fitzgibbon et al., 2004</xref>).<break/>- Scarcity is related to learning disorders and mental deficits (<xref ref-type="bibr" rid="ref37">Demos, 2005</xref>), negative symptoms of schizophrenia, and Alzheimer&#x2019;s (<xref ref-type="bibr" rid="ref62">Herrmann and Demiralp, 2005</xref>), while abnormal activity is found in epilepsy and ADHD (<xref ref-type="bibr" rid="ref62">Herrmann and Demiralp, 2005</xref>).</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As shown in <xref rid="tab1" ref-type="table">Table 1</xref>, biosignals are an especially important source of information for neurosciences because they are associated with specific correlates (such as brain activation states), which provide us with a series of implicit information that would not be possible to obtain using self-report tools such as questionnaires. These signals can be used in both offline and online applications. Offline applications include all clinical applications that deal with analyzing biosignals after they have been registered, and that allow researchers or medical teams to make inferences about an individual&#x2019;s physical and mental state and, as a result, make decisions and diagnoses (<xref ref-type="bibr" rid="ref69">Insel, 2014</xref>). Online applications, on the other hand, imply the real-time use of biosignals. In these applications, the biosignals serves as feedback about the individuals&#x2019; physical/mental state to allow them to visualize and eventually modify their own activations to achieve specific goals, as happens in BCI. It should be noted that even data relating to biosignals collected in a matter of minutes represent a massive amount of information that is extremely complex and difficult to analyze. For this reason, ML is increasingly used to extract information from these data to make it understandable and usable for medical and psychological sciences.</p>
</sec>
<sec id="sec3">
<label>3.</label>
<title>How to apply machine learning and AI to mental health and biosignals analysis</title>
<p>As previously stated, ML is data-oriented, which means that it requires a dataset containing quantifiable features as input (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>), often called &#x201C;examples&#x201D; (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>) since they serve as cases from which the algorithm infer relevant rules/patterns. Following that, depending on the model, examples of desired output may be required, to measure the correctness of the algorithm (<xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>).</p>
<p>The first fundamental step in applying ML to biosignals is data collection and dataset preparation. In fact, in order to reduce the computational cost (i.e., resources and time), and ease model interpretability, the dataset should include the minimum viable data, namely only the significant variables that have been selected to answer a specific research question.</p>
<p>After careful data collection, the pre-processing phase, which is intended to clean the data and make them readable, will include (<xref ref-type="bibr" rid="ref68">Iniesta et al., 2016</xref>; <xref ref-type="bibr" rid="ref141">Tuena et al., 2022</xref>):</p>
<list list-type="bullet">
<list-item>
<p>Cleaning: data needs to be screened to identify missing or incoherent elements, which should be corrected or discharged. It should be mentioned that each physiological data (e.g., EEG) needs a specific signal-cleaning process, to remove noise and artifacts. These errors, due for example to muscular activity or electromagnetic interference, could be identified manually or through automated statistical thresholding algorithms (<xref ref-type="bibr" rid="ref94">Meisler et al., 2019</xref>).</p>
</list-item>
<list-item>
<p>Data reduction: additional feature reduction may be implemented to reach a &#x201C;minimum dataset.&#x201D; Features could be aggregated or eliminated through specific algorithms if not found meaningful for the prediction.</p>
</list-item>
<list-item>
<p>Data transformation: data might need to be scaled, decomposed, or aggregated. Physiological data are standardly analyzed in the time and frequency domains, which distinguish the spectral components in which raw data are usually transformed (<xref ref-type="bibr" rid="ref24">Camm et al., 1996</xref>).</p>
</list-item>
</list>
<p>All the described processes are carried out in order to avoid the well-known AI drawback of <italic>&#x201C;garbage in, garbage out,&#x201D;</italic> which refers to the possibility of including errors or noise in the model if the input dataset has not been cleaned appropriately. If the training data is &#x201C;garbage,&#x201D; the model will be trained and validated on non-representative or insufficient information, resulting in either a lack of generalizability or an incorrect (or biased) way of making predictions on new data. It must be emphasized that biases are often embodied in the human logic with which examples are chosen; an example of this phenomenon is the racial bias that might lead to the inclusion in the input dataset of information solely related to white people (<xref ref-type="bibr" rid="ref88">Ledford, 2019</xref>; <xref ref-type="bibr" rid="ref104">Obermeyer et al., 2019</xref>). If the model is intended to be used in other types of ethnicities, this bias will result in less generalizability and fairness. Therefore, a model can be considered effective not only if it achieves high levels of performance and accuracy, but also if the predictions it makes are inclusive and representative of various types of case studies.</p>
<sec id="sec4">
<label>3.1.</label>
<title>Training</title>
<p>Without explicit instructions, ML seeks to identify broad principles underlying a set of data through a process characterized by few formal assumptions (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>). ML algorithms are &#x201C;model agnostic&#x201D;: their structure and design are independent of the problem that they are going to face, and are chosen based on the empirical performance among general-purpose learning algorithms (<xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>).</p>
<p>As shown in <xref rid="fig1" ref-type="fig">Figure 1</xref>, different types of ML training can be implemented by the researchers, depending on their objectives and on the information on data available/provided to the algorithms (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>).</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>Machine learning (ML) family and respective different types of learnings.</p>
</caption>
<graphic xlink:href="fpsyg-13-1066317-g001.tif"/>
</fig>
<p>The term <italic>&#x201C;supervised learning&#x201D;</italic> refers to the idea of having someone instructing the machine about the characteristics of the data, on which the learning process is dependent: the input dataset should contain examples paired with labels or targets, which describe significant features of the linked data (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>). The algorithms following this learning principle are <italic>classifiers</italic> and <italic>regressors</italic>, which differ in terms of the output variable: classification algorithms&#x2019; outcomes are categories or classes, while regression algorithms predict continuous variables or probabilities (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>; <xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>; <xref ref-type="bibr" rid="ref73">James et al., 2021</xref>).</p>
<p>A similar kind of learning process is <italic>semi-supervised learning</italic>, in which the algorithms are trained on both labeled and unlabeled data (<xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>).</p>
<p>Conversely, in <italic>unsupervised learning</italic>, the data used to train the algorithms are completely unlabeled and there is no difference between the training and the test sets: the machine is left unsupervised in discovering patterns from the examples. The researcher is unaware of, or chooses not to disclose, additional information about the data: this approach may be advantageous in the exploratory phase of research, for example, when looking for similarities in physiological activation patterns during different behaviors (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>).</p>
<p>Lastly, in <italic>reinforcement learning</italic>, the algorithm is required to obtain a specific result (e.g., winning a game of Go), without receiving constraints on the choice of the actions which lead to the target. This model is mostly applied in games (e.g., DeepMind), currently lacking possible applications in other fields, such as clinical medicine (<xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>).</p>
<p><italic>Supervised models</italic>, wherein examples provided to the algorithm contain a label, are widely applicable to healthcare contexts, and clinical research and practice (<xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>; <xref ref-type="bibr" rid="ref141">Tuena et al., 2022</xref>). <xref ref-type="bibr" rid="ref74">Jiang et al. (2017)</xref> reviewed the ML algorithms applied in healthcare for imaging, genetics, and electrophysiological data: Support Vector Machine (SVM; 31%) and Neural Networks (NNs; 42%) are the most common (<xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>).</p>
<p><italic>Support Vector Machine (SVM)</italic> is used to divide subjects into two categories (<xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>); it classifies data by creating a linear or hyperplanar boundary, between them, then computes only the data closest to the border of the resulting distributions (the support vectors). The margins of the boundary and the degrees of misclassification can be balanced to reach a correct classification in the training set in order to correctly apply the algorithm to new unlabeled data (<xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref40">Dwyer et al., 2018</xref>).</p>
<p><italic>Neural Networks</italic> (NNs), or <italic>artificial NNs</italic>, are biologically inspired models structured in nodes (mimicking neurons&#x2019; bodies) and connections (mimicking axons and dendrites). This algorithm is able to discover complex non-linear relationships between input and the desired output data through multiple hidden layers (non-interpretable), modifying the weights of the connections among these layers to obtain the correct class prediction (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>; <xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>).</p>
<p><italic>Decision Trees</italic> algorithms are notable for their less complex interpretation and visualization, as they design a tree-shaped decision flow with if-then rules splitting the data at each node based on the thresholding value. Although some models are computationally expensive, these algorithms are particularly interpretable and can be a useful tool in neuroscience and biosignals processing for mental health. Random Forest and Gradient Boosting Machines can be thought of as extensions of decision trees (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>; <xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>; <xref ref-type="bibr" rid="ref30">Choi et al., 2020</xref>).</p>
<p>Among the <italic>unsupervised learning</italic> methods, clustering and Principal Component Analysis (PCA) are the most used in health, and in physiological patterns analysis (<xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>).</p>
<p><italic>Clustering</italic> consists in representing unlabeled data with similar features partitioned in multiple groups (clusters). Examples of clustering are k-Means clustering, in which data are divided into k non-overlapping groups starting with k different centroids (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>), and hierarchical clustering, in which data are modeled on a nested tree, through successive fine-grained non-overlapping divisions (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>).</p>
<p><italic>Principal Component Analysis (PCA)</italic> is used to reduce the number of dimensions, discarding less informative features, especially when the variables have a large number of dimensions. Data is projected in a few Principal Component (PC) directions, represented as vectors. PCA is applied for example in both genome studies and EEG recordings. Interestingly, different methodologies can be combined to extract more information from the data. PCA can be used to reduce the dimensions of the data (e.g., multimodal physiological data recordings from different biosensors), and then clustering can be used to group the resulting data (e.g., clustering subjects, patterns of activations, epochs with similar physiological correlates, etc.; <xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref67">Huys et al., 2016</xref>; <xref ref-type="bibr" rid="ref74">Jiang et al., 2017</xref>).</p>
</sec>
<sec id="sec5">
<label>3.2.</label>
<title>Validation and test</title>
<p>The logic behind both validation and test is one of the main points which could help behavioral and neuroscientific research to overcome criticism on replicability and reproducibility and improve the generalization of results (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>). Generalization is indeed one of the main aims of ML, but when ML models are trained repeatedly on the same data, they result in an excessive adaptation to the examples provided (a phenomenon called &#x201C;overfitting&#x201D;), losing reliability on new datasets, thus disproving the efficiency of the algorithm (<xref ref-type="bibr" rid="ref86">Kuhn and Johnson, 2013</xref>; <xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>). To avoid this problem, the initial data need to be divided into different datasets, one for the training, one for validation, and one for the test (<xref rid="fig2" ref-type="fig">Figure 2</xref>).</p>
<fig position="float" id="fig2">
<label>Figure 2</label>
<caption>
<p>Representation of the training, validation, and testing processes in order.</p>
</caption>
<graphic xlink:href="fpsyg-13-1066317-g002.tif"/>
</fig>
<p>From the original dataset is firstly extracted the test dataset; after that validation is performed through the creation of a further <italic>&#x201C;hold-out validation set&#x201D;</italic>: a bigger training dataset is used to proceed with the training, while a smaller <italic>held-out</italic> validation set is used to perform the evaluation of the learning. But since the held-out data could not be totally representative, the K-fold cross-validation approach is considered more accurate and is particularly effective when a large amount of training data is available. The initial data are divided into number K partitions (usually 10), then the training includes the data of all-minus-one partitions and the process is repeated with the remaining K&#x2013;1 partitions. Each repetition is called a fold; the final validation score will be the average of all the fold validations (<xref ref-type="bibr" rid="ref86">Kuhn and Johnson, 2013</xref>; <xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>; <xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref31">Chollet, 2017</xref>). Leave-one-out cross-validation is a subtype of k-fold validation that is used when the numbers of instances are equal to k, usually happening when a small dataset or small numerosity of a certain class is present (<xref ref-type="bibr" rid="ref152">Wong, 2015</xref>). This method is commonly used in biosignal registration studies when the stream of data (i.e., the psychophysiological recording) from each subject is large, but the subject&#x2019;s numerosity is scarce: the validation, therefore, leaves out an entire subject registration each fold (<xref ref-type="bibr" rid="ref116">Picard et al., 2001</xref>; <xref ref-type="bibr" rid="ref83">Koelstra et al., 2012</xref>; <xref ref-type="bibr" rid="ref133">Soleymani et al., 2012</xref>).</p>
<p>The test phase would also benefit from greater data availability: following the selection of the best model, the performance of the output predictor is assessed on the third set of data, kept aside before the learning phase, also known as the &#x201C;test set&#x201D; (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>) or &#x201C;holdout test set&#x201D; [suggested size is around 20% of the initial dataset (<xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>)]. The computed value is used as an estimate of the trained predictor&#x2019;s real error of the model (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>), providing a percentage of its accuracy, sensitivity, and specificity of its performance, or of its generalization error (<xref ref-type="bibr" rid="ref52">Goodfellow et al., 2016</xref>; <xref ref-type="bibr" rid="ref40">Dwyer et al., 2018</xref>). If the test phase fails, the researcher could intervene by enlarging the dataset, modifying the hypothesis, changing which features of the data were considered more representative, or modifying the chosen algorithms (<xref ref-type="bibr" rid="ref129">Shalev-Shwartz and Ben-David, 2014</xref>).</p>
<p>After the testing phase, to better evaluate the generalization capacity of the realized model, especially in the health sector, a substantial, representative, and a more current sample of data should be used to further test it in the actual world (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>).</p>
</sec>
</sec>
<sec id="sec6">
<label>4.</label>
<title>What AI, biosignals, and machine learning can do for mental health</title>
<p>Some actual applications of biosignals and ML in the mental health field are now provided, trying to showcase the potential and the various areas in which these technologies could be applied. The research articles reviewed in this section are summarized, in <xref rid="tab2" ref-type="table">Table 2</xref> (Diagnostic Precision Medicine), <xref rid="tab3" ref-type="table">Table 3</xref> (Affective Computing), and <xref rid="tab4" ref-type="table">Table 4</xref> (BCI).</p>
<table-wrap position="float" id="tab2">
<label>Table 2</label>
<caption>
<p>The milestones research studies in Diagnostic Precision Medicine.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Article and year</th>
<th align="left" valign="top">Topic</th>
<th align="left" valign="top">Experimental paradigm</th>
<th align="left" valign="top">No. of subjects</th>
<th align="left" valign="top">Biosignals</th>
<th align="left" valign="top">Feature selection modality</th>
<th align="left" valign="top">Classification</th>
<th align="left" valign="top">Validation</th>
<th align="left" valign="top">Accuracy</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref26">Chabot et al. (1996)</xref></td>
<td align="left" valign="top">Discrimination between ADD or ADHD, and SDLD in children</td>
<td align="left" valign="top">30&#x2009;min of rested eyes-closed EEG</td>
<td align="left" valign="top">407 ADD/ADHD, 127 SDLD, and 310 control children</td>
<td align="left" valign="top">30&#x2009;min of rested eyes-closed EEG</td>
<td align="left" valign="top">Not reported</td>
<td align="left" valign="top">Discriminant analyses (three-way discriminant and two-way discriminant)</td>
<td align="left" valign="top">Not reported</td>
<td align="left" valign="top">3-way 88.7% ADD/ADHD, 69% SDLD, and 76.1% control. 2-way 93.1% ADD/ADHD (97.0% new data), and 89.7% for SDLD (84.2% new data). The response to amphetamines in ADHD 75.6&#x2013;75.8%</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref96">Mueller et al. (2010)</xref>.</td>
<td align="left" valign="top">Discriminate adult ADHD subjects from healthy controls</td>
<td align="left" valign="top">74 ADHD, 74 controls</td>
<td align="left" valign="top">GO/NOGO paradigm</td>
<td align="left" valign="top">EEG and ERPs</td>
<td align="left" valign="top">Extraction from the independent components</td>
<td align="left" valign="top">Non-linear SVM</td>
<td align="left" valign="top">10-fold cross-validation</td>
<td align="left" valign="top">92% correct discrimination between ADHD and controls</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref143">Tzimourta et al. (2018)</xref></td>
<td align="left" valign="top">Seizure detection and prediction</td>
<td align="left" valign="top">Database&#x2019;s analysis (recordings subdivided by ictal, preictal, and interictal, and into 2-s epochs)</td>
<td align="left" valign="top">21 patients&#x2019; EEG data extracted from the database of the EPILEPSIAE project.</td>
<td align="left" valign="top">EEG</td>
<td align="left" valign="top">energy, entropy, standard deviation, variance and mean of the absolute values of the wavelet coefficients</td>
<td align="left" valign="top">SVM</td>
<td align="left" valign="top">10-fold cross-validation</td>
<td align="left" valign="top">93.78&#x2013;100%</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref118">Regalia et al. (2019)</xref>.</td>
<td align="left" valign="top">Detect generalized tonic&#x2013;clonic seizures with wearable wristbands</td>
<td align="left" valign="top">Data retrieved from the E4 were paired to the more invasive video-electro-encephalography (v-EEG),</td>
<td align="left" valign="top">9&#x2013;18&#x2014;135 epilepsy patients</td>
<td align="left" valign="top">Accelerometers and SC&#x2009;+&#x2009;video-electro-encephalography (v-EEG) as gold standard</td>
<td align="left" valign="top">Not reported</td>
<td align="left" valign="top">Supervised learning method</td>
<td align="left" valign="top">Not reported</td>
<td align="left" valign="top">92&#x2013;100%</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="tab3">
<label>Table 3</label>
<caption>
<p>The milestones research studies in Affective Computing.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Article and year</th>
<th align="left" valign="top">Topic</th>
<th align="left" valign="top">Experimental Paradigm</th>
<th align="left" valign="top">N. of subj</th>
<th align="left" valign="top">Biosignals</th>
<th align="left" valign="top">Feature selection modality</th>
<th align="left" valign="top">Classification</th>
<th align="left" valign="top">Validation</th>
<th align="left" valign="top">Accuracy</th>
<th align="left" valign="top">More relevant features</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref116">Picard et al. (2001)</xref></td>
<td align="left" valign="top">Discrimination among anger, hate, grief, platonic love, romantic love, joy, reverence, and no emotion</td>
<td align="left" valign="top">Daily 25-min recording for 30&#x2009;days, recalling important images that were individually linked to the states</td>
<td align="left" valign="top">1</td>
<td align="left" valign="top">Facial EMG, blood volume pressure, SC, and respiration</td>
<td align="left" valign="top">Hybrid Sequential Floating Forward Search with Fischer Projection</td>
<td align="left" valign="top">k-nearest-neighbor (k-NN) and a Maximum <italic>a Posteriori</italic></td>
<td align="left" valign="top">Leave-one-out cross-validation</td>
<td align="left" valign="top">81% for the emotional profiles (best results for anger, grief, joy, reverence, and no emotion)</td>
<td align="left" valign="top">HR, SC, and respiration are discovered in all of the most accurate outcomes</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref80">Kim and Andr&#x00E9; (2008)</xref></td>
<td align="left" valign="top">Detection of joy, pleasure, sadness, and anger, discriminated for high/low arousal and valence</td>
<td align="left" valign="top">Recordings listening for personally selected songs, linked to the target states</td>
<td align="left" valign="top">3</td>
<td align="left" valign="top">EMG, ECG, SC, and respiration</td>
<td align="left" valign="top">Sequential backward search</td>
<td align="left" valign="top">Linear discriminant analysis</td>
<td align="left" valign="top">Leave-one-out cross-validation</td>
<td align="left" valign="top">95% in-subject and 70% intra-subject</td>
<td align="left" valign="top">EMG and SC for arousal, ECG and respiration for valence</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref83">Koelstra et al. (2012)</xref></td>
<td align="left" valign="top">Detection of arousal and valence levels</td>
<td align="left" valign="top">Recordings watching 40 musical videos, then rated for arousal, valence, and dominance</td>
<td align="left" valign="top">32</td>
<td align="left" valign="top">EEG, SC, respiration, skin temperature, ECG, BVP, Zygomaticus and Trapezius EMG, and EOG</td>
<td align="left" valign="top">Fisher&#x2019;s linear discriminant</td>
<td align="left" valign="top">Naive Bayes</td>
<td align="left" valign="top">Leave-one-out cross-validation</td>
<td align="left" valign="top">65% for features extracted from the videos, 62% for EEG, and 57% for peripheral physiological signals</td>
<td align="left" valign="top">Features extracted from the videos</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref133">Soleymani et al. (2012)</xref></td>
<td align="left" valign="top">Detection of arousal and valence levels</td>
<td align="left" valign="top">Recordings watching 20 videos, then evaluated by valence and arousal</td>
<td align="left" valign="top">24</td>
<td align="left" valign="top">EEG, ECG, SC, respiration, skin temperature, and eye glaze</td>
<td align="left" valign="top">ANOVA test</td>
<td align="left" valign="top">Support vector machine with a radial basis function kernel</td>
<td align="left" valign="top">Leave-one-out cross-validation</td>
<td align="left" valign="top">68.5% for valence and 76.4% for arousal (3 levels)</td>
<td align="left" valign="top">EEG features: gamma for valence; slow-alpha, alpha, and theta for arousal</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref155">Zheng and Bao-Liang (2015)</xref></td>
<td align="left" valign="top">Discrimination of positive, neutral, and negative emotions</td>
<td align="left" valign="top">Recordings watching 15 movie clips linked to positive, negative, and neutral emotions</td>
<td align="left" valign="top">15</td>
<td align="left" valign="top">EEG and EOG</td>
<td align="left" valign="top">Performed automatically during the classification</td>
<td align="left" valign="top">Deep Neural Networks</td>
<td align="left" valign="top">Not reported</td>
<td align="left" valign="top">86.08%</td>
<td align="left" valign="top">Increase of beta and gamma for positive emotions; lowering in beta and gamma for neutral and negative emotions; increase in alpha for neutral emotions.</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="tab4">
<label>Table 4</label>
<caption>
<p>The milestones research studies in Brain-Computer Interfaces.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Article and year</th>
<th align="left" valign="top">Biosignals</th>
<th align="left" valign="top">Brain input</th>
<th align="left" valign="top">Task</th>
<th align="left" valign="top">Objective</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref14">Blankertz et al. (2007)</xref> Hex-O-Spell</td>
<td align="left" valign="top">Sensorimotor rhythms</td>
<td align="left" valign="top">Two different imagined movements (e.g., right hand and right foot movements)</td>
<td align="left" valign="top">Rotation of an arrow pointing to 6 hexagons</td>
<td align="left" valign="top">Communication</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref85">Krepki et al. (2007)</xref> The BBCI framework</td>
<td align="left" valign="top">Eeg</td>
<td align="left" valign="top">Multiple trials of right and left-hand movements (imagined and executed)</td>
<td align="left" valign="top">Commands selection (left/right/rest)</td>
<td align="left" valign="top">Communication/interface with the environment</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref89">Leeb et al. (2007)</xref></td>
<td align="left" valign="top">Beta oscillation</td>
<td align="left" valign="top">Imagined movement of feet</td>
<td align="left" valign="top">Movement of an avatar</td>
<td align="left" valign="top">Navigation in a VR space</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref113">Pfurtscheller et al. (2000)</xref> The Graz-BCI</td>
<td align="left" valign="top">Eeg</td>
<td align="left" valign="top">Motor imagery (e.g., right-hand versus left-hand movements).</td>
<td align="left" valign="top">Moving on an horizontal bar to the right or left</td>
<td align="left" valign="top">Different control option in one dimension (e.g., remote control interacting with the environment)</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref117">Rebsamen et al. (2010)</xref></td>
<td align="left" valign="top">P300</td>
<td align="left" valign="top">Reactive BCI</td>
<td align="left" valign="top">Selection of a destination among pre-definite locations in a VR house</td>
<td align="left" valign="top">Wheelchair movement</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref97">Muller-Putz and Pfurtscheller (2008)</xref></td>
<td align="left" valign="top">SSVEPs</td>
<td align="left" valign="top">Reactive BCI</td>
<td align="left" valign="top">Discriminate four classes of commands (left, right, open, and close)</td>
<td align="left" valign="top">Motion of a two-axes- hand prosthesis</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref48">Gao et al. (2003)</xref></td>
<td align="left" valign="top">SSVEPs</td>
<td align="left" valign="top">Reactive BCI</td>
<td align="left" valign="top">Selection on a 6&#x00D7;8 visual panel, connected to an infrared remote controller</td>
<td align="left" valign="top">Use of a remote controller, with 48 target functions for interfacing with household appliances</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref146">Vaughan et al. (2006)</xref> Wadsworth BCI</td>
<td align="left" valign="top">Sensorimotor rhythms and P300</td>
<td align="left" valign="top">Motor imagery and Reactive BCI</td>
<td align="left" valign="top">Movement of a cursor in two dimensions and item selection in a 6&#x00D7;6 matrix (letters and symbols)</td>
<td align="left" valign="top">Interface device for a domestic environment</td>
</tr>
<tr>
<td align="left" valign="top"><xref ref-type="bibr" rid="ref90">Li et al. (2010)</xref></td>
<td align="left" valign="top">P300 and Mu/Beta rhythm</td>
<td align="left" valign="top">Reactive BCI and motor imagery</td>
<td align="left" valign="top">2D cursor movement (horizontal and vertical)</td>
<td align="left" valign="top">Interaction</td>
</tr>
</tbody>
</table>
</table-wrap>
<sec id="sec7">
<label>4.1.</label>
<title>Diagnostic precision medicine</title>
<p>Differential diagnosis through <italic>Precision Medicine</italic> arose in a predominant way in oncology, where the need for detailed clinical subtyping is fundamental for adequate targeted drug treatment (<xref ref-type="bibr" rid="ref49">Gibbs et al., 2018</xref>). Even if broad therapeutics have been shown to be beneficial in Neurological and Neuropsychiatric Disorders, the ability to target narrow groups of patients, likened by similar underlying genetic variations or with the same subtype of pathology, may be preferable. But so far, traditional Psychiatry refers to the ICD-10 and the DSM-5, thus grounding its diagnoses primarily on a list of symptoms. Further studies and research are still needed to discover reliable biomarkers, which can contribute to the formulation of more precise and objective diagnoses (<xref ref-type="bibr" rid="ref69">Insel, 2014</xref>). In a new era of evidence-based psychiatry, objectively measurable endophenotypes may allow for earlier disease detection, more personalized treatment selection, and dosage adjustments (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>). Machine Learning, which can handle large multimodal databases and Big Data, may enable in the transition from a treatment targeting a heterogeneous clinical population to a stratified clinical group with a common disease (<xref ref-type="bibr" rid="ref49">Gibbs et al., 2018</xref>) or even focus prediction on a single subject level (<xref ref-type="bibr" rid="ref32">Cipresso and Immekus, 2017</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>; <xref ref-type="bibr" rid="ref122">Rutledge et al., 2019</xref>; <xref ref-type="bibr" rid="ref142">Tuena et al., 2020</xref>).</p>
<p><xref ref-type="bibr" rid="ref26">Chabot et al. (1996)</xref> explored how to discriminate between children with Attention Deficit Disorder (ADD) and Attention Deficit Hyperactivity Disorder (ADHD) and children with Specific Developmental Learning Disorders (SDLD). 30&#x2009;min of rested eyes-closed EEG was recorded for 407 ADD/ADHD children, 127 SDLD children, and 310 children without specific health problems and used as a control group. EEG signals were cleaned, converted with the Fast Fourier Transform, and Quantitative EEG (QEEG) features were calculated. Discriminant analyses and a split-half of the relevant populations were performed to classify the three groups (three-way discriminant), SDLD from ADHD/ADD (two-way discriminant), and two groups of ADHD children, responding to two different amphetamines. The obtained accuracy in the three-way discriminant identified 88.7% of ADD/ADHD, 69% of SDLD, and 76.1% of control subjects. The two-way discriminant obtained a 93.1% accuracy for ADD/ADHD, and 89.7% for SDLD, while fresh data were classified with, respectively, 97.0 and 84.2% accuracy. The response to amphetamines in ADHD was predicted between 75.6 and 75.8% (<xref ref-type="bibr" rid="ref26">Chabot et al., 1996</xref>). This study demonstrates how ML can be used to improve clinical practice, trying to reach the ideal concept of Precision Medicine.</p>
<p>In more recent years, works on ML classification of mental disorders or neurodiversity emerged as a novel research trend to assist mental health professionals. <xref ref-type="bibr" rid="ref96">Mueller et al. (2010)</xref> develop another framework to discriminate ADHD subjects from healthy controls in the adult population. Two groups balanced for age, sex, and number (74 ADHD, 74 controls) underwent a GO/NOGO paradigm, while their EEG was acquired. Event-related potentials (ERPs) were calculated, and through an independent component analysis, ERPs were decomposed into independent components. Feature selection was performed by extracting them from the independent components, and a non-linear SVM was implemented for the classification phase, with 10-fold cross-validation. The results showed an accuracy of 92% for the correct discrimination between ADHD individuals and controls (<xref ref-type="bibr" rid="ref96">Mueller et al., 2010</xref>). <xref ref-type="bibr" rid="ref21">Buitelaar et al. (2022)</xref> reviewed the diverse kinds of biomarkers that precision medicine can use to diagnose ADHD or predict the response to stimulants. EEG or QEEG are widely reported, but just three studies addressed the problem through an experimental design based on ML techniques and they were all concerning fMRI or MRI data (<xref ref-type="bibr" rid="ref21">Buitelaar et al., 2022</xref>).</p>
<p>Machine language and QEEG are also applied to major depression for predicting the best response to antidepressants. The Psychiatric EEG Evaluation Registry (PEER) is a database with patients&#x2019; QEEG recordings, both drug-free and under pharmacological treatment (<xref ref-type="bibr" rid="ref71">Iosifescu et al., 2016</xref>; <xref ref-type="bibr" rid="ref125">Schiller, 2018</xref>). PEER Interactive interconnects with the database elaborating a prevision through two ML classifiers, one structured on &#x201C;net hints&#x201D; and the other on a logistical regression (<xref ref-type="bibr" rid="ref125">Schiller, 2018</xref>). <xref ref-type="bibr" rid="ref71">Iosifescu et al. (2016)</xref> evaluated 2&#x2009;years of PEER Interactive use with a randomized double-blind design on patients with depressive disorder diagnosis, finding a significant reduction in suicidal ideation and improvements in both depression and post-traumatic stress disorder (PTSD) scores (<xref ref-type="bibr" rid="ref71">Iosifescu et al., 2016</xref>).</p>
<p>In epilepsy, seizures are diagnosed and monitored using neuroimaging and electrophysiology. EEG is used by <xref ref-type="bibr" rid="ref143">Tzimourta et al. (2018)</xref> to develop computerized methods for automating seizure detection and prediction. 21 patients&#x2019; EEG data were extracted from the database of the EPILEPSIAE project. Recordings were subdivided by ictal, preictal, and interictal (the moments during, preceding a seizure, and the lapse between seizures), and cut into 2-s epochs. The signals were then decomposed by the Discrete Wavelet Transform and features were calculated. A SVM paired with 10-fold cross-validation was then structured to classify the interictal moments from seizure-free periods. Accuracy ranged between 93.78 and 100%, while sensitivity was between 45.30 and 100% (<xref ref-type="bibr" rid="ref143">Tzimourta et al., 2018</xref>).</p>
<p><xref ref-type="bibr" rid="ref144">Ulate-Campos et al. (2016)</xref> describe which automated seizure detection systems can be found in literature: EEG, surface EMG, SC, ECG, skin temperature, and respiration are reported as viable instruments, but only technologies based on EEG and ECG are described applying predictive algorithms. In addition, are noteworthy the reported multi-modal system which integrates different data sources using SVM algorithms. In the Multi-modal intelligent seizure acquisition (MISA) system, the information from the body movement is blended with EMG data and used to predict motor seizures (<xref ref-type="bibr" rid="ref35">Conradsen et al., 2012</xref>), while <xref ref-type="bibr" rid="ref131">Shoeb et al. (2009)</xref> detect seizures by integrating EEG and ECG signals (<xref ref-type="bibr" rid="ref131">Shoeb et al., 2009</xref>; <xref ref-type="bibr" rid="ref144">Ulate-Campos et al., 2016</xref>).</p>
<p>As the last point, wearable devices are becoming important allies in bridging lab studies with more ecological investigations: a special interest is devoted to chest bands and wristbands able to detect ECG data, and in some cases, SC, due to their low price and the possibility of being worn comfortably for a long time, during the everyday life. Some studies also focus on EEG wearable devices, even if their usage in an ecological environment appears more complex.</p>
<p>About this topic, <xref ref-type="bibr" rid="ref111">Perna et al. (2018)</xref> describe how wearable biosensors and the analysis of electronic medical records can access massive quantities of data and become important instruments for applying precision medicine to psychiatry, especially with the support of supervised and unsupervised ML models (<xref ref-type="bibr" rid="ref111">Perna et al., 2018</xref>). <xref ref-type="bibr" rid="ref150">Welch et al. (2022)</xref> work is instead focused on how ML enables to assess of psychiatric disorders in young people through wearable devices. The review finds ECG and EEG data (SC was additionally considered in the experiments involving Empatica E4) alongside information about movement, are considered in studies aiming to individualize diagnosis and the treatment of several psychiatric disorders (i.e., ADHD, learning disability, and autism spectrum, bipolar, and internalizing disorders; <xref ref-type="bibr" rid="ref150">Welch et al., 2022</xref>).</p>
<p>An exemplifying application of a wearable device to epilepsy can be found in <xref ref-type="bibr" rid="ref118">Regalia et al. (2019)</xref>: a ML model was designed to determine the effectiveness of the combined use of accelerometers and SC sensors to detect generalized tonic&#x2013;clonic seizures, relying on the E4 wristbands (Empatica) for the detection of motion and SC. Data retrieved from the E4 were paired to the more invasive video-electro-encephalography (v-EEG), the gold standard for seizure detection, and labeled consequently. A supervised learning method was then trained to predict generalized tonic&#x2013;clonic seizures. Learning results offer an elevated sensitivity (92&#x2013;100%) in seizure detection, and lower false alarms, better differentiating seizures from real-life activities which could lead to similar movements (e.g., clapping hands, brushing teeth). In addition, further quantification of the seizure-induced autonomic dysfunction was made possible (<xref ref-type="bibr" rid="ref118">Regalia et al., 2019</xref>).</p>
<p>These studies demonstrate how ML can be used to improve precision medicine and clinical practice. EEG and QEEG pattern evaluation through ML seems a promising field for Mental Health, offering great opportunities for accelerating the diagnostic process and getting it out of the binary schemes of lists of symptoms. Despite this, accuracy percentages do not reach sufficient levels for a diagnostic process: further research is needed to apply the described procedures to standard clinical approaches.</p>
</sec>
<sec id="sec8">
<label>4.2.</label>
<title>Affective computing</title>
<p>One of the main topics in psychology involves emotions on all their sides, from theorization to treatment: relations between emotions and physiological modifications have been studied since, at least, the end of the 19th century (<xref ref-type="bibr" rid="ref23">Cacioppo et al., 2000</xref>; <xref ref-type="bibr" rid="ref18">Bradley and Lang, 2007</xref>) and already in 1958 John Lacey correlated variations in biosignals to emotional states (<xref ref-type="bibr" rid="ref23">Cacioppo et al., 2000</xref>; <xref ref-type="bibr" rid="ref18">Bradley and Lang, 2007</xref>). Effective categorization of emotive reactions to stimuli is also found in their distribution in a cartesian space created around two perpendicular axes, as in Russel&#x2019;s Circumplex Model of Affect (pleasantness and activation; <xref ref-type="bibr" rid="ref121">Russell, 1980</xref>) or in Lang&#x2019;s organization on Affective Valence and Arousal (<xref ref-type="bibr" rid="ref87">Lang, 1995</xref>).</p>
<p>Despite strong theoretical bases linking emotion to physiological reactions, a lack of consistency is found in delineating replicable or generalizable patterns arising from autonomic activity, possibly due to issues in transporting theory to methodologically reliable experiments (e.g., emotion induction, self-report observations; <xref ref-type="bibr" rid="ref23">Cacioppo et al., 2000</xref>; <xref ref-type="bibr" rid="ref18">Bradley and Lang, 2007</xref>).</p>
<p>New possibilities of development and overcoming the complexities related to the elaboration of emotional patterns arise from the interest that the world of computer science has begun to turn to these themes: researchers start to theorize that the aim of the implementation of a strong AI would not be accomplished without considering an emotional part (<xref ref-type="bibr" rid="ref10">Barrett et al., 2016</xref>). Specifically, <xref ref-type="bibr" rid="ref114">Picard (2000</xref>, <xref ref-type="bibr" rid="ref115">2003)</xref> theorizes how the ability to recognize human emotion will be needed by computers in the near future, so that they can be useful to humans in the best way (e.g., user interfaces): Affective Computing is defined as <italic>&#x201C;computing that relates to, arises from, or deliberately influences emotions&#x201D;</italic> (<xref ref-type="bibr" rid="ref114">Picard, 2000</xref>) and one of its main challenges relies on using AI to model an Affective System able to recognize emotion from humans, e.g., from expressions, gestures, vocal intonation and, especially, biosignals. This approach will lead to improvement in human&#x2013;computer interaction (HCI; <xref ref-type="bibr" rid="ref114">Picard, 2000</xref>) and to a further understanding of human emotions.</p>
<p>Affective Computer models typically follow this standard workflow (<xref ref-type="bibr" rid="ref155">Zheng and Bao-Liang, 2015</xref>; <xref rid="fig3" ref-type="fig">Figure 3</xref>). The first passage is represented by physiological data acquisition. Subjects are connected to various devices, which can record multiple physiological activations. Then the &#x201C;ground truth&#x201D; is recorded: some minutes of the person&#x2019;s activation at a resting state are collected to be used as a baseline. This level of activity is often subtracted from the stream of data during the experimental phases, to decrease the influence of interpersonal differences.</p>
<fig position="float" id="fig3">
<label>Figure 3</label>
<caption>
<p>Representation of Affective Computing workflow.</p>
</caption>
<graphic xlink:href="fpsyg-13-1066317-g003.tif"/>
</fig>
<p>Then the subject is asked to perform some tasks or is presented with different stimuli, which should elicit different levels of arousal and valence, or different emotions: this will permit the labeling of the data.</p>
<p>Physiological data are successively cleaned from errors and noise, and sub features of the signals are calculated (e.g., EEG bands, HRV), and inserted in a database with the proper label. From the algorithmic point of view, the learning phases consist of the following steps:<list list-type="bullet">
<list-item>
<p>Feature selection, reduction, or aggregation is performed through supervised and unsupervised learning models. This phase aims to reduce the computational cost of the subsequent parts.</p>
</list-item>
<list-item>
<p>Supervised learning models are run to obtain the classification of the different emotional patterns. In the recent literature the most frequently applied classifier is SVM, followed by k-Nearest Neighbor, Random Forest, Linear, Quadratic Discriminant Analysis, Neural Networks, and Decision Tree. Unsupervised learning models, especially Deep Learning, are reportedly gaining popularity since they allow to skip the feature selection phases (<xref ref-type="bibr" rid="ref17">Bota et al., 2019</xref>).</p>
</list-item>
<list-item>
<p>Validation, <italic>via</italic> leave-one-out cross-validation.</p>
</list-item>
<list-item>
<p>Test phase, in which the levels of performance are evaluated.</p>
</list-item>
</list></p>
<p>At the end, a feedback system can be addressed to the user (<xref ref-type="bibr" rid="ref155">Zheng and Bao-Liang, 2015</xref>).</p>
<p>In one of the first and most cited affective computer articles, <xref ref-type="bibr" rid="ref116">Picard et al. (2001)</xref> describe a system for the discrimination of multiple emotions. One subject underwent a daily 25-min registration for 30&#x2009;days, in which she recalled meaningful imageries, individually connected to anger, hate, grief, platonic love, romantic love, joy, reverence, and no emotion. Meanwhile, her physiological reactions were collected, <italic>via</italic> facial electromyography, blood volume pressure, SC, and respiration.</p>
<p>Feature selection of data was performed by creating a Hybrid Sequential Floating Forward Search with Fischer Projection, a novel combination of Sequential Floating Forward Search, which selects features directly, and Fischer Projection (FP), which returns a linear transformation of features. The learning phase involved a k-Nearest-Neighbor (k-NN) classifier and a Maximum <italic>a Posteriori</italic> classification, with leave-one-out cross-validation. Results showed 81% of accuracy in the discrimination of the eight emotional profiles, with the best results for anger, grief, joy, reverence, and no emotion. The most robust features are found to play a role in all the most performative results and are linked to HR, SC, and respiration (<xref ref-type="bibr" rid="ref116">Picard et al., 2001</xref>).</p>
<p>In <xref ref-type="bibr" rid="ref80">Kim and Andr&#x00E9; (2008)</xref> the emotions of joy, pleasure, sadness, and anger are also discriminated for their arousal and valence levels (e.g., joy: high arousal and high valence; sadness: low arousal and low valence). Three subjects were asked to select four songs, which could induce sensations related to the target emotions. Their EMG, ECG, SC, and respiration activities were then recorded, while they were listening to the selected music. Successively, the sequential backward search method was applied to perform the feature selection. An extended linear discriminant analysis (pLDA) was chosen for the classification learning, demonstrating better performance than k-NN, and multilayer perceptron. The direct multiclass classification was furthermore confronted with a scheme for decomposing it in a structure of two-class problems: the emotion-specific multilevel dichotomous classification. In this framework, the emotional patterns were grouped and confronted both per arousal and per valence reaching 95% of accuracy in-subject and 70% intra-subject. Analyzing the features, a correlation between arousal and both EMG and SC was found, and connections between valence levels and ECG and respiration features (<xref ref-type="bibr" rid="ref80">Kim and Andr&#x00E9;, 2008</xref>).</p>
<p>Also, <xref ref-type="bibr" rid="ref83">Koelstra et al. (2012)</xref> chose the evaluation for valence and arousal to discriminate emotions, adding also dominance and familiarity. The study resulted in the construction of the open-source DEAP database, in which EEG, SC, respiration, skin temperature, ECG, BVP, Zygomaticus and Trapezius EMG, and electrooculogram (EOG) of 32 subjects were collected. From a bunch of 120 musical videos, previously rated by valence, arousal, and dominance, the 40 with stronger ratings were selected. The videos were then presented to the subjects, and after that, they were asked to rate them by arousal, valence, dominance, and liking. Features selection was performed through a Fisher&#x2019;s linear discriminant for EEG, the whole set of peripheral physiological signals, and some features extracted from the videos. Successively, a single-trial structure classification aimed to binary-discriminate the three groups of data, in terms of levels of arousal, valence, and liking. A Naive Bayes was chosen as a classifier due to its ability to cope with unbalanced classes, as the result of an unbalanced subjects&#x2019; rating of the videos. The leave-one-subject-out cross-validation and an F1 measure were applied to improve and evaluate the performance. Results showed that the best classification was obtained with the features extracted from the videos (65%), while no significant difference was found between EEG (62%) and peripheral physiological signals (57%) performances (<xref ref-type="bibr" rid="ref83">Koelstra et al., 2012</xref>).</p>
<p><xref ref-type="bibr" rid="ref133">Soleymani et al. (2012)</xref> proposed a similar structure, aiming to discriminate the affective connotation of selected video clips. 20 videos, previously rated for arousal and valence, were shown to 24 subjects, while their EEG, ECG, SC, respiration, skin temperature, and eye glaze were recorded. Following each clip, participants evaluated them by valence and arousal. Data preprocessing for noise removal was then performed, features from EEG, eye blinking, and gaze distance were calculated, while through a principal component analysis was estimated the pupil diameter changes. A further feature selection <italic>via</italic> ANOVA test was performed for each cross-validation. The classification phase was performed thanks to a support vector machine with a radial basis function kernel and validated through a leave-one-participant-out cross-validation. Additional fusion strategies were applied both to the feature selection and in the decision phase. Results showed the best accuracy of 68.5% for three levels of valence and 76.4% for three levels of arousal, both obtained thanks to decision fusion. The EEG features better contributing to the classification were linked to slow-alpha, alpha, and theta for arousal, and to beta, and gamma for valence (<xref ref-type="bibr" rid="ref133">Soleymani et al., 2012</xref>).</p>
<p><xref ref-type="bibr" rid="ref155">Zheng and Bao-Liang (2015)</xref> explore the opportunities opened by Deep Neural Networks (DNNs) in the analysis of EEG patterns during different emotions. Fifteen movie clips linked to positive, negative, and neutral emotions were submitted to 15 subjects, while their EEG signals and EOG were registered. After each movie session, an assessment of their feeling, their knowledge, and their understanding of the film were collected. DNNs approach permits skipping the classical feature selection process, selecting features automatically during the classification phase: just differential entropy was extracted for each EEG band and for every 62 EEG channels. Differential asymmetry and rational asymmetry features were added to investigate the lateralization of brain activity, calculating rational asymmetry differences and ratios of couples of electrodes. The classification was performed using the DNNs model Deep Belief Network, whose training passes through two unsupervised and one supervised phase. The final results showed a connection between positive emotion and an increase of beta and gamma bands, while neutral and negative emotions lead to a lowering in beta and gamma activation. Neutral emotions showed an increase in alpha instead. The DBN performance reached 86.08% accuracy in differential entropy classification. As the last step was performed an &#x201C;Electrode Reduction,&#x201D; choosing a set of 4, 6, 9, and 12 channels: the performance even increased to 86.65% for the 12 channels solution, and remained quite stable also for the solutions with few electrodes, with a result of 82.88, 85.03, and 84.02%, respectively, (<xref ref-type="bibr" rid="ref155">Zheng and Bao-Liang, 2015</xref>).</p>
<p>New frameworks are embedding Affective Computing in more complex systems, in which the detected emotion can be reported to the users, in order to let them modulate their behavior, following the typical pattern of Biofeedback and Neurofeedback interventions. Multiple studies evaluate complex emotions in real-life scenarios and open the possibility of a prospective human-computer interaction system, which can offer useful feedback to the users.</p>
<p>For example, during a real-world driving task, <xref ref-type="bibr" rid="ref60">Healey and Picard (2005)</xref> reveal how to collect and analyze physiological data to ascertain the relative level of stress experienced by the driver. 24 subjects&#x2019; ECG, EMG, SC, and respiration were recorded during at least 50-min sessions of driving. The route was designed to possibly pass-through situations that could lead to different levels of stress. Subjects completed questionnaires to assess their level of stress related to specific driving events, and furthermore, an evaluation of the events was performed by the experimenters. These data were merged to obtain a continuous stress metric. Analysis was performed considering two-time frames, 5&#x2009;min, and 1&#x2009;s. In the first case, a FP matrix and a linear discriminant were applied in the feature selection phase. Then a classification was performed, and stress was detected with a 97.4% accuracy. In the second case, was calculated the correlation coefficients between the stress metric and the features derived from the physiological signals; HR and SC offered the highest correlation (<xref ref-type="bibr" rid="ref60">Healey and Picard, 2005</xref>).</p>
<p>AffectAura described in <xref ref-type="bibr" rid="ref93">McDuff et al. (2012)</xref>, instead offers a continuous multimodal system of affect recognition paired with a user interface to visualize it. The proposed objective aims at stimulating users to an introspective reflection on their &#x201C;affect timeline,&#x201D; illustrated by valence, arousal, and engagement. To obtain the affect recognition, a ML system was trained to predict levels of valence, arousal, and engagement (low, high) from multimodal data (Webcam, microphone, Kinect, SC sensor, and File Activity) of five subjects, who needed to assess their state at standard intervals of time. A Nearest-Neighbor classifier was applied for the first learning supervised phase; a Neighborhood Component Analysis was then used to match new data to the most similar annotated data already in the system. A validation leave-one-out was performed and lead to a 68% of global performance. A usability study was then conducted, in which users were successfully helped to reconstruct emotional events of the week and most of them found AffectAura &#x201C;useful for reflecting on events collected&#x201D; (<xref ref-type="bibr" rid="ref93">McDuff et al., 2012</xref>).</p>
<p>The examples listed here represent milestones in the Affective Computing research line. This topic is, in recent years, sparking profound interest both in the world of neuroscience and psychology, and in that of computer science and engineering, but often separately: a meeting point with a common language, techniques, and standards should be further stimulated, aiming at a greater union of forces, knowledge and approaches.</p>
<p>Many works are portrayed in recent literature illustrating the evolution of Affective Computing to date, and some of its possible applications. For example, <xref ref-type="bibr" rid="ref17">Bota et al. (2019)</xref> in addition to the most commonly used biosignals and the ML techniques for features selection and classification, describe the additional experimental phases and materials essential to the construction of an emotion recognition study. They list the most common emotion elicitation materials, such as various kinds of media (e.g., pictures, videos, music) to be shown to the subjects, and describe controlled settings, to create a reproducible environment. Assessment methods, with which the subjects annotate their elicited state, are described thereafter. The most reported instruments are the Self-Assessment Manikins (SAM), the Ecological Momentary Assessment/Experience Sampling Method, and the PANAS questionnaire (<xref ref-type="bibr" rid="ref17">Bota et al., 2019</xref>).</p>
<p>Several studies dedicate a special focus to EEG, such as <xref ref-type="bibr" rid="ref5">Al-Nafjan et al. (2017)</xref>, who describe the innovations in EEG emotion recognition systems. Among the studies reviewed, attention is given to those which apply ML: the reported classification algorithms are SVM, k-NN, Linear Discriminant Analysis, and Artificial NN. The feature extraction phase has gained specific attention because it is described as one of the principal difficulties in the EEG emotion recognition system. More in detail, the researchers summarized that, alongside the classical statistical features, in the frequency domain the power spectral density (i.e., band powers) is obtained through the Fourier Transform; in the time domain, Hjorth Parameters are applied to the activity, mobility, and complexity of data, while Higuchi Method describes their fractal dimension; the calculation of entropy and energy is reached thanks to the Wavelet Transform (<xref ref-type="bibr" rid="ref5">Al-Nafjan et al., 2017</xref>).</p>
<p>Although attention to EEG signals is often predominant in the literature, the possibility of obtaining information from other physiological signals is nevertheless largely described: in multimodal approaches, the response is given by merging various features from different sources, and the performance in emotion recognition is usually higher than unimodal approaches (which have instead more computational advantages; <xref ref-type="bibr" rid="ref58">Hasnul et al., 2021</xref>).</p>
<p><xref ref-type="bibr" rid="ref58">Hasnul et al. (2021)</xref> focus their review on ECG, describing the modalities of analysis applied to extract affective inferences. Data preprocessing is mostly performed through a multiple-configuration Butterworth filter, while feature extraction involves the calculation of statistical features and the detection of beats&#x2019; shape and timing. The ML classification is then performed through deep learning or <italic>via</italic> a feature selection, dimensionality reduction, and supervised algorithms (the most frequent is SVM, but also k-nearest neighbor and na&#x00EF;ve Bayes are reported to obtain good performances). They also list the affective databases, which include ECG data, available for research purposes; AuBT, AMIGOS, and DREAMER are reported as the most popular in studies involving ECG (<xref ref-type="bibr" rid="ref58">Hasnul et al., 2021</xref>).</p>
<p>An open and under-developed field is the integration in the day-to-day life of affective detection, also targeted at the development of long-term experimental designs: wearable devices able to detect in a non-invasive way the user&#x2019;s physiological data may answer the problem. <xref ref-type="bibr" rid="ref127">Schmidt et al. (2019)</xref> take stock of the situation illustrating that ECG is the most frequent signal applied in wearable-based research, followed by SC (respectively in 87 and 76% of the reviewed studies); the evaluation of respiration, EMG, temperature, and movement (through 3-axes acceleration sensors) are instead presented in 32% of the articles. The studies conducted in the field involved both pre and post-questionnaires (e.g., assessing personality traits or mental health) and different modalities of the Ecological Momentary Assessment (asking the users about their emotional state with a specific frequency, randomly or event-triggered). Data analysis, after the feature extraction, is mostly performed with ML classification; also in this review SVM is reported as the most frequent algorithm, used in almost half of the cases (<xref ref-type="bibr" rid="ref127">Schmidt et al., 2019</xref>). An interesting description of usage and problematics of EEG wearable devices can be found in <xref ref-type="bibr" rid="ref7">Anders and Arnrich&#x2019;s (2022)</xref>: regarding the hardware, the literature shows a majority of custom-built devices, followed by products from the InteraXon Muse series, and EMOTIV Epoc, all with a sampling rate of at least 256&#x2009;Hz. Given the necessity of wearable mobile instruments, special attention needs to be given to the power supply, generally limited, which influences data transmission and storage; these limitations in resources cause restrictions in the number of manageable channels and make it preferable to pre-process data directly on the recording device or even feed them through pre-trained algorithms. Also noise, caused movement will decrease the quality of the obtained recordings. Especially if feedback is wanted in real-time, the temporal analysis should be carefully considered: the most reported are one-second windows, followed by time spans between 4.5 and 30&#x2009;s (<xref ref-type="bibr" rid="ref7">Anders and Arnrich, 2022</xref>).</p>
</sec>
<sec id="sec9">
<label>4.3.</label>
<title>Brain-Computer Interface (BCI)</title>
<p>Brain-Computer Interface is defined as a control and/or communication system that does not depend on normal neuromuscular output channels (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>). The user&#x2019;s intention is recorded through brain signals, depending on muscles or peripheral nerves (<xref ref-type="bibr" rid="ref124">Schalk et al., 2004</xref>). In the processing of data from the brain, the subject, and machine interact in real-time, allowing the user of this technology to receive immediate feedback from the computer, which translates the data into actions based on the subject&#x2019;s intent (<xref ref-type="bibr" rid="ref151">Wolpaw et al., 2002</xref>). This permits the person to appropriately modify their intentions, thanks to a &#x201C;mental strategy&#x201D; learned through operating conditioning training, and, therefore, the data that the machine will receive next (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>).</p>
<p>The computer meanwhile learns to associate the person&#x2019;s brain activity with the correct command thanks to ML algorithms&#x2014;mainly classification algorithms (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>) - building the human-computer interaction that is at the core of the BCI system (<xref ref-type="bibr" rid="ref85">Krepki et al., 2007</xref>; <xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>). BCIs can be based on different signal acquisition techniques, such as magnetoencephalography (MEG), functional magnetic resonance imaging (fMRI), Functional Near infrared Spectroscopy (fNIRS) and EEG signal detection. Even though fNIRS is a relatively new modality for detecting brain activity, it has several advantages, including greater portability/safety when compared to fMRI, and lower susceptibility to electrical noise when compared to EEG and MEG (<xref ref-type="bibr" rid="ref61">Herff et al., 2013</xref>; <xref ref-type="bibr" rid="ref63">Hong et al., 2015</xref>; <xref ref-type="bibr" rid="ref99">Naseer and Hong, 2015</xref>; <xref ref-type="bibr" rid="ref102">Noori et al., 2017</xref>). fNIRS measures the concentration changes of oxygenated hemoglobin (HbO) and deoxygenated hemoglobin (HbR) in blood flow caused by neuron firings in the local capillary network using near-infrared light. The primary motor cortex (associated with motor imagery tasks) and the prefrontal cortex (associated with cognitive tasks such as arithmetic ones, emotion induction etc.) are the most commonly used brain areas in fNIRS-BCI systems (<xref ref-type="bibr" rid="ref61">Herff et al., 2013</xref>; <xref ref-type="bibr" rid="ref63">Hong et al., 2015</xref>; <xref ref-type="bibr" rid="ref99">Naseer and Hong, 2015</xref>; <xref ref-type="bibr" rid="ref102">Noori et al., 2017</xref>). Despite the introduction of fNIRS-BCI systems and hybrid EEG-fNIRS BCIs (<xref ref-type="bibr" rid="ref79">Khan et al., 2020</xref>; <xref ref-type="bibr" rid="ref91">Liu et al., 2021</xref>), EEG-based BCIs alone is more common, since it has lower costs and has greater ease of use compared to the other signals detection techniques (<xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>).</p>
<p>Brain-Computer Interface in which the user intention is substantial for reaching the aim of the application can be defined as &#x201C;active BCI&#x201D;; instead, when the system automatically detects specific mental patterns or activations to give feedback or control devices, can be called &#x201C;passive BCI.&#x201D; Following this logic, Affective Computing implying EEG inputs fall into the category of &#x201C;passive BCI&#x201D; (<xref ref-type="bibr" rid="ref5">Al-Nafjan et al., 2017</xref>). The definition of &#x201C;reactive BCI&#x201D; is also reported, concerning the detection of the automatic brain reactions to a stimulus (e.g., with Event-Related Potentials; <xref ref-type="bibr" rid="ref66">Hramov et al., 2021</xref>).</p>
<p>To proceed with the recording, the closer the source the electrodes are positioned, the clearer the recording will result in less background noise. At the same time, the placement of very deep electrodes develops medical and safety issues (<xref ref-type="bibr" rid="ref151">Wolpaw et al., 2002</xref>). In this article, we will focus only on biosensors on the scalp but invasive BCI systems based on Electrocorticography (ECoG), or intracranial electroencephalography (iEEG), where the electrodes are lying on the cortical surface or <italic>via</italic> Intracortical neuron recording (<xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>; <xref ref-type="bibr" rid="ref78">Kandel et al., 2021</xref>), are also described in the literature as experimental applications suitable for extreme cases (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>).</p>
<p>The BCI systems based on EEG are divided depending on the logic applied and the resulting type of waves that are detected to work (<xref ref-type="bibr" rid="ref151">Wolpaw et al., 2002</xref>; <xref ref-type="bibr" rid="ref124">Schalk et al., 2004</xref>; <xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>):</p>
<list list-type="bullet">
<list-item>
<p><italic>Event-Related Potential</italic> (ERP; e.g., P300), Visual Evoked Potentials (VEPs), and Slow Cortical Potentials are specific-shaped waves detected after a standard quantity of time (ms) after the presentation of specific stimuli.</p>
</list-item>
<list-item>
<p><italic>Sensorimotor rhythms</italic> are divided into the frequencies of 8&#x2013;12&#x2009;Hz (mu wave) and 18&#x2013;26&#x2009;Hz (beta wave). They are recorded above the sensorimotor cortex and associated with movements and sensations, real and imagined. The control of their amplitude, even in the absence of movements and sensations can be trained and used as output.</p>
</list-item>
</list>
<p><xref ref-type="bibr" rid="ref2">Aggarwal and Chugh (2022)</xref> review the studies published after 2009 concerning ML and BCI based on EEG, finding that 44% of the studies are based on Motor Imagery, 37% on P300, and 19% on SSVEP (<xref ref-type="bibr" rid="ref2">Aggarwal and Chugh, 2022</xref>).</p>
<p>After the signal acquisition is performed, data is digitized and processed. Signal processing is composed of a feature extraction phase and the translation algorithm: in the feature extraction, only specific data are selected, to decrease the computational cost, while the translation algorithm consists of a ML algorithm, which translates, as the name implies, data into an output suitable command devices (<xref ref-type="bibr" rid="ref151">Wolpaw et al., 2002</xref>; <xref ref-type="bibr" rid="ref124">Schalk et al., 2004</xref>; <xref ref-type="bibr" rid="ref53">Graimann et al., 2010</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>; <xref rid="fig4" ref-type="fig">Figure 4</xref>).</p>
<fig position="float" id="fig4">
<label>Figure 4</label>
<caption>
<p>Brain-Computer Interface (BCI) system allows a loop communication between the brain and the computer.</p>
</caption>
<graphic xlink:href="fpsyg-13-1066317-g004.tif"/>
</fig>
<p>For example, <xref ref-type="bibr" rid="ref124">Schalk et al. (2004)</xref> describe how they have implemented BCI2000, an open-source suite of software for BCI frameworks. Its structure follows the modules necessary for processing a BCI stream of data, starting from an EEG, to become an input for a human-computer interface. The source module is deputed to digitize the brain&#x2019;s data and memorize data, with eventual event markers. In the signal processing module, feature extraction is performed through linear transformations, which convert the input into microvolts and create a spatial and a temporal filter, while the proper translation algorithm consists of two linear transformations, a classifier, and a normalizer.</p>
<p>After that, the user application module uses the data received from the former module to send feedback to the user: this could be embedded in a visual application, or be presented as an auditory or haptic signal, or move a prosthesis. As last, the operator module allows the caregiver to supervise and modify parameters thanks to a graphical interface. Described use cases include navigation with the computer cursor, use of audio&#x2013;video, and spelling applications (<xref ref-type="bibr" rid="ref124">Schalk et al., 2004</xref>).</p>
<p>The use of ML techniques in BCI frameworks, are described in <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil (2012)</xref>, in which are listed as algorithms for features extraction and selection techniques PCA, Independent Component Analysis, AutoRegressive Components, Matched Filtering, Wavelet Transform, Common Spatial Pattern, Genetic Algorithm, and Sequential Selection. The most frequent classificators reported are Bayesian analysis, pLDA, SVM, k-NN, and Artificial NNs; furthermore, are described some regression approaches, rather than classification (<xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>).</p>
<p>As state-of-the-art nowadays, <xref ref-type="bibr" rid="ref27">Chamola et al. (2020)</xref> reviewed studies on BCI based on EEG, ECoG, and Near-Infrared Spectroscopy (NIRS). The learning paradigms described employed to achieve the BCI goal are all classifiers. As most frequent algorithms reported are pLDA, SVM, Artificial NNs, and Statistical classifiers (<xref ref-type="bibr" rid="ref27">Chamola et al., 2020</xref>).</p>
<p>Similarly, <xref ref-type="bibr" rid="ref25">Cao (2020)</xref> reviews ML implementation for EEG-based BCI: classification is described also here as the fundamental learning strategy for BCI, with linear SVM and pLDA algorithms as the best performers. Various kinds of learning are nevertheless finding their place alongside these more traditional ML approaches: Deep Learning (DL) approaches (i.e., NNs, recurrent NNs, and generative adversarial networks) are indeed used in the EEG extraction phase, and then combined with more classic ML algorithms (<xref ref-type="bibr" rid="ref25">Cao, 2020</xref>).</p>
<p><xref ref-type="bibr" rid="ref2">Aggarwal and Chugh (2022)</xref> focalize the use of ML algorithms divided by type of input. In BCI commanded with motor imagery, SVM performs a better classification (two-class or multi-class) than LDA and k-NN (with more computational costs); in P300-BCI, LDA (especially StepwiseLDA and Regularized discriminant analysis) has better results than SVM, alongside with the deep learning model Convolutional neural networks (CNN). Also in SSVEPs applications, SVM is the most frequent algorithm followed by LDA and k-NN, while CNN usage is rising (<xref ref-type="bibr" rid="ref2">Aggarwal and Chugh, 2022</xref>).</p>
<p><xref ref-type="bibr" rid="ref6">Alzahab et al. (2021)</xref>, focus on the passage in BCI implementation from more classic ML systems to a combination of DL algorithms, called hybrid DL (hDL): EEG remains the most frequent data recording source, which typically demanded a mandatory complex pre-processing phase. With the introduction of hDL, the pre-processing phase results were performed by just 21.28% of studies, demonstrating how this kind of learning mode could overcome EEG&#x2019;s Signal-to-Noise Ratio: moreover, the utilization of temporal features for BCI with hDL reach 93.94% accuracy. The most common algorithm reported is Convolutional NNs-Recurrent NNs. In addition, the implementation (in half of the reviewed studies) of DL systems with a low number of layers, diminishing both complexity and computational costs, opens up further future potential applications (<xref ref-type="bibr" rid="ref6">Alzahab et al., 2021</xref>).</p>
<p>Despite the improvements due to advances in instrumentation and algorithms, some downsides still need to be considered. For example, <xref ref-type="bibr" rid="ref66">Hramov et al. (2021)</xref> consider (1) slow data transfer, which still makes feel the feedback unnatural, (2) an excess of false positives, (3) an essential need for assistance for the user (especially for physically impaired people), (4) the impossibility of starting the BCI system with a BCI signal (also when shutdown through BCI is available), (5) a high cognitive load need for the BCI control, which pairs with the need of a non-distracting environment, and (6) the lack of standardization among the device models (<xref ref-type="bibr" rid="ref66">Hramov et al., 2021</xref>).</p>
<p>One of the main deputy areas of application for BCI is the communication enabling of subjects with severe muscular or neurological damages, like Amyotrophic Lateral Sclerosis (ALS; <xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>). An example is the Hex-O-Spell interface, which uses a paradigm similar to the Berlin BCI (BBCI) project. Hex-O-Spell, presented in <xref ref-type="bibr" rid="ref14">Blankertz et al. (2007)</xref>, permits, classifying the sensorimotor rhythms of two different imagined movements (e.g., right hand and right foot movements) to rotate an arrow pointing to six hexagons. Each hexagon contains a letter group and leads to another group of hexagons, one for each letter; the layout of the next hexagon is re-ordered, following a probability distribution, which permitted some prediction of the next choice (<xref ref-type="bibr" rid="ref14">Blankertz et al., 2007</xref>). The BBCI framework is described in <xref ref-type="bibr" rid="ref85">Krepki et al. (2007)</xref>: the EEG recording is performed on healthy subjects, who completed multiple trials of right and left-hand movements, both imagined, and executed. EEG data were then preprocessed, windowed, and filtered through a Fast Fourier Transformation and pass-band filters, regularized by the Regularized Fisher Discriminant, and divided into time intervals. Each interval was labeled corresponding to the class of the movement left/right, and the rest state. A final classification with 10-fold cross-validation was implemented <italic>via</italic> SVM and linear programming machines. The final command is sent to the human-interface device, corresponding to the class resulting from the classification (left/right/rest; <xref ref-type="bibr" rid="ref85">Krepki et al., 2007</xref>).</p>
<p>The second aim which leads the study and realization of BCI systems is linked to physical rehabilitation, with solutions related to motor rehabilitation (<xref ref-type="bibr" rid="ref13">Birbaumer, 2006</xref>; <xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>; <xref ref-type="bibr" rid="ref75">Juliano et al., 2020</xref>) or studies on implementing motor aids, such as walking aid (<xref ref-type="bibr" rid="ref81">King et al., 2013</xref>) or prosthetic (<xref ref-type="bibr" rid="ref97">Muller-Putz and Pfurtscheller, 2008</xref>) for people with spinal cord injury.</p>
<p><xref ref-type="bibr" rid="ref123">Saha et al. (2021)</xref> review how a BCI, giving feedback to the patient (acting as a neurofeedback device) is hypothesized to improve the neuroplasticity (the cortical&#x2013;subcortical neural networks reorganization) and cognitive rehabilitation, assisting the user to self-regulate specific brain rhythms (<xref ref-type="bibr" rid="ref123">Saha et al., 2021</xref>).</p>
<p><xref ref-type="bibr" rid="ref89">Leeb et al. (2007)</xref> describe the application of a BCI system to let a spinal cord-injured person navigate in a Virtual Reality (VR) Cave space. The driving inputs were extracted from beta oscillation caused by imagined movement of feet, following the Graz-BCI paradigm. The aim of the simulation was to travel along a street, stopping by certain avatars; the subject reached a performance of 100% after four runs (<xref ref-type="bibr" rid="ref89">Leeb et al., 2007</xref>). The Graz-BCI bases its functionality on the classification of motor imagery (e.g., right-hand versus left-hand movements). This purpose is achieved by recording the EEG activity of a subject repeatedly imagining the intended movements. After that, a feature extraction phase is performed by calculating the EEG band power and applying adaptive autoregressive parameters, and common spatial filters. The translation algorithm is modeled with a neural network and a linear discriminant analysis (<xref ref-type="bibr" rid="ref113">Pfurtscheller et al., 2000</xref>).</p>
<p>Brain-Computer Interface for simulated motion is also present in the brain-controlled wheelchair by <xref ref-type="bibr" rid="ref117">Rebsamen et al. (2010)</xref>, in which a P300 detection system is implemented to select a destination among pre-definite locations in a VR house (<xref ref-type="bibr" rid="ref117">Rebsamen et al., 2010</xref>).</p>
<p><xref ref-type="bibr" rid="ref97">Muller-Putz and Pfurtscheller (2008)</xref> tested instead the use of a two-axes-moving hand prosthesis, designed for spinal cord-injured people, on four healthy subjects. The selected modality implemented steady-state VEPs (SSVEPs) to discriminate four classes of commands (left, right, open, and close). The &#x201C;frequency-coded selection by SSVEPs&#x201D; (<xref ref-type="bibr" rid="ref48">Gao et al., 2003</xref>) was implemented through an array of LED targets flickering at different frequencies. Staring at one specific LED produces SSVEPs in the brain, with a frequency equal to the flickering frequency of the target. The classification learning resulted in an accuracy of between 44 and 88% (<xref ref-type="bibr" rid="ref97">Muller-Putz and Pfurtscheller, 2008</xref>).</p>
<p>The last aims of a BCI device are interaction with and control of the environment, and entertainment (<xref ref-type="bibr" rid="ref101">Nicolas-Alonso and Gomez-Gil, 2012</xref>). In this context, <xref ref-type="bibr" rid="ref48">Gao et al. (2003)</xref> produced a prototype of a remote controller, which could handle 48 target functions for interfacing with household appliances. The system is based on SSVEP, chosen for its transfer rate level and ease of use. In detail, the &#x201C;frequency-coded selection by SSVEPs&#x201D; was implemented, with an array of LEDs on a 6&#x2009;&#x00D7;&#x2009;8 visual panel, connected to an infrared remote controller. 87.5% average accuracy was reached, with an average selection time of 3.8&#x2009;s (<xref ref-type="bibr" rid="ref48">Gao et al., 2003</xref>). Other types of support to daily life activities are represented by the possibility of using a cursor to interact with specifically implemented graphic interfaces: <xref ref-type="bibr" rid="ref146">Vaughan et al. (2006)</xref> used both sensorimotor rhythms and P300 to permit the movement of a cursor in two dimensions (<xref ref-type="bibr" rid="ref146">Vaughan et al., 2006</xref>), and similar outcomes were obtained with a combination of P300 and Mu/Beta rhythm in motor imagery (<xref ref-type="bibr" rid="ref90">Li et al., 2010</xref>); additionally, even one of the earliest applications of the BBCI is the control of a Pacman video game, intended just for entertainment (<xref ref-type="bibr" rid="ref85">Krepki et al., 2007</xref>).</p>
<p>Interaction and control of robots could also aid interaction between the impaired person and the environment, and research is focusing on such applications, despite some safety concerns (<xref ref-type="bibr" rid="ref25">Cao, 2020</xref>). Grasping, telepresence, communication, and navigation in interesting environments (e.g., museums) are also possible practical applications of BCI systems (<xref ref-type="bibr" rid="ref27">Chamola et al., 2020</xref>).</p>
<p>Brain-Computer Interface caused a lot of enthusiasm in the &#x2018;00s, but despite the technological improvements of recent years, this trend seems to have reversed. This should cause concerns about their actual functionality and practicality for people usually with severe disabilities: the focus on the final user and on the cost&#x2013;benefit ratio of new technologies is often lacking in the design phases, which may bring researchers even farther away from the patient bedside.</p>
</sec>
</sec>
<sec id="sec10">
<label>5.</label>
<title>Challenges in ML and future scenarios</title>
<p>Machine Learning offers several benefits to clinical practice, but it is not exempt from possible drawbacks, some of which are made evident from the ethics perspective. Firstly, ML algorithms used to analyze biosignals represent a mediator between clinicians&#x2019; decision-making and patients, raising some concerns related to the transparency of the information provided to both the patient and the clinician. Given the structural complexity of some algorithms (e.g., DNNs), adoption of these tools (and of their predictions) does not allow for a complete understanding of the processes that take place within their hidden layers, not allowing for a full disclosure of information relating to patient care, and thus undermining the clinician&#x2019;s full decision-making autonomy (<xref ref-type="bibr" rid="ref148">Vellido, 2020</xref>). Secondly, the exponential increase in the use of digitized sensitive data is not accompanied by a parallel development of laws and regulations for sensitive Big Data use, and this creates some issues related to privacy, security, and informed consent (<xref ref-type="bibr" rid="ref45">Floridi et al., 2019</xref>; <xref ref-type="bibr" rid="ref140">Tsamados et al., 2022</xref>). There is also a lack of proper infrastructure for data acquisition and storage (<xref ref-type="bibr" rid="ref64">Hossain et al., 2019</xref>; <xref ref-type="bibr" rid="ref72">Jacobson et al., 2020</xref>; <xref ref-type="bibr" rid="ref76">Kaissis et al., 2020</xref>). Lastly, patients and healthcare providers frequently do not trust the use of artificial intelligence models in a medical/clinical setting due to a lack of adequate training or precise information about ML algorithms&#x2019; functioning (<xref ref-type="bibr" rid="ref8">Asan et al., 2020</xref>; <xref ref-type="bibr" rid="ref56">Grote and Berens, 2020</xref>). Furthermore, without specific guidelines, healthcare specialists risk overreliance on AI predictions, thus possibly leading to a lower assumption of responsibility (<xref ref-type="bibr" rid="ref120">Riva et al., 2022</xref>).</p>
<p>To overcome these problems, seven essential factors for building ethical AI have been ideated (<xref ref-type="bibr" rid="ref46">Floridi et al., 2020</xref>): (i) falsifiability and incremental deployment; (ii) safeguards against the manipulation of predictors; (iii) receiver-contextualized intervention; (iv) receiver-contextualized explanation and transparent purposes; (v) privacy protection and data subject consent; (vi) situational fairness; and (vii) human-friendly semanticization. Similarly, <xref ref-type="bibr" rid="ref147">Vayena et al. (2018)</xref> emphasize that in order to earn patient trust and provider adoption, ML systems should fully align with the following requirements: (i) data sourcing should comply with privacy and security requirements; (ii) ML system diffusion should meet transparency requirements, and (iii) algorithm training and validation should respect fairness requirements (<xref ref-type="bibr" rid="ref147">Vayena et al., 2018</xref>).</p>
<p>According to <xref ref-type="bibr" rid="ref148">Vellido (2020)</xref>, to contribute to the diffusion of ML tools in health settings, it is critical to focus on strategies for improving data and model visualization, as well as involve clinical professionals in the design of data analysis and interpretation strategies (<xref ref-type="bibr" rid="ref148">Vellido, 2020</xref>).</p>
<p>Indeed, clinical professionals can bring their sectoral expertise in all the phases of the ML process, optimizing it: they can collaborate on the creation of a dataset that is as free of bias as possible, and truly representative of the characteristics of the whole clinical population of interest. Poor data selection, due to biases, bad examples, and labels inaccuracy, might lead to the &#x201C;garbage in, garbage out&#x201D; phenomenon and poorly working models. When it comes to algorithms applied to the population, for example, cases have been reported in which the sample selection underrepresented or disadvantaged women and non-white people (<xref ref-type="bibr" rid="ref38">Dieterich et al., 2016</xref>; <xref ref-type="bibr" rid="ref70">Intahchomphoo and Gundersen, 2020</xref>), posing a wide range of ethical fairness issues (<xref ref-type="bibr" rid="ref103">Ntoutsi et al., 2020</xref>). Furthermore, in mental health, large datasets required for good AI predictions are rare, and a high drop-out rate hinders the collection of longitudinal data: this could result in a non-representative set of data (<xref ref-type="bibr" rid="ref12">Bickman, 2020</xref>). In clinical and psychiatric notes, for example, statistically significant differences in prediction errors by race, gender, and insurance type have been discovered (<xref ref-type="bibr" rid="ref29">Chen et al., 2019</xref>). If supervised models can incorporate human biases from human-chosen data, unsupervised models and black-box systems may produce other types of errors, of unknown nature. In the former case, bias-aware data collection is possible, and models can adhere to ontologies that describe specific data. In the latter case, detecting biases or data noise in non-interpretable models is more complex: AI decisions can only be evaluated retroactively, <italic>via</italic> explainable AI systems (<xref ref-type="bibr" rid="ref103">Ntoutsi et al., 2020</xref>).</p>
<p>In scientific research, especially in fields such as medicine and mental health, explanations of AI behaviors are needed also for the advancement of science and the transparency of discovery, besides their trustworthiness (<xref ref-type="bibr" rid="ref57">Guidotti et al., 2018</xref>). For example, in <xref ref-type="bibr" rid="ref136">Sturm et al. (2016)</xref> a DNN classifier&#x2019;s decision linked to motor imaginary BCI is explained by transforming the results into a relevance heat map. Through the explanation technique of Layer-wise relevance propagation, &#x201C;an explanatory layer&#x201D; is offered to show the EEG activity on the scalp (<xref ref-type="bibr" rid="ref136">Sturm et al., 2016</xref>). Furthermore, <xref ref-type="bibr" rid="ref59">Haufe et al. (2014)</xref> demonstrated that noise in the data does not allow a direct neurophysiological interpretation of the information combined from different EEG channels and decoded as BCI inputs. However, explanation techniques such as transforming backward models (which extract latent factors from observed data) into corresponding forward models (which express data as a function of hidden variables) may improve interpretability (<xref ref-type="bibr" rid="ref59">Haufe et al., 2014</xref>).</p>
<p>Failing to account for racial, gender, and sex differences will result in poor quality results, misjudgments, and discriminatory outcomes (<xref ref-type="bibr" rid="ref33">Cirillo et al., 2020</xref>). For example, several studies highlight gender differences in emotional psychophysiological responses (<xref ref-type="bibr" rid="ref39">Dimberg and Lundquist, 1990</xref>; <xref ref-type="bibr" rid="ref11">Bianchin and Angrilli, 2012</xref>) and stress reactivity (<xref ref-type="bibr" rid="ref126">Schmaus et al., 2008</xref>). Not accounting for these differences during dataset preparation (and thus not inserting as many female pattern examples as male ones) may lead to erroneous emotional and stress detection. Another step in which clinical professionals have an important responsibility is the interpretation of the ML forecasts. In this phase, it is important that the clinician has clearly understood (where possible) the analyses performed by the algorithm, to provide the patient with medical assistance based on clear, precise, and detailed information. Moreover, in this step it is pivotal to employ all empathic communication skills, bearing in mind that the patient may not understand how these technologies work and may not trust the final prediction.</p>
<p>More technical drawbacks are instead related to the lack of generalizability of ML models, often due to missing data, small sample sizes, and heterogeneity of the dataset (<xref ref-type="bibr" rid="ref156">Zhou et al., 2017</xref>; <xref ref-type="bibr" rid="ref139">Thomas et al., 2020</xref>). As explained by <xref ref-type="bibr" rid="ref139">Thomas et al. (2020)</xref>, missing data could be the result of several factors such as errors in human data entry, malfunctioning of the measuring instruments, issues affecting the collection or the processing of the data, and drop-out of participants at follow-up. The small sample size of the datasets is instead due to the fact that in the mental health discipline there are only a few consortia that collect data on patients with neurological and psychiatric problems, and, in most cases, small centers that intend to use ML algorithms have few subjects available to create their own datasets (<xref ref-type="bibr" rid="ref139">Thomas et al., 2020</xref>). Small sample size in turn might lead to other problems (e.g., overfitting, if the model performs well in the training phase but not with unseen data). To overcome small sample datasets, it is possible to aggregate data from diverse sources/sites, but this brings another critical issue, namely, heterogeneity. A heterogeneous dataset is created if different information (sometimes unknown) is included in the dataset. This information might be related to different inclusion and exclusion criteria, different tools used to collect data (e.g., scanners, questionnaires), different procedures or parameters used in the data collection, and different preprocessing pipelines (<xref ref-type="bibr" rid="ref139">Thomas et al., 2020</xref>). The importance of the heterogeneous data for the learning task may vary. As a result, concatenating all of the features and treating them all equally important is unlikely to result in optimal learning outcomes (<xref ref-type="bibr" rid="ref156">Zhou et al., 2017</xref>).</p>
<p>In mental health, the use of ML models is connected to another important technical issue. In many cases, when data from patients are collected to train a ML model, some other &#x201C;unintentional&#x201D; information is included (e.g., physiological noise, unknown noise), and this might prove confounding. As stated by <xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg (2018)</xref>, <bold>&#x201C;the prediction performance becomes inflated if the training data used for model fitting and the testing data are somehow statistically dependent, even if they are contaminated in subtle ways.&#x201D;</bold> The role of other comorbidities that typically patients have, that can affect in a similar way the precision and accuracy of ML models remains to be explored (<xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>).</p>
<p>In the future, we might expect interesting integration scenarios between computational intelligence and other tools capable of collecting biosignals (and not) in a multimodal manner. The emerging VR technology in healthcare may indeed allow the collection of various information, thanks to sensors built into the viewer and sensors which can be placed on an individual&#x2019;s body during a VR assessment (<xref ref-type="bibr" rid="ref119">Riva et al., 2019</xref>). Additionally, recent trends in the rising use of telemedicine systems (particularly after the pandemic) indicate that an increasing number of people will receive remote medical assistance in the future. This implies the need for researching the best ways to provide medical and psychological services remotely, with a focus on how to maximize the benefits of the integration of various devices (apps, smart watches, etc.) to address the patient&#x2019;s individual needs.</p>
</sec>
<sec id="sec11" sec-type="conclusions">
<label>6.</label>
<title>Conclusions</title>
<p>This article illustrated how mental health disciplines can benefit from the applications of certain branches of Computational Intelligence, such as ML. The most commonly used biosignals in psychology and mental health were firstly described, along with their most interesting components, and relative psychological correlates.</p>
<p>The fundamental phases of ML were defined: pre-processing (comprehending in turn data cleaning, reduction, and transformation), training, validation, and testing. It is critical that each of these steps is completed accurately in order to avoid the model being towed on a dataset that is too small, has implicit bias, or has missing data/errors, that would prevent the model from generalizing the forecasts. Furthermore, the ML training phase was described in detail in terms of which kind of learning algorithms can be used according to specific research questions/tasks and available data information. Indeed, we can distinguish supervised, unsupervised, semi-supervised, and reinforcement learning algorithms, with varying degrees of freedom on the amount of &#x201C;supervision&#x201D; and teaching they receive when learning the patterns from the initial dataset (as well as other differences in shape and structure). Validation and test phases were also illustrated, to underline how they are reliable for generalization and to avoid overfitting.</p>
<p>Despite the discussed drawbacks, ML application to mental health fields and biosignals interpretation is desirable since it has the potential to produce more reproducible and generalizable results in neuropsychological research (<xref ref-type="bibr" rid="ref20">Breiman, 2001</xref>; <xref ref-type="bibr" rid="ref22">Bzdok and Meyer-Lindenberg, 2018</xref>). This is possible because ML allows complex and multi-modal data elaboration which leads to probabilistic results, expanding current understanding of the human mind, physiology, and behavior, as well as being beneficial for the personalization of the mental health field. For this latter point, clinical Big Data (analyzed with ML) will be increasingly bent to serve individuals&#x2019; needs through Precision Medicine, an approach to healthcare that uses technology to find appropriate individual solutions to clinical conditions, resulting in more humane treatments for complex or rare conditions (<xref ref-type="bibr" rid="ref32">Cipresso and Immekus, 2017</xref>; <xref ref-type="bibr" rid="ref105">Orr&#x00F9; et al., 2019</xref>; <xref ref-type="bibr" rid="ref122">Rutledge et al., 2019</xref>; <xref ref-type="bibr" rid="ref142">Tuena et al., 2020</xref>).</p>
<p>Machine Learning also allows cutting-edge clinical applications like Affective Computing and BCIs. Affective Computing applies ML models to interpret biosignals and extrapolate information about emotional states: breathing, ECG, BVP, SC, and facial muscles EMG can be processed through supervised learning classification models for categorizing emotional arousal and valence. BCI allows the creation of a human-computer real-time loop that returns the user feedback (<italic>via</italic> computer) that translates into actions based on the user&#x2019;s intentions. Since its beginnings, BCI has relied heavily on supervised ML models for EEG signal analysis; however, its performance is improving thanks to the increasing use of DL algorithms. Applications in mental health range from allowing patients with movement disorders to move a wheelchair, or people with speech impediments to communicate <italic>via</italic> computer. We have seen that integration between BCI, and affective computing is still today a little explored area of medical sciences, even if some studies have been conducted in the fields of Biofeedback or Neurofeedback training.</p>
</sec>
<sec id="sec12">
<title>Author contributions</title>
<p>ES, GR, CT, and PC contributed to the conception and design of the study. ES wrote the first draft of the manuscript. ES and SB wrote sections of the manuscript. SB conceived and produced the images. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec id="sec13" sec-type="funding-information">
<title>Funding</title>
<p>Research funded by the Italian Ministry of Health (POSTECH: 39C801_2018).</p>
</sec>
<sec id="conf1" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="sec100" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>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.</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<ref id="ref1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aftanas</surname> <given-names>L.</given-names></name> <name><surname>Varlamov</surname> <given-names>A.</given-names></name> <name><surname>Pavlov</surname> <given-names>S.</given-names></name> <name><surname>Makhnev</surname> <given-names>V.</given-names></name> <name><surname>Reva</surname> <given-names>N.</given-names></name></person-group> (<year>2001</year>). <article-title>Event-related synchronization and desynchronization during affective processing: emergence of valence-related time-dependent hemispheric asymmetries in theta and upper alpha band</article-title>. <source>Int. J. Neurosci.</source> <volume>110</volume>, <fpage>197</fpage>&#x2013;<lpage>219</lpage>. doi: <pub-id pub-id-type="doi">10.3109/00207450108986547</pub-id>, PMID: <pub-id pub-id-type="pmid">11912870</pub-id></citation></ref>
<ref id="ref2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aggarwal</surname> <given-names>S.</given-names></name> <name><surname>Chugh</surname> <given-names>N.</given-names></name></person-group> (<year>2022</year>). <article-title>Review of machine learning techniques for EEG based brain computer Interface</article-title>. <source>Arch. Comput. Meth. Eng. State Art Rev.</source> <volume>29</volume>, <fpage>3001</fpage>&#x2013;<lpage>3020</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11831-021-09684-6</pub-id></citation></ref>
<ref id="ref3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Akselrod</surname> <given-names>S.</given-names></name> <name><surname>Eliash</surname> <given-names>S.</given-names></name> <name><surname>Oz</surname> <given-names>O.</given-names></name> <name><surname>Cohen</surname> <given-names>S.</given-names></name></person-group> (<year>1987</year>). <article-title>Hemodynamic regulation in SHR: investigation by spectral analysis</article-title>. <source>Am. J. Phys. Heart Circ. Phys.</source> <volume>253</volume>, <fpage>H176</fpage>&#x2013;<lpage>H183</lpage>. doi: <pub-id pub-id-type="doi">10.1152/ajpheart.1987.253.1.h176</pub-id></citation></ref>
<ref id="ref4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Al-Fahoum</surname> <given-names>A. S.</given-names></name> <name><surname>Al-Fraihat</surname> <given-names>A. A.</given-names></name></person-group> (<year>2014</year>). <article-title>Methods of EEG signal features extraction using linear analysis in frequency and time-frequency domains</article-title>. <source>ISRN Neurosci.</source> <volume>2014</volume>:<fpage>730218</fpage>. doi: <pub-id pub-id-type="doi">10.1155/2014/730218</pub-id></citation></ref>
<ref id="ref5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Al-Nafjan</surname> <given-names>A.</given-names></name> <name><surname>Hosny</surname> <given-names>M.</given-names></name> <name><surname>Al-Ohali</surname> <given-names>Y.</given-names></name> <name><surname>Al-Wabil</surname> <given-names>A.</given-names></name></person-group> (<year>2017</year>). <article-title>Review and classification of emotion recognition based on EEG brain-computer Interface system research: a systematic review</article-title>. <source>NATO Adv. Sci. Institutes Ser. E Appl. Sci.</source> <volume>7</volume>:<fpage>1239</fpage>. doi: <pub-id pub-id-type="doi">10.3390/app7121239</pub-id></citation></ref>
<ref id="ref6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alzahab</surname> <given-names>N. A.</given-names></name> <name><surname>Apollonio</surname> <given-names>L.</given-names></name> <name><surname>Di Iorio</surname> <given-names>A.</given-names></name> <name><surname>Alshalak</surname> <given-names>M.</given-names></name> <name><surname>Iarlori</surname> <given-names>S.</given-names></name> <name><surname>Ferracuti</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Hybrid deep learning (hDL)-based brain-computer Interface (BCI) systems: a systematic review</article-title>. <source>Brain Sci.</source> <volume>11</volume>:<fpage>75</fpage>. doi: <pub-id pub-id-type="doi">10.3390/brainsci11010075</pub-id>, PMID: <pub-id pub-id-type="pmid">33429938</pub-id></citation></ref>
<ref id="ref7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Anders</surname> <given-names>C.</given-names></name> <name><surname>Arnrich</surname> <given-names>B.</given-names></name></person-group> (<year>2022</year>). <article-title>Wearable electroencephalography and multi-modal mental state classification: a systematic literature review</article-title>. <source>Comput. Biol. Med.</source> <volume>150</volume>:<fpage>106088</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.compbiomed.2022.106088</pub-id>, PMID: <pub-id pub-id-type="pmid">36137314</pub-id></citation></ref>
<ref id="ref8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Asan</surname> <given-names>O.</given-names></name> <name><surname>Bayrak</surname> <given-names>A. E.</given-names></name> <name><surname>Choudhury</surname> <given-names>A.</given-names></name></person-group> (<year>2020</year>). <article-title>Artificial intelligence and human Trust in Healthcare: focus on clinicians</article-title>. <source>J. Med. Internet Res.</source> <volume>22</volume>:<fpage>e15154</fpage>. doi: <pub-id pub-id-type="doi">10.2196/15154</pub-id>, PMID: <pub-id pub-id-type="pmid">32558657</pub-id></citation></ref>
<ref id="ref9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Athreya</surname> <given-names>A. P.</given-names></name> <name><surname>Iyer</surname> <given-names>R.</given-names></name> <name><surname>Wang</surname> <given-names>L.</given-names></name> <name><surname>Weinshilboum</surname> <given-names>R. M.</given-names></name> <name><surname>Bobo</surname> <given-names>W. V.</given-names></name></person-group> (<year>2019</year>). <article-title>Integration of machine learning and Pharmacogenomic biomarkers for predicting response to antidepressant treatment: can computational intelligence be used to augment clinical assessments?</article-title> <source>Pharmacogenomics</source> <volume>20</volume>, <fpage>983</fpage>&#x2013;<lpage>988</lpage>. doi: <pub-id pub-id-type="doi">10.2217/pgs-2019-0119</pub-id>, PMID: <pub-id pub-id-type="pmid">31559920</pub-id></citation></ref>
<ref id="ref10"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Barrett</surname> <given-names>L. F.</given-names></name> <name><surname>Lewis</surname> <given-names>M.</given-names></name> <name><surname>Haviland-Jones</surname> <given-names>J. M.</given-names></name></person-group>. (<year>2016</year>). <source>Handbook of Emotions</source>, <edition>4th Edn</edition>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Guilford Publications</publisher-name>.</citation></ref>
<ref id="ref11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bianchin</surname> <given-names>M.</given-names></name> <name><surname>Angrilli</surname> <given-names>A.</given-names></name></person-group> (<year>2012</year>). <article-title>Gender differences in emotional responses: a psychophysiological study</article-title>. <source>Physiol. Behav.</source> <volume>105</volume>, <fpage>925</fpage>&#x2013;<lpage>932</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.physbeh.2011.10.031</pub-id></citation></ref>
<ref id="ref12"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bickman</surname> <given-names>L.</given-names></name></person-group> (<year>2020</year>). <article-title>Improving mental health services: a 50-year journey from randomized experiments to artificial intelligence and precision mental health</article-title>. <source>Admin. Pol. Ment. Health</source> <volume>47</volume>, <fpage>795</fpage>&#x2013;<lpage>843</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s10488-020-01065-8</pub-id>, PMID: <pub-id pub-id-type="pmid">32715427</pub-id></citation></ref>
<ref id="ref13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Birbaumer</surname> <given-names>N.</given-names></name></person-group> (<year>2006</year>). <article-title>Breaking the silence: brain-computer interfaces (BCI) for communication and motor control</article-title>. <source>Psychophysiology</source> <volume>43</volume>, <fpage>517</fpage>&#x2013;<lpage>532</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1469-8986.2006.00456.x</pub-id>, PMID: <pub-id pub-id-type="pmid">17076808</pub-id></citation></ref>
<ref id="ref14"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Blankertz</surname> <given-names>B.</given-names></name> <name><surname>Krauledat</surname> <given-names>M.</given-names></name> <name><surname>Dornhege</surname> <given-names>G.</given-names></name> <name><surname>Williamson</surname> <given-names>J.</given-names></name> <name><surname>Murray-Smith</surname> <given-names>R.</given-names></name> <name><surname>M&#x00FC;ller</surname> <given-names>K.-R.</given-names></name></person-group> (<year>2007</year>). &#x201C;<article-title>A note on brain actuated spelling with the Berlin brain-computer Interface</article-title>,&#x201D; in <source>Universal Access in Human-Computer Interaction. Ambient Interaction</source> (<publisher-loc>Berlin Heidelberg</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>759</fpage>&#x2013;<lpage>768</lpage>.</citation></ref>
<ref id="ref15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Blum</surname> <given-names>J.</given-names></name> <name><surname>Rockstroh</surname> <given-names>C.</given-names></name> <name><surname>G&#x00F6;ritz</surname> <given-names>A. S.</given-names></name></person-group> (<year>2019</year>). <article-title>Heart rate variability biofeedback based on slow-paced breathing with immersive virtual reality nature scenery</article-title>. <source>Front. Psychol.</source> <volume>10</volume>:<fpage>2172</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyg.2019.02172</pub-id>, PMID: <pub-id pub-id-type="pmid">31616353</pub-id></citation></ref>
<ref id="ref16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Boiten</surname> <given-names>F. A.</given-names></name> <name><surname>Frijda</surname> <given-names>N. H.</given-names></name> <name><surname>Wientjes</surname> <given-names>C. J.</given-names></name></person-group> (<year>1994</year>). <article-title>Emotions and respiratory patterns: review and critical analysis</article-title>. <source>Int. J. Psychophysiol.</source> <volume>17</volume>, <fpage>103</fpage>&#x2013;<lpage>128</lpage>. doi: <pub-id pub-id-type="doi">10.1016/0167-8760(94)90027-2</pub-id>, PMID: <pub-id pub-id-type="pmid">7995774</pub-id></citation></ref>
<ref id="ref17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bota</surname> <given-names>P. J.</given-names></name> <name><surname>Wang</surname> <given-names>C.</given-names></name> <name><surname>Fred</surname> <given-names>A. L. N.</given-names></name> <name><surname>Da Silva</surname> <given-names>H. P.</given-names></name></person-group> (<year>2019</year>). <article-title>A review, current challenges, and future possibilities on emotion recognition using machine learning and physiological signals</article-title>. <source>IEEE Access.</source> <volume>7</volume>, <fpage>140990</fpage>&#x2013;<lpage>141020</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2019.2944001</pub-id></citation></ref>
<ref id="ref18"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Bradley</surname> <given-names>M. M.</given-names></name> <name><surname>Lang</surname> <given-names>P. J.</given-names></name></person-group> (<year>2007</year>). &#x201C;<article-title>Emotion and motivation</article-title>,&#x201D; in <source>Handbook of Psychophysiology</source>. <edition>3rd</edition> <italic>Edn</italic>. <publisher-name>Cambridge University Press</publisher-name>, <fpage>581</fpage>&#x2013;<lpage>607</lpage>.</citation></ref>
<ref id="ref19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Braithwaite</surname> <given-names>J. J.</given-names></name> <name><surname>Watson</surname> <given-names>D. G.</given-names></name> <name><surname>Jones</surname> <given-names>R.</given-names></name> <name><surname>Rowe</surname> <given-names>M</given-names></name></person-group>. (<year>2013</year>). <article-title>A guide for analysing electrodermal activity (EDA) and skin conductance responses (SCRs) for psychological experiments</article-title>. <source>Psychophysiology</source> <volume>49</volume>, <fpage>1017</fpage>&#x2013;<lpage>1034</lpage>.</citation></ref>
<ref id="ref20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Breiman</surname> <given-names>L.</given-names></name></person-group> (<year>2001</year>). <article-title>Statistical modeling: the two cultures (with comments and a rejoinder by the author)</article-title>. <source>Schweiz. Monatsschr. Fur Zahnheilkd.</source> <volume>16</volume>, <fpage>199</fpage>&#x2013;<lpage>231</lpage>. doi: <pub-id pub-id-type="doi">10.1214/ss/1009213726</pub-id></citation></ref>
<ref id="ref21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Buitelaar</surname> <given-names>J.</given-names></name> <name><surname>B&#x00F6;lte</surname> <given-names>S.</given-names></name> <name><surname>Brandeis</surname> <given-names>D.</given-names></name> <name><surname>Caye</surname> <given-names>A.</given-names></name> <name><surname>Christmann</surname> <given-names>N.</given-names></name> <name><surname>Cortese</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Toward precision medicine in ADHD</article-title>. <source>Front. Behav. Neurosci.</source> <volume>16</volume>:<fpage>900981</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fnbeh.2022.900981</pub-id>, PMID: <pub-id pub-id-type="pmid">35874653</pub-id></citation></ref>
<ref id="ref22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bzdok</surname> <given-names>D.</given-names></name> <name><surname>Meyer-Lindenberg</surname> <given-names>A.</given-names></name></person-group> (<year>2018</year>). <article-title>Machine learning for precision psychiatry: opportunities and challenges</article-title>. <source>Biol. Psychiatry Cogn. Neurosci. Neuroimaging</source> <volume>3</volume>, <fpage>223</fpage>&#x2013;<lpage>230</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.bpsc.2017.11.007</pub-id>, PMID: <pub-id pub-id-type="pmid">29486863</pub-id></citation></ref>
<ref id="ref23"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Cacioppo</surname> <given-names>J. T.</given-names></name> <name><surname>Berntson</surname> <given-names>G. G.</given-names></name> <name><surname>Larsen</surname> <given-names>J. T.</given-names></name> <name><surname>Poehlmann</surname> <given-names>K. M.</given-names></name> <name><surname>Ito</surname> <given-names>T. A</given-names></name></person-group>. (<year>2000</year>). &#x201C;<article-title>The psychophysiology of emotion</article-title>,&#x201D; in <source>Handbook of Emotions</source>. eds. <person-group person-group-type="editor"><name><surname>Lewis</surname> <given-names>M.</given-names></name> <name><surname>Haviland</surname> <given-names>J. M.</given-names></name></person-group> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Guilford Press</publisher-name>).</citation></ref>
<ref id="ref24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Camm</surname> <given-names>A. J.</given-names></name> <name><surname>Malik</surname> <given-names>M.</given-names></name> <name><surname>Bigger</surname> <given-names>J. T.</given-names></name> <name><surname>Breithardt</surname> <given-names>G.</given-names></name> <name><surname>Cerutti</surname> <given-names>S.</given-names></name> <name><surname>Cohen</surname> <given-names>R. J.</given-names></name> <etal/></person-group>. (<year>1996</year>). <article-title>Heart rate variability: standards of measurement, physiological interpretation and clinical use. Task force of the European Society of Cardiology and the north American Society of Pacing and Electrophysiology</article-title>. <source>Circulation</source> <volume>93</volume>, <fpage>1043</fpage>&#x2013;<lpage>1065</lpage>.</citation></ref>
<ref id="ref25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cao</surname> <given-names>Z.</given-names></name></person-group> (<year>2020</year>). <article-title>A review of artificial intelligence for EEG-based brain&#x2212;computer interfaces and applications</article-title>. <source>Brain Sci. Adv.</source> <volume>6</volume>, <fpage>162</fpage>&#x2013;<lpage>170</lpage>. doi: <pub-id pub-id-type="doi">10.26599/bsa.2020.9050017</pub-id></citation></ref>
<ref id="ref26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chabot</surname> <given-names>R. J.</given-names></name> <name><surname>Merkin</surname> <given-names>H.</given-names></name> <name><surname>Wood</surname> <given-names>L. M.</given-names></name> <name><surname>Davenport</surname> <given-names>T. L.</given-names></name> <name><surname>Serfontein</surname> <given-names>G.</given-names></name></person-group> (<year>1996</year>). <article-title>Sensitivity and specificity of QEEG in children with attention deficit or specific developmental learning disorders</article-title>. <source>Clin. EEG</source> <volume>27</volume>, <fpage>26</fpage>&#x2013;<lpage>34</lpage>. doi: <pub-id pub-id-type="doi">10.1177/155005949602700105</pub-id></citation></ref>
<ref id="ref27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chamola</surname> <given-names>V.</given-names></name> <name><surname>Vineet</surname> <given-names>A.</given-names></name> <name><surname>Nayyar</surname> <given-names>A.</given-names></name> <name><surname>Hossain</surname> <given-names>E.</given-names></name></person-group> (<year>2020</year>). <article-title>Brain-computer Interface-based humanoid control: a review</article-title>. <source>Sensors</source> <volume>20</volume>:<fpage>3620</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s20133620</pub-id>, PMID: <pub-id pub-id-type="pmid">32605077</pub-id></citation></ref>
<ref id="ref28"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Chapin</surname> <given-names>T. J.</given-names></name> <name><surname>Russell-Chapin</surname> <given-names>L. A.</given-names></name></person-group>. (<year>2013</year>). <source>Neurotherapy and neurofeedback: Brain-based treatment for psychological and behavioral problems</source>. <publisher-loc>London</publisher-loc>: <publisher-name>Routledge</publisher-name>.</citation></ref>
<ref id="ref29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>I. Y.</given-names></name> <name><surname>Szolovits</surname> <given-names>P.</given-names></name> <name><surname>Ghassemi</surname> <given-names>M.</given-names></name></person-group> (<year>2019</year>). <article-title>Can AI help reduce disparities in general medical and mental health care?</article-title> <source>AMA J. Ethics</source> <volume>21</volume>, <fpage>E167</fpage>&#x2013;<lpage>E179</lpage>. doi: <pub-id pub-id-type="doi">10.1001/amajethics.2019.167</pub-id>, PMID: <pub-id pub-id-type="pmid">30794127</pub-id></citation></ref>
<ref id="ref30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Choi</surname> <given-names>R. Y.</given-names></name> <name><surname>Coyner</surname> <given-names>A. S.</given-names></name> <name><surname>Kalpathy-Cramer</surname> <given-names>J.</given-names></name> <name><surname>Chiang</surname> <given-names>M. F.</given-names></name> <name><surname>Peter Campbell</surname> <given-names>J.</given-names></name></person-group> (<year>2020</year>). <article-title>Introduction to machine learning, neural networks, and deep learning</article-title>. <source>Transl. Vis. Sci. Technol.</source> <volume>9</volume>:<fpage>14</fpage>. doi: <pub-id pub-id-type="doi">10.1167/tvst.9.2.14</pub-id>, PMID: <pub-id pub-id-type="pmid">32704420</pub-id></citation></ref>
<ref id="ref31"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Chollet</surname> <given-names>F.</given-names></name></person-group> (<year>2017</year>). <article-title>Deep learning with python</article-title>. <publisher-loc>New York, NY</publisher-loc>: <source>Manning Publications</source>.</citation></ref>
<ref id="ref32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cipresso</surname> <given-names>P.</given-names></name> <name><surname>Immekus</surname> <given-names>J. C.</given-names></name></person-group> (<year>2017</year>). <article-title>Back to the future of quantitative psychology and measurement: psychometrics in the twenty-first century</article-title>. <source>Front. Psychol.</source> <volume>8</volume>:<fpage>2099</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyg.2017.02099</pub-id>, PMID: <pub-id pub-id-type="pmid">29250020</pub-id></citation></ref>
<ref id="ref33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cirillo</surname> <given-names>D.</given-names></name> <name><surname>Catuara-Solarz</surname> <given-names>S.</given-names></name> <name><surname>Morey</surname> <given-names>C.</given-names></name> <name><surname>Guney</surname> <given-names>E.</given-names></name> <name><surname>Subirats</surname> <given-names>L.</given-names></name> <name><surname>Mellino</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Sex and gender differences and biases in artificial intelligence for biomedicine and healthcare</article-title>. <source>NPJ Digit. Med.</source> <volume>3</volume>:<fpage>81</fpage>. doi: <pub-id pub-id-type="doi">10.1038/s41746-020-0288-5</pub-id>, PMID: <pub-id pub-id-type="pmid">32529043</pub-id></citation></ref>
<ref id="ref34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Clarke</surname> <given-names>A. R.</given-names></name> <name><surname>Barry</surname> <given-names>R. J.</given-names></name> <name><surname>McCarthy</surname> <given-names>R.</given-names></name> <name><surname>Selikowitz</surname> <given-names>M.</given-names></name></person-group> (<year>2001</year>). <article-title>Age and sex effects in the EEG: development of the Normal child</article-title>. <source>Clin. Neurophysiol.</source> <volume>112</volume>, <fpage>806</fpage>&#x2013;<lpage>814</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S1388-2457(01)00488-6</pub-id>, PMID: <pub-id pub-id-type="pmid">11336896</pub-id></citation></ref>
<ref id="ref35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Conradsen</surname> <given-names>I.</given-names></name> <name><surname>Beniczky</surname> <given-names>S.</given-names></name> <name><surname>Wolf</surname> <given-names>P.</given-names></name> <name><surname>Kjaer</surname> <given-names>T. W.</given-names></name> <name><surname>Sams</surname> <given-names>T.</given-names></name> <name><surname>Sorensen</surname> <given-names>H. B. D.</given-names></name></person-group> (<year>2012</year>). <article-title>Automatic multi-modal intelligent seizure acquisition (MISA) system for detection of motor seizures from Electromyographic data and motion data</article-title>. <source>Comput. Methods Prog. Biomed.</source> <volume>107</volume>, <fpage>97</fpage>&#x2013;<lpage>110</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.cmpb.2011.06.005</pub-id>, PMID: <pub-id pub-id-type="pmid">21724291</pub-id></citation></ref>
<ref id="ref36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cooke</surname> <given-names>W. H.</given-names></name> <name><surname>Cox</surname> <given-names>J. F.</given-names></name> <name><surname>Diedrich</surname> <given-names>A. M.</given-names></name> <name><surname>Taylor</surname> <given-names>J. A.</given-names></name> <name><surname>Beightol</surname> <given-names>L. A.</given-names></name> <name><surname>Ames</surname> <given-names>J. E.</given-names> <suffix>4th</suffix></name> <etal/></person-group>. (<year>1998</year>). <article-title>Controlled breathing protocols probe human autonomic cardiovascular rhythms</article-title>. <source>Am. J. Phys.</source> <volume>274</volume>, <fpage>H709</fpage>&#x2013;<lpage>H718</lpage>.</citation></ref>
<ref id="ref37"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Demos</surname> <given-names>J. N.</given-names></name></person-group> (<year>2005</year>). <source>Getting Started With Neurofeedback</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>W. W. Norton &#x0026; Company</publisher-name>.</citation></ref>
<ref id="ref38"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Dieterich</surname> <given-names>W.</given-names></name> <name><surname>Mendoza</surname> <given-names>C.</given-names></name> <name><surname>Brennan</surname> <given-names>T.</given-names></name></person-group>. (<year>2016</year>). <source>COMPAS Risk Scales: Demonstrating Accuracy Equity and Predictive Parity</source>. <publisher-loc>Traverse City, MI</publisher-loc>: <publisher-name>Northpointe Inc</publisher-name>.</citation></ref>
<ref id="ref39"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dimberg</surname> <given-names>U.</given-names></name> <name><surname>Lundquist</surname> <given-names>L. O.</given-names></name></person-group> (<year>1990</year>). <article-title>Gender differences in facial reactions to facial expressions</article-title>. <source>Biol. Psychol.</source> <volume>30</volume>, <fpage>151</fpage>&#x2013;<lpage>159</lpage>. doi: <pub-id pub-id-type="doi">10.1016/0301-0511(90)90024-Q</pub-id></citation></ref>
<ref id="ref40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dwyer</surname> <given-names>D. B.</given-names></name> <name><surname>Falkai</surname> <given-names>P.</given-names></name> <name><surname>Koutsouleris</surname> <given-names>N.</given-names></name></person-group> (<year>2018</year>). <article-title>Machine learning approaches for clinical psychology and psychiatry</article-title>. <source>Annu. Rev. Clin. Psychol.</source> <volume>14</volume>, <fpage>91</fpage>&#x2013;<lpage>118</lpage>. doi: <pub-id pub-id-type="doi">10.1146/annurev-clinpsy-032816-045037</pub-id></citation></ref>
<ref id="ref41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Egner</surname> <given-names>T.</given-names></name> <name><surname>Gruzelier</surname> <given-names>J. H.</given-names></name></person-group> (<year>2004</year>). <article-title>EEG biofeedback of low Beta band components: frequency-specific effects on variables of attention and event-related brain potentials</article-title>. <source>Clin. Neurophysiol.</source> <volume>115</volume>, <fpage>131</fpage>&#x2013;<lpage>139</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S1388-2457(03)00353-5</pub-id>, PMID: <pub-id pub-id-type="pmid">14706480</pub-id></citation></ref>
<ref id="ref42"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Ekman</surname> <given-names>P.</given-names></name> <name><surname>Rosenberg</surname> <given-names>E. L.</given-names></name></person-group>. (<year>2005</year>). <source>What the Face Reveals: Basic and Applied Studies of Spontaneous Expression Using the Facial Action Coding System (FACS)</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation></ref>
<ref id="ref44"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fitzgibbon</surname> <given-names>S. P.</given-names></name> <name><surname>Pope</surname> <given-names>K. J.</given-names></name> <name><surname>Mackenzie</surname> <given-names>L.</given-names></name> <name><surname>Clark</surname> <given-names>C. R.</given-names></name> <name><surname>Willoughby</surname> <given-names>J. O.</given-names></name></person-group> (<year>2004</year>). <article-title>Cognitive tasks augment gamma EEG power</article-title>. <source>Clin. Neurophysiol.</source> <volume>115</volume>, <fpage>1802</fpage>&#x2013;<lpage>1809</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.clinph.2004.03.009</pub-id>, PMID: <pub-id pub-id-type="pmid">15261859</pub-id></citation></ref>
<ref id="ref45"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Floridi</surname> <given-names>L.</given-names></name> <name><surname>Cath</surname> <given-names>C.</given-names></name> <name><surname>Taddeo</surname> <given-names>M.</given-names></name></person-group> (<year>2019</year>). &#x201C;<article-title>Digital ethics: its nature and scope</article-title>&#x201D; in <source>The 2018 Yearbook of the Digital Ethics Lab</source> (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name>), <fpage>9</fpage>&#x2013;<lpage>17</lpage>.</citation></ref>
<ref id="ref46"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Floridi</surname> <given-names>L.</given-names></name> <name><surname>Cowls</surname> <given-names>J.</given-names></name> <name><surname>King</surname> <given-names>T. C.</given-names></name> <name><surname>Taddeo</surname> <given-names>M.</given-names></name></person-group> (<year>2020</year>). <article-title>How to design AI for social good: seven essential factors</article-title>. <source>Sci. Eng. Ethics</source> <volume>26</volume>, <fpage>1771</fpage>&#x2013;<lpage>1796</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11948-020-00213-5</pub-id>, PMID: <pub-id pub-id-type="pmid">32246245</pub-id></citation></ref>
<ref id="ref47"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Frick</surname> <given-names>J.</given-names></name> <name><surname>Rieg</surname> <given-names>T.</given-names></name> <name><surname>Buettner</surname> <given-names>R.</given-names></name></person-group> (<year>2021</year>). &#x201C;<article-title>Detection of schizophrenia: A machine learning algorithm for potential early detection and prevention based on event-related potentials</article-title>.&#x201D; in <source>Proceedings of the 54th Hawaii International Conference on System Sciences</source>, <fpage>3794</fpage>.</citation></ref>
<ref id="ref48"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gao</surname> <given-names>X.</given-names></name> <name><surname>Dingfeng</surname> <given-names>X.</given-names></name> <name><surname>Cheng</surname> <given-names>M.</given-names></name> <name><surname>Gao</surname> <given-names>S.</given-names></name></person-group> (<year>2003</year>). <article-title>A BCI-based environmental controller for the motion-disabled</article-title>. <source>IEEE Trans. Neural Syst. Rehab. Eng.</source> <volume>11</volume>, <fpage>137</fpage>&#x2013;<lpage>140</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TNSRE.2003.814449</pub-id>, PMID: <pub-id pub-id-type="pmid">12899256</pub-id></citation></ref>
<ref id="ref49"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gibbs</surname> <given-names>R. M.</given-names></name> <name><surname>Lipnick</surname> <given-names>S.</given-names></name> <name><surname>Bateman</surname> <given-names>J. W.</given-names></name> <name><surname>Chen</surname> <given-names>L.</given-names></name> <name><surname>Cousins</surname> <given-names>H. C.</given-names></name> <name><surname>Hubbard</surname> <given-names>E. G.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Toward precision medicine for neurological and neuropsychiatric disorders</article-title>. <source>Cell Stem Cell</source> <volume>23</volume>, <fpage>21</fpage>&#x2013;<lpage>24</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.stem.2018.05.019</pub-id>, PMID: <pub-id pub-id-type="pmid">29887317</pub-id></citation></ref>
<ref id="ref50"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Giggins</surname> <given-names>O. M.</given-names></name> <name><surname>Persson</surname> <given-names>U. M.</given-names></name> <name><surname>Caulfield</surname> <given-names>B.</given-names></name></person-group> (<year>2013</year>). <article-title>Biofeedback in rehabilitation</article-title>. <source>J. Neuroeng. Rehabil.</source> <volume>10</volume>:<fpage>60</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1743-0003-10-60</pub-id>, PMID: <pub-id pub-id-type="pmid">23777436</pub-id></citation></ref>
<ref id="ref51"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gloor</surname> <given-names>P.</given-names></name> <name><surname>Ball</surname> <given-names>G.</given-names></name> <name><surname>Schaul</surname> <given-names>N.</given-names></name></person-group> (<year>1977</year>). <article-title>Brain lesions that produce Delta waves in the EEG</article-title>. <source>Neurology</source> <volume>27</volume>, <fpage>326</fpage>&#x2013;<lpage>333</lpage>. doi: <pub-id pub-id-type="doi">10.1212/WNL.27.4.326</pub-id>, PMID: <pub-id pub-id-type="pmid">557774</pub-id></citation></ref>
<ref id="ref52"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Goodfellow</surname> <given-names>I.</given-names></name> <name><surname>Bengio</surname> <given-names>Y.</given-names></name> <name><surname>Courville</surname> <given-names>A.</given-names></name></person-group> (<year>2016</year>). <source>Deep Learning</source>. <publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>MIT Press</publisher-name>.</citation></ref>
<ref id="ref53"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Graimann</surname> <given-names>B.</given-names></name> <name><surname>Allison</surname> <given-names>B.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name></person-group> (<year>2010</year>). &#x201C;<article-title>Brain&#x2013;computer interfaces: a gentle introduction</article-title>,&#x201D; in <source>Brain-Computer Interfaces: Revolutionizing Human-Computer Interaction</source>. eds. <person-group person-group-type="editor"><name><surname>Graimann</surname> <given-names>B.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name> <name><surname>Allison</surname> <given-names>B.</given-names></name></person-group> (<publisher-loc>Berlin, Heidelberg</publisher-loc>: <publisher-name>Springer Berlin Heidelberg</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>27</lpage>.</citation></ref>
<ref id="ref54"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Gromala</surname> <given-names>D.</given-names></name> <name><surname>Tong</surname> <given-names>X.</given-names></name> <name><surname>Choo</surname> <given-names>A.</given-names></name> <name><surname>Karamnejad</surname> <given-names>M.</given-names></name> <name><surname>Shaw</surname> <given-names>C. D.</given-names></name></person-group> (<year>2015</year>). &#x201C;The virtual meditative walk.&#x201D; In <italic>Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems-CHI&#x2019;15</italic>. New York, NY: ACM Press.</citation></ref>
<ref id="ref55"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gronfier</surname> <given-names>C.</given-names></name> <name><surname>Luthringer</surname> <given-names>R.</given-names></name> <name><surname>Follenius</surname> <given-names>M.</given-names></name> <name><surname>Schaltenbrand</surname> <given-names>N.</given-names></name> <name><surname>Macher</surname> <given-names>J. P.</given-names></name> <name><surname>Muzet</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>1996</year>). <article-title>A quantitative evaluation of the relationships between growth hormone secretion and Delta wave electroencephalographic activity during Normal sleep and after enrichment in Delta waves</article-title>. <source>Sleep</source> <volume>19</volume>, <fpage>817</fpage>&#x2013;<lpage>824</lpage>. doi: <pub-id pub-id-type="doi">10.1093/sleep/19.10.817</pub-id>, PMID: <pub-id pub-id-type="pmid">9085491</pub-id></citation></ref>
<ref id="ref56"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grote</surname> <given-names>T.</given-names></name> <name><surname>Berens</surname> <given-names>P.</given-names></name></person-group> (<year>2020</year>). <article-title>On the ethics of algorithmic decision-making in healthcare</article-title>. <source>J. Med. Ethics</source> <volume>46</volume>, <fpage>205</fpage>&#x2013;<lpage>211</lpage>. doi: <pub-id pub-id-type="doi">10.1136/medethics-2019-105586</pub-id>, PMID: <pub-id pub-id-type="pmid">31748206</pub-id></citation></ref>
<ref id="ref57"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guidotti</surname> <given-names>R.</given-names></name> <name><surname>Monreale</surname> <given-names>A.</given-names></name> <name><surname>Ruggieri</surname> <given-names>S.</given-names></name> <name><surname>Turini</surname> <given-names>F.</given-names></name> <name><surname>Giannotti</surname> <given-names>F.</given-names></name> <name><surname>Pedreschi</surname> <given-names>D.</given-names></name></person-group> (<year>2018</year>). <article-title>A survey of methods for explaining black box models</article-title>. <source>ACM Comput. Surv.</source> <volume>93</volume>, <fpage>1</fpage>&#x2013;<lpage>42</lpage>. doi: <pub-id pub-id-type="doi">10.1145/3236009</pub-id></citation></ref>
<ref id="ref58"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hasnul</surname> <given-names>M. A.</given-names></name> <name><surname>Aziz</surname> <given-names>N. A. A.</given-names></name> <name><surname>Alelyani</surname> <given-names>S.</given-names></name> <name><surname>Mohana</surname> <given-names>M.</given-names></name> <name><surname>Aziz</surname> <given-names>A. A.</given-names></name></person-group> (<year>2021</year>). <article-title>Electrocardiogram-based emotion recognition systems and their applications in healthcare&#x2014;a review</article-title>. <source>Sensors</source> <volume>21</volume>:<fpage>5015</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s21155015</pub-id>, PMID: <pub-id pub-id-type="pmid">34372252</pub-id></citation></ref>
<ref id="ref59"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Haufe</surname> <given-names>S.</given-names></name> <name><surname>Meinecke</surname> <given-names>F.</given-names></name> <name><surname>G&#x00F6;rgen</surname> <given-names>K.</given-names></name> <name><surname>D&#x00E4;hne</surname> <given-names>S.</given-names></name> <name><surname>Haynes</surname> <given-names>J.-D.</given-names></name> <name><surname>Blankertz</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>On the interpretation of weight vectors of linear models in multivariate neuroimaging</article-title>. <source>NeuroImage</source> <volume>87</volume>, <fpage>96</fpage>&#x2013;<lpage>110</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neuroimage.2013.10.067</pub-id>, PMID: <pub-id pub-id-type="pmid">24239590</pub-id></citation></ref>
<ref id="ref60"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Healey</surname> <given-names>J. A.</given-names></name> <name><surname>Picard</surname> <given-names>R. W.</given-names></name></person-group> (<year>2005</year>). <article-title>Detecting stress during real-world driving tasks using physiological sensors</article-title>. <source>IEEE Trans. Intell. Transp. Syst.</source> <volume>6</volume>, <fpage>156</fpage>&#x2013;<lpage>166</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TITS.2005.848368</pub-id></citation></ref>
<ref id="ref61"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Herff</surname> <given-names>C.</given-names></name> <name><surname>Heger</surname> <given-names>D.</given-names></name> <name><surname>Putze</surname> <given-names>F.</given-names></name> <name><surname>Hennrich</surname> <given-names>J.</given-names></name> <name><surname>Fortmann</surname> <given-names>O.</given-names></name> <name><surname>Schultz</surname> <given-names>T.</given-names></name></person-group>. (<year>2013</year>). &#x201C;Classification of mental tasks in the prefrontal cortex using fNIRS.&#x201D; In <italic>Conference Proceedings: &#x2026; Annual International Conference of the IEEE Engineering in Medicine and Biology Society</italic>. IEEE Engineering in Medicine and Biology Society. Conference 2013, pp. 2160&#x2013;2163.</citation></ref>
<ref id="ref62"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Herrmann</surname> <given-names>C.</given-names></name> <name><surname>Demiralp</surname> <given-names>T.</given-names></name></person-group> (<year>2005</year>). <article-title>Human EEG gamma oscillations in neuropsychiatric disorders</article-title>. <source>Clin. Neurophysiol.</source> <volume>116</volume>, <fpage>2719</fpage>&#x2013;<lpage>2733</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.clinph.2005.07.007</pub-id></citation></ref>
<ref id="ref63"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hong</surname> <given-names>K.-S.</given-names></name> <name><surname>Naseer</surname> <given-names>N.</given-names></name> <name><surname>Kim</surname> <given-names>Y.-H.</given-names></name></person-group> (<year>2015</year>). <article-title>Classification of prefrontal and motor cortex signals for three-class fNIRS&#x2013;BCI</article-title>. <source>Neurosci. Lett.</source> <volume>587</volume>, <fpage>87</fpage>&#x2013;<lpage>92</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neulet.2014.12.029</pub-id>, PMID: <pub-id pub-id-type="pmid">25529197</pub-id></citation></ref>
<ref id="ref64"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hossain</surname> <given-names>E.</given-names></name> <name><surname>Khan</surname> <given-names>I.</given-names></name> <name><surname>Un-Noor</surname> <given-names>F.</given-names></name> <name><surname>Sikander</surname> <given-names>S. S.</given-names></name> <name><surname>Sunny</surname> <given-names>M. S. H.</given-names></name></person-group> (<year>2019</year>). <article-title>Application of big data and machine learning in smart grid, and associated security concerns: a review</article-title>. <source>IEEE Access.</source> <volume>7</volume>, <fpage>13960</fpage>&#x2013;<lpage>13988</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2019.2894819</pub-id></citation></ref>
<ref id="ref65"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Houston</surname> <given-names>R. J.</given-names></name> <name><surname>Schlienz</surname> <given-names>N. J.</given-names></name></person-group> (<year>2018</year>). <article-title>Event-related potentials as biomarkers of behavior change mechanisms in substance use disorder treatment</article-title>. <source>Biol. Psychiatry Cogn. Neurosci. Neuroimaging</source> <volume>3</volume>, <fpage>30</fpage>&#x2013;<lpage>40</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.bpsc.2017.09.006</pub-id>, PMID: <pub-id pub-id-type="pmid">29397076</pub-id></citation></ref>
<ref id="ref66"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hramov</surname> <given-names>A. E.</given-names></name> <name><surname>Maksimenko</surname> <given-names>V. A.</given-names></name> <name><surname>Pisarchik</surname> <given-names>A. N.</given-names></name></person-group> (<year>2021</year>). <article-title>Physical principles of brain&#x2013;computer interfaces and their applications for rehabilitation, robotics and control of human brain states</article-title>. <source>Phys. Rep.</source> <volume>918</volume>, <fpage>1</fpage>&#x2013;<lpage>133</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.physrep.2021.03.002</pub-id></citation></ref>
<ref id="ref67"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huys</surname> <given-names>Q. J. M.</given-names></name> <name><surname>Maia</surname> <given-names>T. V.</given-names></name> <name><surname>Frank</surname> <given-names>M. J.</given-names></name></person-group> (<year>2016</year>). <article-title>Computational psychiatry as a bridge from neuroscience to clinical applications</article-title>. <source>Nat. Neurosci.</source> <volume>19</volume>, <fpage>404</fpage>&#x2013;<lpage>413</lpage>. doi: <pub-id pub-id-type="doi">10.1038/nn.4238</pub-id>, PMID: <pub-id pub-id-type="pmid">26906507</pub-id></citation></ref>
<ref id="ref68"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Iniesta</surname> <given-names>R.</given-names></name> <name><surname>Stahl</surname> <given-names>D.</given-names></name> <name><surname>McGuffin</surname> <given-names>P.</given-names></name></person-group> (<year>2016</year>). <article-title>Machine learning, statistical learning and the future of biological research in psychiatry</article-title>. <source>Psychol. Med.</source> <volume>46</volume>, <fpage>2455</fpage>&#x2013;<lpage>2465</lpage>. doi: <pub-id pub-id-type="doi">10.1017/S0033291716001367</pub-id>, PMID: <pub-id pub-id-type="pmid">27406289</pub-id></citation></ref>
<ref id="ref69"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Insel</surname> <given-names>T. R.</given-names></name></person-group> (<year>2014</year>). <article-title>The NIMH research domain criteria (RDoC) project: precision medicine for psychiatry</article-title>. <source>Am. J. Psychiatry</source> <volume>171</volume>, <fpage>395</fpage>&#x2013;<lpage>397</lpage>. doi: <pub-id pub-id-type="doi">10.1176/appi.ajp.2014.14020138</pub-id>, PMID: <pub-id pub-id-type="pmid">24687194</pub-id></citation></ref>
<ref id="ref70"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Intahchomphoo</surname> <given-names>C.</given-names></name> <name><surname>Gundersen</surname> <given-names>O. E.</given-names></name></person-group> (<year>2020</year>). <article-title>Artificial intelligence and race: a systematic review</article-title>. <source>Leg. Inf. Manag.</source> <volume>20</volume>, <fpage>74</fpage>&#x2013;<lpage>84</lpage>. doi: <pub-id pub-id-type="doi">10.1017/S1472669620000183</pub-id></citation></ref>
<ref id="ref71"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Iosifescu</surname> <given-names>D. V.</given-names></name> <name><surname>Neborsky</surname> <given-names>R. J.</given-names></name> <name><surname>Valuck</surname> <given-names>R. J.</given-names></name></person-group> (<year>2016</year>). <article-title>The use of the psychiatric electroencephalography evaluation registry (PEER) to personalize pharmacotherapy</article-title>. <source>Neuropsychiatr. Dis. Treat.</source> <volume>12</volume>, <fpage>2131</fpage>&#x2013;<lpage>2142</lpage>. doi: <pub-id pub-id-type="doi">10.2147/NDT.S113712</pub-id>, PMID: <pub-id pub-id-type="pmid">27601908</pub-id></citation></ref>
<ref id="ref72"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jacobson</surname> <given-names>N. C.</given-names></name> <name><surname>Bentley</surname> <given-names>K. H.</given-names></name> <name><surname>Walton</surname> <given-names>A.</given-names></name> <name><surname>Wang</surname> <given-names>S. B.</given-names></name> <name><surname>Fortgang</surname> <given-names>R. G.</given-names></name> <name><surname>Millner</surname> <given-names>A. J.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Ethical dilemmas posed by Mobile health and machine learning in psychiatry research</article-title>. <source>Bull. World Health Organ.</source> <volume>98</volume>, <fpage>270</fpage>&#x2013;<lpage>276</lpage>. doi: <pub-id pub-id-type="doi">10.2471/BLT.19.237107</pub-id>, PMID: <pub-id pub-id-type="pmid">32284651</pub-id></citation></ref>
<ref id="ref73"><citation citation-type="book"><person-group person-group-type="author"><name><surname>James</surname> <given-names>G.</given-names></name> <name><surname>Witten</surname> <given-names>D.</given-names></name> <name><surname>Hastie</surname> <given-names>T.</given-names></name> <name><surname>Tibshirani</surname> <given-names>R.</given-names></name></person-group>. (<year>2021</year>). <source>An introduction to statistical learning: With applications in R</source>. <publisher-loc>Berlin</publisher-loc>: <publisher-name>Springer Nature</publisher-name>.</citation></ref>
<ref id="ref74"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jiang</surname> <given-names>F.</given-names></name> <name><surname>Jiang</surname> <given-names>Y.</given-names></name> <name><surname>Zhi</surname> <given-names>H.</given-names></name> <name><surname>Dong</surname> <given-names>Y.</given-names></name> <name><surname>Li</surname> <given-names>H.</given-names></name> <name><surname>Ma</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Artificial intelligence in healthcare: past, present and future</article-title>. <source>Stroke Vasc. Neurol.</source> <volume>2</volume>, <fpage>230</fpage>&#x2013;<lpage>243</lpage>. doi: <pub-id pub-id-type="doi">10.1136/svn-2017-000101</pub-id>, PMID: <pub-id pub-id-type="pmid">29507784</pub-id></citation></ref>
<ref id="ref75"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Juliano</surname> <given-names>J. M.</given-names></name> <name><surname>Spicer</surname> <given-names>R. P.</given-names></name> <name><surname>Vourvopoulos</surname> <given-names>A.</given-names></name> <name><surname>Lefebvre</surname> <given-names>S.</given-names></name> <name><surname>Jann</surname> <given-names>K.</given-names></name> <name><surname>Ard</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Embodiment is related to better performance on a brain-computer Interface in immersive virtual reality: a pilot study</article-title>. <source>Sensors</source> <volume>20</volume>:<fpage>1204</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s20041204</pub-id>, PMID: <pub-id pub-id-type="pmid">32098317</pub-id></citation></ref>
<ref id="ref76"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kaissis</surname> <given-names>G. A.</given-names></name> <name><surname>Makowski</surname> <given-names>M. R.</given-names></name> <name><surname>R&#x00FC;ckert</surname> <given-names>D.</given-names></name> <name><surname>Braren</surname> <given-names>R. F.</given-names></name></person-group> (<year>2020</year>). <article-title>Secure, privacy-preserving and federated machine learning in medical imaging</article-title>. <source>Nat. Mach. Intell.</source> <volume>2</volume>, <fpage>305</fpage>&#x2013;<lpage>311</lpage>. doi: <pub-id pub-id-type="doi">10.1038/s42256-020-0186-1</pub-id></citation></ref>
<ref id="ref77"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kalantari</surname> <given-names>A.</given-names></name> <name><surname>Kamsin</surname> <given-names>A.</given-names></name> <name><surname>Shamshirband</surname> <given-names>S.</given-names></name> <name><surname>Gani</surname> <given-names>A.</given-names></name> <name><surname>Alinejad-Rokny</surname> <given-names>H.</given-names></name> <name><surname>Chronopoulos</surname> <given-names>A. T.</given-names></name></person-group> (<year>2018</year>). <article-title>Computational intelligence approaches for classification of medical data: state-of-the-art, future challenges and research directions</article-title>. <source>Neurocomputing</source> <volume>276</volume>, <fpage>2</fpage>&#x2013;<lpage>22</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neucom.2017.01.126</pub-id></citation></ref>
<ref id="ref78"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kandel</surname> <given-names>E. R.</given-names></name> <name><surname>Koester</surname> <given-names>J. D.</given-names></name> <name><surname>Mack</surname> <given-names>S. H.</given-names></name> <name><surname>Siegelbaum</surname> <given-names>S. A.</given-names></name></person-group> (<year>2021</year>). <source>Principles of Neural Science</source>, <edition>6th Edn</edition>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>McGraw Hill Professional</publisher-name>.</citation></ref>
<ref id="ref79"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Khan</surname> <given-names>H.</given-names></name> <name><surname>Naseer</surname> <given-names>N.</given-names></name> <name><surname>Yazidi</surname> <given-names>A.</given-names></name> <name><surname>Eide</surname> <given-names>P. K.</given-names></name> <name><surname>Hassan</surname> <given-names>H. W.</given-names></name> <name><surname>Mirtaheri</surname> <given-names>P.</given-names></name></person-group> (<year>2020</year>). <article-title>Analysis of human gait using hybrid EEG-fNIRS-based BCI system: a review</article-title>. <source>Front. Hum. Neurosci.</source> <volume>14</volume>:<fpage>613254</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fnhum.2020.613254</pub-id></citation></ref>
<ref id="ref80"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kim</surname> <given-names>J.</given-names></name> <name><surname>Andr&#x00E9;</surname> <given-names>E.</given-names></name></person-group> (<year>2008</year>). <article-title>Emotion recognition based on physiological changes in music listening</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>30</volume>, <fpage>2067</fpage>&#x2013;<lpage>2083</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TPAMI.2008.26</pub-id>, PMID: <pub-id pub-id-type="pmid">18988943</pub-id></citation></ref>
<ref id="ref81"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>King</surname> <given-names>C. E.</given-names></name> <name><surname>Wang</surname> <given-names>P. T.</given-names></name> <name><surname>Chui</surname> <given-names>L. A.</given-names></name> <name><surname>Do</surname> <given-names>A. H.</given-names></name> <name><surname>Nenadic</surname> <given-names>Z.</given-names></name></person-group> (<year>2013</year>). <article-title>Operation of a brain-computer Interface walking simulator for individuals with spinal cord injury</article-title>. <source>J. Neuroeng. Rehabil.</source> <volume>10</volume>:<fpage>77</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1743-0003-10-77</pub-id>, PMID: <pub-id pub-id-type="pmid">23866985</pub-id></citation></ref>
<ref id="ref82"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Klimesch</surname> <given-names>W.</given-names></name></person-group> (<year>1999</year>). <article-title>EEG alpha and theta oscillations reflect cognitive and memory performance: a review and analysis</article-title>. <source>Brain Res. Brain Res. Rev.</source> <volume>29</volume>, <fpage>169</fpage>&#x2013;<lpage>195</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S0165-0173(98)00056-3</pub-id>, PMID: <pub-id pub-id-type="pmid">10209231</pub-id></citation></ref>
<ref id="ref83"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Koelstra</surname> <given-names>S.</given-names></name> <name><surname>Muhl</surname> <given-names>C.</given-names></name> <name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Lee</surname> <given-names>J.-S.</given-names></name> <name><surname>Yazdani</surname> <given-names>A.</given-names></name> <name><surname>Ebrahimi</surname> <given-names>T.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>DEAP: a database for emotion analysis; using physiological signals</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>18</fpage>&#x2013;<lpage>31</lpage>. doi: <pub-id pub-id-type="doi">10.1109/T-AFFC.2011.15</pub-id></citation></ref>
<ref id="ref84"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kreibig</surname> <given-names>S. D.</given-names></name> <name><surname>Wilhelm</surname> <given-names>F. H.</given-names></name> <name><surname>Roth</surname> <given-names>W. T.</given-names></name> <name><surname>Gross</surname> <given-names>J. J.</given-names></name></person-group> (<year>2007</year>). <article-title>Cardiovascular, Electrodermal, and respiratory response patterns to fear- and sadness-inducing films</article-title>. <source>Psychophysiology</source> <volume>44</volume>, <fpage>787</fpage>&#x2013;<lpage>806</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1469-8986.2007.00550.x</pub-id>, PMID: <pub-id pub-id-type="pmid">17598878</pub-id></citation></ref>
<ref id="ref85"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krepki</surname> <given-names>R.</given-names></name> <name><surname>Blankertz</surname> <given-names>B.</given-names></name> <name><surname>Curio</surname> <given-names>G.</given-names></name> <name><surname>M&#x00FC;ller</surname> <given-names>K.-R.</given-names></name></person-group> (<year>2007</year>). <article-title>The Berlin brain-computer Interface (BBCI)&#x2013;towards a new Communication Channel for online control in gaming applications</article-title>. <source>Multimed. Tools Appl.</source> <volume>33</volume>, <fpage>73</fpage>&#x2013;<lpage>90</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11042-006-0094-3</pub-id></citation></ref>
<ref id="ref86"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Kuhn</surname> <given-names>M.</given-names></name> <name><surname>Johnson</surname> <given-names>K.</given-names></name></person-group> (<year>2013</year>). <source>Applied Predictive Modeling</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name>.</citation></ref>
<ref id="ref87"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lang</surname> <given-names>P. J.</given-names></name></person-group> (<year>1995</year>). <article-title>The emotion probe. Studies of motivation and attention</article-title>. <source>Am. Psychol.</source> <volume>50</volume>, <fpage>372</fpage>&#x2013;<lpage>385</lpage>. doi: <pub-id pub-id-type="doi">10.1037/0003-066X.50.5.372</pub-id></citation></ref>
<ref id="ref88"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ledford</surname> <given-names>H.</given-names></name></person-group> (<year>2019</year>). <article-title>Millions of black people affected by racial bias in health-care algorithms</article-title>. <source>Nature</source> <volume>574</volume>, <fpage>608</fpage>&#x2013;<lpage>609</lpage>. doi: <pub-id pub-id-type="doi">10.1038/d41586-019-03228-6</pub-id>, PMID: <pub-id pub-id-type="pmid">31664201</pub-id></citation></ref>
<ref id="ref89"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Leeb</surname> <given-names>R.</given-names></name> <name><surname>Friedman</surname> <given-names>D.</given-names></name> <name><surname>M&#x00FC;ller-Putz</surname> <given-names>G. R.</given-names></name> <name><surname>Scherer</surname> <given-names>R.</given-names></name> <name><surname>Slater</surname> <given-names>M.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name></person-group> (<year>2007</year>). <article-title>Self-paced (asynchronous) BCI control of a wheelchair in virtual environments: a case study with a tetraplegic</article-title>. <source>Comput. Intell. Neurosci.</source> <volume>79642</volume>. doi: <pub-id pub-id-type="doi">10.1155/2007/79642</pub-id></citation></ref>
<ref id="ref90"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Long</surname> <given-names>J.</given-names></name> <name><surname>Tianyou</surname> <given-names>Y.</given-names></name> <name><surname>Zhuliang</surname> <given-names>Y.</given-names></name> <name><surname>Wang</surname> <given-names>C.</given-names></name> <name><surname>Zhang</surname> <given-names>H.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>An EEG-based BCI system for 2-D cursor control by combining mu/Beta rhythm and P300 potential</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>57</volume>, <fpage>2495</fpage>&#x2013;<lpage>2505</lpage>. doi: <pub-id pub-id-type="doi">10.1109/tbme.2010.2055564</pub-id>, PMID: <pub-id pub-id-type="pmid">20615806</pub-id></citation></ref>
<ref id="ref91"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>Z.</given-names></name> <name><surname>Shore</surname> <given-names>J.</given-names></name> <name><surname>Wang</surname> <given-names>M.</given-names></name> <name><surname>Yuan</surname> <given-names>F.</given-names></name> <name><surname>Buss</surname> <given-names>A.</given-names></name> <name><surname>Zhao</surname> <given-names>X.</given-names></name></person-group> (<year>2021</year>). <article-title>A systematic review on hybrid EEG/fNIRS in brain-computer Interface</article-title>. <source>Biomed. Signal Process. Control</source> <volume>68</volume>:<fpage>102595</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.bspc.2021.102595</pub-id></citation></ref>
<ref id="ref92"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Malik</surname> <given-names>M.</given-names></name> <name><surname>Bigger</surname> <given-names>J. T.</given-names></name> <name><surname>Camm</surname> <given-names>A. J.</given-names></name> <name><surname>Kleiger</surname> <given-names>R. E.</given-names></name> <name><surname>Malliani</surname> <given-names>A.</given-names></name> <name><surname>Moss</surname> <given-names>A. J.</given-names></name> <etal/></person-group>. (<year>1996</year>). <article-title>Heart rate variability: standards of measurement, physiological interpretation, and clinical use</article-title>. <source>Eur. Heart J.</source> <volume>17</volume>, <fpage>354</fpage>&#x2013;<lpage>381</lpage>. doi: <pub-id pub-id-type="doi">10.1093/oxfordjournals.eurheartj.a014868</pub-id></citation></ref>
<ref id="ref93"><citation citation-type="other"><person-group person-group-type="author"><name><surname>McDuff</surname> <given-names>D.</given-names></name> <name><surname>Karlson</surname> <given-names>A.</given-names></name> <name><surname>Kapoor</surname> <given-names>A.</given-names></name> <name><surname>Roseway</surname> <given-names>A.</given-names></name> <name><surname>Czerwinski</surname> <given-names>M.</given-names></name></person-group> (<year>2012</year>). &#x201C;AffectAura: an intelligent system for emotional memory.&#x201D; In <italic>Proceedings of the SIGCHI Conference on Human Factors in Computing Systems</italic>. CHI &#x2018;12. New York, NY, USA: ACM Press, pp. 849&#x2013;858.</citation></ref>
<ref id="ref94"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meisler</surname> <given-names>S. L.</given-names></name> <name><surname>Kahana</surname> <given-names>M. J.</given-names></name> <name><surname>Ezzyat</surname> <given-names>Y.</given-names></name></person-group> (<year>2019</year>). <article-title>Does data cleaning improve brain state classification?</article-title> <source>J. Neurosci. Methods</source> <volume>328</volume>:<fpage>108421</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jneumeth.2019.108421</pub-id>, PMID: <pub-id pub-id-type="pmid">31541912</pub-id></citation></ref>
<ref id="ref96"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mueller</surname> <given-names>A.</given-names></name> <name><surname>Candrian</surname> <given-names>G.</given-names></name> <name><surname>Kropotov</surname> <given-names>J. D.</given-names></name> <name><surname>Ponomarev</surname> <given-names>V. A.</given-names></name> <name><surname>Baschera</surname> <given-names>G.-M.</given-names></name></person-group> (<year>2010</year>). <article-title>Classification of ADHD patients on the basis of independent ERP components using a machine learning system</article-title>. <source>Nonlinear Biomed. Phys.</source> <volume>4</volume>:<fpage>S1</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1753-4631-4-S1-S1</pub-id></citation></ref>
<ref id="ref97"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Muller-Putz</surname> <given-names>G. R.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name></person-group> (<year>2008</year>). <article-title>Control of an electrical prosthesis with an SSVEP-based BCI</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>55</volume>, <fpage>361</fpage>&#x2013;<lpage>364</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TBME.2007.897815</pub-id>, PMID: <pub-id pub-id-type="pmid">18232384</pub-id></citation></ref>
<ref id="ref98"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nakayashiki</surname> <given-names>K.</given-names></name> <name><surname>Saeki</surname> <given-names>M.</given-names></name> <name><surname>Takata</surname> <given-names>Y.</given-names></name> <name><surname>Hayashi</surname> <given-names>Y.</given-names></name> <name><surname>Kondo</surname> <given-names>T.</given-names></name></person-group> (<year>2014</year>). <article-title>Modulation of event-related desynchronization during kinematic and kinetic hand movements</article-title>. <source>J. Neuroeng. Rehabil.</source> <volume>11</volume>:<fpage>90</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1743-0003-11-90</pub-id>, PMID: <pub-id pub-id-type="pmid">24886610</pub-id></citation></ref>
<ref id="ref99"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Naseer</surname> <given-names>N.</given-names></name> <name><surname>Hong</surname> <given-names>K.-S.</given-names></name></person-group> (<year>2015</year>). <article-title>fNIRS-based brain-computer interfaces: a review</article-title>. <source>Front. Hum. Neurosci.</source> <volume>9</volume>:<fpage>3</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fnhum.2015.00003</pub-id></citation></ref>
<ref id="ref100"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Neuhaus</surname> <given-names>A. H.</given-names></name> <name><surname>Popescu</surname> <given-names>F. C.</given-names></name> <name><surname>Grozea</surname> <given-names>C.</given-names></name> <name><surname>Hahn</surname> <given-names>E.</given-names></name> <name><surname>Hahn</surname> <given-names>C.</given-names></name> <name><surname>Opgen-Rhein</surname> <given-names>C.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Single-subject classification of schizophrenia by event-related potentials during selective attention</article-title>. <source>NeuroImage</source> <volume>55</volume>, <fpage>514</fpage>&#x2013;<lpage>521</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neuroimage.2010.12.038</pub-id>, PMID: <pub-id pub-id-type="pmid">21182969</pub-id></citation></ref>
<ref id="ref101"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nicolas-Alonso</surname> <given-names>L. F.</given-names></name> <name><surname>Gomez-Gil</surname> <given-names>J.</given-names></name></person-group> (<year>2012</year>). <article-title>Brain computer interfaces, a review</article-title>. <source>Sensors</source> <volume>12</volume>, <fpage>1211</fpage>&#x2013;<lpage>1279</lpage>. doi: <pub-id pub-id-type="doi">10.3390/s120201211</pub-id>, PMID: <pub-id pub-id-type="pmid">22438708</pub-id></citation></ref>
<ref id="ref102"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Noori</surname> <given-names>F. M.</given-names></name> <name><surname>Naseer</surname> <given-names>N.</given-names></name> <name><surname>Qureshi</surname> <given-names>N. K.</given-names></name> <name><surname>Nazeer</surname> <given-names>H.</given-names></name> <name><surname>Khan</surname> <given-names>R. A.</given-names></name></person-group> (<year>2017</year>). <article-title>Optimal feature selection from fNIRS signals using genetic algorithms for BCI</article-title>. <source>Neurosci. Lett.</source> <volume>647</volume>, <fpage>61</fpage>&#x2013;<lpage>66</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neulet.2017.03.013</pub-id>, PMID: <pub-id pub-id-type="pmid">28336339</pub-id></citation></ref>
<ref id="ref103"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Ntoutsi</surname> <given-names>E.</given-names></name> <name><surname>Fafalios</surname> <given-names>P.</given-names></name> <name><surname>Gadiraju</surname> <given-names>U.</given-names></name> <name><surname>Iosifidis</surname> <given-names>V.</given-names></name> <name><surname>Nejdl</surname> <given-names>W.</given-names></name> <name><surname>Vidal</surname> <given-names>M.-E.</given-names></name> <etal/></person-group>. (<year>2020</year>). &#x201C;<article-title>Bias in data-driven artificial intelligence systems&#x2014;an introductory survey</article-title>,&#x201D; in <source>Wiley Interdisciplinary Reviews. Data Mining and Knowledge Discovery</source>. Wiley Periodicals, Inc., <fpage>3</fpage>.</citation></ref>
<ref id="ref104"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Obermeyer</surname> <given-names>Z.</given-names></name> <name><surname>Powers</surname> <given-names>B.</given-names></name> <name><surname>Vogeli</surname> <given-names>C.</given-names></name> <name><surname>Mullainathan</surname> <given-names>S.</given-names></name></person-group> (<year>2019</year>). <article-title>Dissecting racial bias in an algorithm used to manage the health of populations</article-title>. <source>Science</source> <volume>366</volume>, <fpage>447</fpage>&#x2013;<lpage>453</lpage>. doi: <pub-id pub-id-type="doi">10.1126/science.aax2342</pub-id>, PMID: <pub-id pub-id-type="pmid">31649194</pub-id></citation></ref>
<ref id="ref105"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Orr&#x00F9;</surname> <given-names>G.</given-names></name> <name><surname>Monaro</surname> <given-names>M.</given-names></name> <name><surname>Conversano</surname> <given-names>C.</given-names></name> <name><surname>Gemignani</surname> <given-names>A.</given-names></name> <name><surname>Sartori</surname> <given-names>G.</given-names></name></person-group> (<year>2019</year>). <article-title>Machine learning in psychometrics and psychological research</article-title>. <source>Front. Psychol.</source> <volume>10</volume>:<fpage>2970</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyg.2019.02970</pub-id></citation></ref>
<ref id="ref106"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Oscar</surname> <given-names>T.</given-names></name></person-group> (<year>2022</year>). &#x201C;<article-title>CHAPTER 4&#x2014;long-term nursing care at home: challenges and technology-driven solution approaches: the case of German healthcare system</article-title>&#x201D; in <source>Smart Home Technologies and Services for Geriatric Rehabilitation</source>. eds. <person-group person-group-type="editor"><name><surname>Choukou</surname> <given-names>M.-A.</given-names></name> <name><surname>Syed-Abdul</surname> <given-names>S.</given-names></name></person-group> (<publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>Academic Press</publisher-name>), <fpage>79</fpage>&#x2013;<lpage>106</lpage>.</citation></ref>
<ref id="ref107"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Palma</surname> <given-names>J.-A.</given-names></name> <name><surname>Benarroch</surname> <given-names>E. E.</given-names></name></person-group> (<year>2014</year>). <article-title>Neural control of the heart: recent concepts and clinical correlations</article-title>. <source>Neurology</source> <volume>83</volume>, <fpage>261</fpage>&#x2013;<lpage>271</lpage>. doi: <pub-id pub-id-type="doi">10.1212/wnl.0000000000000605</pub-id>, PMID: <pub-id pub-id-type="pmid">24928126</pub-id></citation></ref>
<ref id="ref108"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Peper</surname> <given-names>E.</given-names></name> <name><surname>Harvey</surname> <given-names>R.</given-names></name> <name><surname>Lin</surname> <given-names>I.-M.</given-names></name> <name><surname>Tylova</surname> <given-names>H.</given-names></name> <name><surname>Moss</surname> <given-names>D.</given-names></name></person-group> (<year>2007</year>). &#x201C;<article-title>Is there more to blood volume pulse than heart rate variability, respiratory sinus arrhythmia, and cardiorespiratory synchrony?</article-title>&#x201D; in <source>Biofeedback and Self-Regulations</source>. Allen Press Publishing Services Inc.</citation></ref>
<ref id="ref109"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>P&#x00E9;rez</surname> <given-names>P.</given-names></name> <name><surname>Madsen</surname> <given-names>J.</given-names></name> <name><surname>Banellis</surname> <given-names>L.</given-names></name> <name><surname>T&#x00FC;rker</surname> <given-names>B.</given-names></name> <name><surname>Raimondo</surname> <given-names>F.</given-names></name> <name><surname>Perlbarg</surname> <given-names>V.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Conscious processing of narrative stimuli synchronizes heart rate between individuals</article-title>. <source>Cell Rep.</source> <volume>36</volume>:<fpage>109692</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.celrep.2021.109692</pub-id>, PMID: <pub-id pub-id-type="pmid">34525363</pub-id></citation></ref>
<ref id="ref110"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Perlis</surname> <given-names>M. L.</given-names></name> <name><surname>Merica</surname> <given-names>H.</given-names></name> <name><surname>Smith</surname> <given-names>M. T.</given-names></name> <name><surname>Giles</surname> <given-names>D. E.</given-names></name></person-group> (<year>2001</year>). <article-title>Beta EEG activity and insomnia</article-title>. <source>Sleep Med. Rev.</source> <volume>5</volume>, <fpage>365</fpage>&#x2013;<lpage>376</lpage>. doi: <pub-id pub-id-type="doi">10.1053/smrv.2001.0151</pub-id></citation></ref>
<ref id="ref111"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Perna</surname> <given-names>G.</given-names></name> <name><surname>Grassi</surname> <given-names>M.</given-names></name> <name><surname>Caldirola</surname> <given-names>D.</given-names></name> <name><surname>Nemeroff</surname> <given-names>C. B.</given-names></name></person-group> (<year>2018</year>). <article-title>The revolution of personalized psychiatry: will technology make it happen sooner?</article-title> <source>Psychol. Med.</source> <volume>48</volume>, <fpage>705</fpage>&#x2013;<lpage>713</lpage>. doi: <pub-id pub-id-type="doi">10.1017/S0033291717002859</pub-id>, PMID: <pub-id pub-id-type="pmid">28967349</pub-id></citation></ref>
<ref id="ref112"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name></person-group> (<year>1997</year>). <article-title>EEG event-related desynchronization (ERD) and synchronization (ERS)</article-title>. <source>Electroencephalogr. Clin. Neurophysiol.</source> <volume>103</volume>:<fpage>26</fpage>. doi: <pub-id pub-id-type="doi">10.1016/S0013-4694(97)88021-6</pub-id></citation></ref>
<ref id="ref113"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name> <name><surname>Neuper</surname> <given-names>C.</given-names></name> <name><surname>Guger</surname> <given-names>C.</given-names></name> <name><surname>Harkam</surname> <given-names>W.</given-names></name> <name><surname>Ramoser</surname> <given-names>H.</given-names></name> <name><surname>Schl&#x00F6;gl</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2000</year>). <article-title>Current trends in Graz brain-computer Interface (BCI) research</article-title>. <source>IEEE Trans. Rehab. Eng. Publ. IEEE Eng. Med. Biol. Soc.</source> <volume>8</volume>, <fpage>216</fpage>&#x2013;<lpage>219</lpage>. doi: <pub-id pub-id-type="doi">10.1109/86.847821</pub-id>, PMID: <pub-id pub-id-type="pmid">10896192</pub-id></citation></ref>
<ref id="ref114"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Picard</surname> <given-names>R. W.</given-names></name></person-group> (<year>2000</year>). <source>Affective Computing</source>. <publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>MIT Press</publisher-name>.</citation></ref>
<ref id="ref115"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Picard</surname> <given-names>R. W.</given-names></name></person-group> (<year>2003</year>). <article-title>Affective computing: challenges</article-title>. <source>Int. J. Hum.-Comput. Stud.</source> <volume>59</volume>, <fpage>55</fpage>&#x2013;<lpage>64</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S1071-5819(03)00052-1</pub-id></citation></ref>
<ref id="ref116"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Picard</surname> <given-names>R. W.</given-names></name> <name><surname>Vyzas</surname> <given-names>E.</given-names></name> <name><surname>Healey</surname> <given-names>J.</given-names></name></person-group> (<year>2001</year>). <article-title>Toward machine emotional intelligence: analysis of affective physiological state</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>23</volume>, <fpage>1175</fpage>&#x2013;<lpage>1191</lpage>. doi: <pub-id pub-id-type="doi">10.1109/34.954607</pub-id></citation></ref>
<ref id="ref145"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ravenswaaij-Arts</surname> <given-names>C. M.</given-names><prefix>Van</prefix></name> <name><surname>Koll&#x00E9;e</surname> <given-names>L. A.</given-names></name> <name><surname>Hopman</surname> <given-names>J. C.</given-names></name> <name><surname>Stoelinga</surname> <given-names>G. B.</given-names></name> <name><surname>van Geijn</surname> <given-names>H. P.</given-names></name></person-group> (<year>1993</year>). &#x201C;<article-title>Heart rate variability</article-title>.&#x201D; <source>Ann. Intern. Med.</source> <volume>118</volume>: <fpage>436</fpage>&#x2013;<lpage>447</lpage>, doi: <pub-id pub-id-type="doi">10.7326/0003-4819-118-6-199303150-00008</pub-id></citation></ref>
<ref id="ref117"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rebsamen</surname> <given-names>B.</given-names></name> <name><surname>Guan</surname> <given-names>C.</given-names></name> <name><surname>Zhang</surname> <given-names>H.</given-names></name> <name><surname>Wang</surname> <given-names>C.</given-names></name> <name><surname>Teo</surname> <given-names>C.</given-names></name> <name><surname>Ang Jr</surname> <given-names>M. H.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>A brain controlled wheelchair to navigate in familiar environments</article-title>. <source>IEEE Trans. Neural Syst. Rehab. Eng.</source> <volume>18</volume>, <fpage>590</fpage>&#x2013;<lpage>598</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TNSRE.2010.2049862</pub-id>, PMID: <pub-id pub-id-type="pmid">20460212</pub-id></citation></ref>
<ref id="ref118"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Regalia</surname> <given-names>G.</given-names></name> <name><surname>Onorati</surname> <given-names>F.</given-names></name> <name><surname>Lai</surname> <given-names>M.</given-names></name> <name><surname>Caborni</surname> <given-names>C.</given-names></name> <name><surname>Picard</surname> <given-names>R. W.</given-names></name></person-group> (<year>2019</year>). <article-title>Multimodal wrist-worn devices for seizure detection and advancing research: focus on the Empatica wristbands</article-title>. <source>Epilepsy Res.</source> <volume>153</volume>, <fpage>79</fpage>&#x2013;<lpage>82</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.eplepsyres.2019.02.007</pub-id>, PMID: <pub-id pub-id-type="pmid">30846346</pub-id></citation></ref>
<ref id="ref119"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Riva</surname> <given-names>G.</given-names></name> <name><surname>Wiederhold</surname> <given-names>B. K.</given-names></name> <name><surname>Di Lernia</surname> <given-names>D.</given-names></name> <name><surname>Chirico</surname> <given-names>A.</given-names></name> <name><surname>Riva</surname> <given-names>E. F. M.</given-names></name> <name><surname>Mantovani</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>Virtual reality meets artificial intelligence: the emergence of advanced digital therapeutics and digital biomarkers</article-title>. <source>Annu. Rev. Cyberther. Telemed.</source> <volume>17</volume>, <fpage>3</fpage>&#x2013;<lpage>7</lpage>.</citation></ref>
<ref id="ref120"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Riva</surname> <given-names>G.</given-names></name> <name><surname>Wiederhold</surname> <given-names>B. K.</given-names></name> <name><surname>Succi</surname> <given-names>S.</given-names></name></person-group> (<year>2022</year>). <article-title>Zero sales resistance: the dark side of big data and artificial intelligence</article-title>. <source>Cyberpsychol. Behav. Soc. Netw.</source> <volume>25</volume>, <fpage>169</fpage>&#x2013;<lpage>173</lpage>. doi: <pub-id pub-id-type="doi">10.1089/cyber.2022.0035</pub-id>, PMID: <pub-id pub-id-type="pmid">35294295</pub-id></citation></ref>
<ref id="ref121"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Russell</surname> <given-names>J. A.</given-names></name></person-group> (<year>1980</year>). <article-title>A circumplex model of affect</article-title>. <source>J. Pers. Soc. Psychol.</source> <volume>39</volume>, <fpage>1161</fpage>&#x2013;<lpage>1178</lpage>. doi: <pub-id pub-id-type="doi">10.1037/h0077714</pub-id></citation></ref>
<ref id="ref122"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rutledge</surname> <given-names>R. B.</given-names></name> <name><surname>Chekroud</surname> <given-names>A. M.</given-names></name> <name><surname>Huys</surname> <given-names>Q. J.</given-names></name></person-group> (<year>2019</year>). <article-title>Machine learning and big data in psychiatry: toward clinical applications</article-title>. <source>Curr. Opin. Neurobiol.</source> <volume>55</volume>, <fpage>152</fpage>&#x2013;<lpage>159</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.conb.2019.02.006</pub-id>, PMID: <pub-id pub-id-type="pmid">30999271</pub-id></citation></ref>
<ref id="ref123"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Saha</surname> <given-names>S.</given-names></name> <name><surname>Mamun</surname> <given-names>K. A.</given-names></name> <name><surname>Ahmed</surname> <given-names>K.</given-names></name> <name><surname>Mostafa</surname> <given-names>R.</given-names></name> <name><surname>Naik</surname> <given-names>G. R.</given-names></name> <name><surname>Darvishi</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Progress in brain computer Interface: challenges and opportunities</article-title>. <source>Front. Syst. Neurosci.</source> <volume>15</volume>:<fpage>578875</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fnsys.2021.578875</pub-id>, PMID: <pub-id pub-id-type="pmid">33716680</pub-id></citation></ref>
<ref id="ref124"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schalk</surname> <given-names>G.</given-names></name> <name><surname>McFarland</surname> <given-names>D. J.</given-names></name> <name><surname>Hinterberger</surname> <given-names>T.</given-names></name> <name><surname>Birbaumer</surname> <given-names>N.</given-names></name> <name><surname>Wolpaw</surname> <given-names>J. R.</given-names></name></person-group> (<year>2004</year>). <article-title>BCI2000: A general-purpose brain-computer Interface (BCI) system</article-title>. <source>IEEE Trans. Biomed. Eng.</source> <volume>51</volume>, <fpage>1034</fpage>&#x2013;<lpage>1043</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TBME.2004.827072</pub-id></citation></ref>
<ref id="ref125"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schiller</surname> <given-names>M. J.</given-names></name></person-group> (<year>2018</year>). <article-title>Quantitative electroencephalography in guiding treatment of major depression</article-title>. <source>Front. Psychiatr./Front. Res. Foundation</source> <volume>9</volume>:<fpage>779</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpsyt.2018.00779</pub-id></citation></ref>
<ref id="ref126"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schmaus</surname> <given-names>B. J.</given-names></name> <name><surname>Laubmeier</surname> <given-names>K. K.</given-names></name> <name><surname>Boquiren</surname> <given-names>V. M.</given-names></name> <name><surname>Herzer</surname> <given-names>M.</given-names></name> <name><surname>Zakowski</surname> <given-names>S. G.</given-names></name></person-group> (<year>2008</year>). <article-title>Gender and stress: differential psychophysiological reactivity to stress Reexposure in the laboratory</article-title>. <source>Int. J. Psychophysiol.</source> <volume>69</volume>, <fpage>101</fpage>&#x2013;<lpage>106</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.ijpsycho.2008.03.006</pub-id>, PMID: <pub-id pub-id-type="pmid">18453025</pub-id></citation></ref>
<ref id="ref127"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schmidt</surname> <given-names>P.</given-names></name> <name><surname>Reiss</surname> <given-names>A.</given-names></name> <name><surname>D&#x00FC;richen</surname> <given-names>R.</given-names></name> <name><surname>Van Laerhoven</surname> <given-names>K.</given-names></name></person-group> (<year>2019</year>). <article-title>Wearable-based affect recognition&#x2014;a review</article-title>. <source>Sensors</source> <volume>19</volume>:<fpage>4079</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s19194079</pub-id>, PMID: <pub-id pub-id-type="pmid">31547220</pub-id></citation></ref>
<ref id="ref128"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shaffer</surname> <given-names>F.</given-names></name> <name><surname>Ginsberg</surname> <given-names>J. P.</given-names></name></person-group> (<year>2017</year>). <article-title>An overview of heart rate variability metrics and norms</article-title>. <source>Front. Public Health</source> <volume>5</volume>:<fpage>258</fpage>. doi: <pub-id pub-id-type="doi">10.3389/fpubh.2017.00258</pub-id>, PMID: <pub-id pub-id-type="pmid">29034226</pub-id></citation></ref>
<ref id="ref129"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Shalev-Shwartz</surname> <given-names>S.</given-names></name> <name><surname>Ben-David</surname> <given-names>S.</given-names></name></person-group>. (<year>2014</year>). <source>Understanding Machine Learning: From Theory to Algorithms</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>Cambridge University Press</publisher-name>.</citation></ref>
<ref id="ref130"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shan</surname> <given-names>Y.</given-names></name> <name><surname>Li</surname> <given-names>S.</given-names></name> <name><surname>Chen</surname> <given-names>T.</given-names></name></person-group> (<year>2020</year>). <article-title>Respiratory signal and human stress: non-contact detection of stress with a low-cost depth sensing camera</article-title>. <source>Int. J. Mach. Learn. Cybern.</source> <volume>11</volume>, <fpage>1825</fpage>&#x2013;<lpage>1837</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s13042-020-01074-x</pub-id></citation></ref>
<ref id="ref131"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shoeb</surname> <given-names>A.</given-names></name> <name><surname>Pang</surname> <given-names>T.</given-names></name> <name><surname>Guttag</surname> <given-names>J.</given-names></name> <name><surname>Schachter</surname> <given-names>S.</given-names></name></person-group> (<year>2009</year>). <article-title>Non-invasive computerized system for automatically initiating Vagus nerve stimulation following patient-specific detection of seizures or epileptiform discharges</article-title>. <source>Int. J. Neural Syst.</source> <volume>19</volume>, <fpage>157</fpage>&#x2013;<lpage>172</lpage>. doi: <pub-id pub-id-type="doi">10.1142/S0129065709001938</pub-id>, PMID: <pub-id pub-id-type="pmid">19575506</pub-id></citation></ref>
<ref id="ref132"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soininen</surname> <given-names>H.</given-names></name> <name><surname>Partanen</surname> <given-names>V. J.</given-names></name> <name><surname>Helkala</surname> <given-names>E.-L.</given-names></name> <name><surname>Riekkinen</surname> <given-names>P. J.</given-names></name></person-group> (<year>1982</year>). <article-title>EEG findings in senile dementia and Normal aging</article-title>. <source>Acta Neurol. Scand.</source> <volume>65</volume>, <fpage>59</fpage>&#x2013;<lpage>70</lpage>. doi: <pub-id pub-id-type="doi">10.1111/j.1600-0404.1982.tb03062.x</pub-id></citation></ref>
<ref id="ref133"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Soleymani</surname> <given-names>M.</given-names></name> <name><surname>Pantic</surname> <given-names>M.</given-names></name> <name><surname>Pun</surname> <given-names>T.</given-names></name></person-group> (<year>2012</year>). <article-title>Multimodal Emotion Recognition in Response to Videos</article-title>. <source>IEEE Trans. Affect. Comput.</source> <volume>3</volume>, <fpage>211</fpage>&#x2013;<lpage>223</lpage>. doi: <pub-id pub-id-type="doi">10.1109/T-AFFC.2011.37</pub-id></citation></ref>
<ref id="ref134"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sroubek</surname> <given-names>A.</given-names></name> <name><surname>Kelly</surname> <given-names>M.</given-names></name> <name><surname>Li</surname> <given-names>X.</given-names></name></person-group> (<year>2013</year>). <article-title>Inattentiveness in attention-deficit/hyperactivity disorder</article-title>. <source>Neurosci. Bull.</source> <volume>29</volume>, <fpage>103</fpage>&#x2013;<lpage>110</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s12264-012-1295-6</pub-id>, PMID: <pub-id pub-id-type="pmid">23299717</pub-id></citation></ref>
<ref id="ref135"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stuart</surname> <given-names>T.</given-names></name> <name><surname>Cai</surname> <given-names>L.</given-names></name> <name><surname>Burton</surname> <given-names>A.</given-names></name> <name><surname>Gutruf</surname> <given-names>P.</given-names></name></person-group> (<year>2021</year>). <article-title>Wireless and battery-free platforms for collection of biosignals</article-title>. <source>Biosens. Bioelectron.</source> <volume>178</volume>:<fpage>113007</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.bios.2021.113007</pub-id>, PMID: <pub-id pub-id-type="pmid">33556807</pub-id></citation></ref>
<ref id="ref136"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sturm</surname> <given-names>I.</given-names></name> <name><surname>Lapuschkin</surname> <given-names>S.</given-names></name> <name><surname>Samek</surname> <given-names>W.</given-names></name> <name><surname>M&#x00FC;ller</surname> <given-names>K.-R.</given-names></name></person-group> (<year>2016</year>). <article-title>Interpretable deep neural networks for single-trial EEG classification</article-title>. <source>J. Neurosci. Methods</source> <volume>274</volume>, <fpage>141</fpage>&#x2013;<lpage>145</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jneumeth.2016.10.008</pub-id>, PMID: <pub-id pub-id-type="pmid">27746229</pub-id></citation></ref>
<ref id="ref137"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sur</surname> <given-names>S.</given-names></name> <name><surname>Sinha</surname> <given-names>V. K.</given-names></name></person-group> (<year>2009</year>). <article-title>Event-related potential: an overview</article-title>. <source>Ind. Psychiatry J.</source> <volume>18</volume>, <fpage>70</fpage>&#x2013;<lpage>73</lpage>. doi: <pub-id pub-id-type="doi">10.4103/0972-6748.57865</pub-id>, PMID: <pub-id pub-id-type="pmid">21234168</pub-id></citation></ref>
<ref id="ref138"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Thabtah</surname> <given-names>F.</given-names></name> <name><surname>Kamalov</surname> <given-names>F.</given-names></name> <name><surname>Rajab</surname> <given-names>K.</given-names></name></person-group> (<year>2018</year>). <article-title>A new computational intelligence approach to detect autistic features for autism screening</article-title>. <source>Int. J. Med. Inform.</source> <volume>117</volume>, <fpage>112</fpage>&#x2013;<lpage>124</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.ijmedinf.2018.06.009</pub-id>, PMID: <pub-id pub-id-type="pmid">30032959</pub-id></citation></ref>
<ref id="ref139"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Thomas</surname> <given-names>R. M.</given-names></name> <name><surname>Bruin</surname> <given-names>W.</given-names></name> <name><surname>Zhutovsky</surname> <given-names>P.</given-names></name> <name><surname>van Wingen</surname> <given-names>G.</given-names></name></person-group> (<year>2020</year>). &#x201C;<article-title>Chapter 14 - dealing with missing data, small sample sizes, and heterogeneity in machine learning studies of brain disorders</article-title>,&#x201D; in <source>Machine Learning</source>. eds. <person-group person-group-type="editor"><name><surname>Mechelli</surname> <given-names>A.</given-names></name> <name><surname>Vieira</surname> <given-names>S.</given-names></name></person-group> (<publisher-loc>Cambridge, MA</publisher-loc>: <publisher-name>Academic Press</publisher-name>), <fpage>249</fpage>&#x2013;<lpage>266</lpage>.</citation></ref>
<ref id="ref140"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tsamados</surname> <given-names>A.</given-names></name> <name><surname>Aggarwal</surname> <given-names>N.</given-names></name> <name><surname>Cowls</surname> <given-names>J.</given-names></name> <name><surname>Morley</surname> <given-names>J.</given-names></name> <name><surname>Roberts</surname> <given-names>H.</given-names></name> <name><surname>Taddeo</surname> <given-names>M.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>The ethics of algorithms: key problems and solutions</article-title>. <source>AI Soc.</source> <volume>37</volume>, <fpage>215</fpage>&#x2013;<lpage>230</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s00146-021-01154-8</pub-id></citation></ref>
<ref id="ref141"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Tuena</surname> <given-names>C.</given-names></name> <name><surname>Chiappini</surname> <given-names>M.</given-names></name> <name><surname>Repetto</surname> <given-names>C.</given-names></name> <name><surname>Riva</surname> <given-names>G.</given-names></name></person-group> (<year>2022</year>). &#x201C;<article-title>Artificial intelligence in clinical psychology</article-title>&#x201D; in <source>Reference Module in Neuroscience and Biobehavioral Psychology</source>. <publisher-loc>Amsterdam</publisher-loc>: <publisher-name>Elsevier</publisher-name>.</citation></ref>
<ref id="ref142"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Tuena</surname> <given-names>C.</given-names></name> <name><surname>Semonella</surname> <given-names>M.</given-names></name> <name><surname>Fern&#x00E1;ndez-&#x00C1;lvarez</surname> <given-names>J.</given-names></name> <name><surname>Colombo</surname> <given-names>D.</given-names></name> <name><surname>Cipresso</surname> <given-names>P.</given-names></name></person-group> (<year>2020</year>). &#x201C;<article-title>Predictive precision medicine: towards the computational challenge</article-title>,&#x201D; in <source>P5 eHealth: An Agenda for the Health Technologies of the Future</source>. eds. <person-group person-group-type="editor"><name><surname>Pravettoni</surname> <given-names>G.</given-names></name> <name><surname>Triberti</surname> <given-names>S.</given-names></name></person-group> (<publisher-loc>Cham</publisher-loc>: <publisher-name>Springer International Publishing</publisher-name>), <fpage>71</fpage>&#x2013;<lpage>86</lpage>.</citation></ref>
<ref id="ref143"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Tzimourta</surname> <given-names>K. D.</given-names></name> <name><surname>Tzallas</surname> <given-names>A. T.</given-names></name> <name><surname>Giannakeas</surname> <given-names>N.</given-names></name> <name><surname>Astrakas</surname> <given-names>L. G.</given-names></name> <name><surname>Tsalikakis</surname> <given-names>D. G.</given-names></name> <name><surname>Tsipouras</surname> <given-names>M. G.</given-names></name></person-group> (<year>2018</year>). &#x201C;<article-title>Epileptic seizures classification based on Long-term EEG signal wavelet analysis</article-title>,&#x201D; in <source>Precision Medicine Powered by pHealth and Connected Health</source> (<publisher-loc>Singapore</publisher-loc>: <publisher-name>Springer Singapore</publisher-name>), <fpage>165</fpage>&#x2013;<lpage>169</lpage>.</citation></ref>
<ref id="ref144"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ulate-Campos</surname> <given-names>A.</given-names></name> <name><surname>Coughlin</surname> <given-names>F.</given-names></name> <name><surname>Ga&#x00ED;nza-Lein</surname> <given-names>M.</given-names></name> <name><surname>S&#x00E1;nchez Fern&#x00E1;ndez</surname> <given-names>I.</given-names></name> <name><surname>Pearl</surname> <given-names>P. L.</given-names></name> <name><surname>Loddenkemper</surname> <given-names>T.</given-names></name></person-group> (<year>2016</year>). <article-title>Automated seizure detection systems and their effectiveness for each type of seizure</article-title>. <source>Seizure J. Br. Epilepsy Assoc.</source> <volume>40</volume>, <fpage>88</fpage>&#x2013;<lpage>101</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.seizure.2016.06.008</pub-id>, PMID: <pub-id pub-id-type="pmid">27376911</pub-id></citation></ref>
<ref id="ref146"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vaughan</surname> <given-names>T. M.</given-names></name> <name><surname>McFarland</surname> <given-names>D. J.</given-names></name> <name><surname>Schalk</surname> <given-names>G.</given-names></name> <name><surname>Sarnacki</surname> <given-names>W. A.</given-names></name> <name><surname>Krusienski</surname> <given-names>D. J.</given-names></name> <name><surname>Sellers</surname> <given-names>E. W.</given-names></name> <etal/></person-group>. (<year>2006</year>). <article-title>The Wadsworth BCI Research and Development program: at home with BCI</article-title>. <source>IEEE Trans. Neural Syst. Rehab. Eng.</source> <volume>14</volume>, <fpage>229</fpage>&#x2013;<lpage>233</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TNSRE.2006.875577</pub-id>, PMID: <pub-id pub-id-type="pmid">16792301</pub-id></citation></ref>
<ref id="ref147"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vayena</surname> <given-names>E.</given-names></name> <name><surname>Blasimme</surname> <given-names>A.</given-names></name> <name><surname>Glenn Cohen</surname> <given-names>I.</given-names></name></person-group> (<year>2018</year>). <article-title>Machine learning in medicine: addressing ethical challenges</article-title>. <source>PLoS Med.</source> <volume>15</volume>:<fpage>e1002689</fpage>. doi: <pub-id pub-id-type="doi">10.1371/journal.pmed.1002689</pub-id>, PMID: <pub-id pub-id-type="pmid">30399149</pub-id></citation></ref>
<ref id="ref148"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vellido</surname> <given-names>A.</given-names></name></person-group> (<year>2020</year>). <article-title>The importance of interpretability and visualization in machine learning for applications in medicine and health care</article-title>. <source>Neural Comput. Applic.</source> <volume>32</volume>, <fpage>18069</fpage>&#x2013;<lpage>18083</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s00521-019-04051-w</pub-id></citation></ref>
<ref id="ref149"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vinkers</surname> <given-names>C. H.</given-names></name> <name><surname>Penning</surname> <given-names>R.</given-names></name> <name><surname>Hellhammer</surname> <given-names>J.</given-names></name> <name><surname>Verster</surname> <given-names>J. C.</given-names></name> <name><surname>Klaessens</surname> <given-names>J. H. G. M.</given-names></name> <name><surname>Olivier</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>The effect of stress on Core and peripheral body temperature in humans</article-title>. <source>Stress</source> <volume>16</volume>, <fpage>520</fpage>&#x2013;<lpage>530</lpage>. doi: <pub-id pub-id-type="doi">10.3109/10253890.2013.807243</pub-id></citation></ref>
<ref id="ref150"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Welch</surname> <given-names>V.</given-names></name> <name><surname>Wy</surname> <given-names>T. J.</given-names></name> <name><surname>Ligezka</surname> <given-names>A.</given-names></name> <name><surname>Hassett</surname> <given-names>L. C.</given-names></name> <name><surname>Croarkin</surname> <given-names>P. E.</given-names></name> <name><surname>Athreya</surname> <given-names>A. P.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Use of Mobile and wearable artificial intelligence in child and adolescent psychiatry: scoping review</article-title>. <source>J. Med. Internet Res.</source> <volume>24</volume>:<fpage>e33560</fpage>. doi: <pub-id pub-id-type="doi">10.2196/33560</pub-id>, PMID: <pub-id pub-id-type="pmid">35285812</pub-id></citation></ref>
<ref id="ref151"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wolpaw</surname> <given-names>J. R.</given-names></name> <name><surname>Birbaumer</surname> <given-names>N.</given-names></name> <name><surname>McFarland</surname> <given-names>D. J.</given-names></name> <name><surname>Pfurtscheller</surname> <given-names>G.</given-names></name> <name><surname>Vaughan</surname> <given-names>T. M.</given-names></name></person-group> (<year>2002</year>). <article-title>Brain-computer interfaces for communication and control</article-title>. <source>Clin. Neurophysiol.</source> <volume>113</volume>, <fpage>767</fpage>&#x2013;<lpage>791</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S1388-2457(02)00057-3</pub-id></citation></ref>
<ref id="ref152"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wong</surname> <given-names>T.-T.</given-names></name></person-group> (<year>2015</year>). <article-title>Performance evaluation of classification algorithms by K-fold and leave-one-out cross validation</article-title>. <source>Pattern Recogn.</source> <volume>48</volume>, <fpage>2839</fpage>&#x2013;<lpage>2846</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.patcog.2015.03.009</pub-id></citation></ref>
<ref id="ref153"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Yucha</surname> <given-names>C.</given-names></name> <name><surname>Montgomery</surname> <given-names>D.</given-names></name></person-group> (<year>2008</year>). <source>Evidence-based Practice in Biofeedback and Neurofeedback.</source> <publisher-loc>USA</publisher-loc>: <publisher-name>AAPB Wheat Ridge, CO</publisher-name>.</citation></ref>
<ref id="ref154"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>G. Q.</given-names></name> <name><surname>Zhang</surname> <given-names>W.</given-names></name></person-group> (<year>2009</year>). <article-title>Heart rate, lifespan, and mortality risk</article-title>. <source>Ageing Res. Rev.</source> <volume>8</volume>, <fpage>52</fpage>&#x2013;<lpage>60</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.arr.2008.10.001</pub-id></citation></ref>
<ref id="ref155"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zheng</surname> <given-names>W.-L.</given-names></name> <name><surname>Bao-Liang</surname> <given-names>L.</given-names></name></person-group> (<year>2015</year>). <article-title>Investigating critical frequency bands and channels for EEG-based emotion recognition with deep neural networks</article-title>. <source>IEEE Trans. Auton. Ment. Dev.</source> <volume>7</volume>, <fpage>162</fpage>&#x2013;<lpage>175</lpage>. doi: <pub-id pub-id-type="doi">10.1109/TAMD.2015.2431497</pub-id></citation></ref>
<ref id="ref156"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhou</surname> <given-names>L.</given-names></name> <name><surname>Pan</surname> <given-names>S.</given-names></name> <name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Vasilakos</surname> <given-names>A. V.</given-names></name></person-group> (<year>2017</year>). <article-title>Machine learning on big data: opportunities and challenges</article-title>. <source>Neurocomputing</source> <volume>237</volume>, <fpage>350</fpage>&#x2013;<lpage>361</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.neucom.2017.01.026</pub-id></citation></ref>
</ref-list>
</back>
</article>