<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Encoding Methods Comparison for Stress Detection⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Marco Serenelli</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michela Quadrini</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Óskarsdóttir</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michele Loreti</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, Reykjavik University</institution>
          ,
          <country country="IS">Iceland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>School of Science and Technology, University of Camerino</institution>
          ,
          <addr-line>Via Madonna Delle Carceri 7, 62032 Camerino, MC</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Stress is a prevalent and growing phenomenon in the modern world that could lead to significant physical issues, both physical and mental health. Analyzing physiological signals collected from wearable sensors using artificial intelligence methods has emerged as a promising approach to predicting and managing stress. However, conventional models for time series analysis are RNN architectures and encounter challenges like high computational costs and issues with vanishing or exploding gradients. Inspired by the success of deep learning methods in computer vision, several studies have proposed transforming time series into images by applying encoding time series algorithms. This work intends to compare three time-series encoding methods: Gramian Angular Field (GAF), both summation and diference, Markovian Transition Field (MTF) and Recurrent Plot (RP) in the stress detection scenario. We employ two architectures, VGG-16 and ResNet, based on Convolutional Neural Network (CNN), to evaluate the performance of these methods on a public dataset, WESAD. Our results demonstrate that the GAF encoding method proves to be the most efective for classifying physiological signals related to stress.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Time Series Encoding</kwd>
        <kwd>Convolutional Neural Network</kwd>
        <kwd>VGG-16 architecture</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Stress, a nonspecific body response to any demand, can afect physiological health and psychological
well-being. Although stress is physiological at a moderate level, chronic stress increases the risk
of developing health problems such as insomnia, obesity, heart disease, and cancer [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Its efects
significantly influence overall behaviour and well-being, potentially impacting personal and professional
success. Chronic stress is an increasingly common phenomenon in the modern world. According to
the British Health and Safety Executive, work-related stress, depression, or anxiety accounted for
49% of all work-related ill health and 54% of all working days lost due to work-related ill health
(19.6 days lost per case) in 2022/23 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. The development of robust methods for prompt and accurate
detection of human stress plays a significant role in people’s quality of life and wellness: managing
stress before it becomes a more severe problem is crucial. The most common way exploits psychological
assessment questionnaires, like the Perceived Stress Scale [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], able to detect human stress at a specific
moment. Therefore, we need reliable, automatic and non-invasive methods to detect stress. Due to
the nature of stress, i.e., a physiological response to stimuli triggered by the sympathetic nervous
system (SNS), we can exploit physiological signals to monitor the stress responses, as proved by Plarre
et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and Hovsepian et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Such an analysis is an emergent and promising approach based
on artificial intelligence methods to predict and manage stress. It is favoured by increasing wearable
device usage, such as smartphones and smartwatches that permit tracking steps and monitoring other
physical activities of their users non-invasively. However, deep learning models for time series analysis,
such as RNN architectures, face challenges like high computational costs and issues with vanishing
or exploding gradients. Inspired by the success of deep learning methods in computer vision, several
studies have proposed transforming time series into images using time series encoding algorithms, such
as Gramian Angular Field, Markovian Transition Field and Recurrent Plot. In the scenario of stress
detection, Quadrini et al. introduced STREDWES, an approach for Stress Detection that exploits time
series encoding methods and convolutional neural network [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ]. The time series encoding method in
STREDWES is Gramian Angular Field, able to formalizes the temporal correlations among time points
of diferent signals where a measurement is taken.
      </p>
      <p>In this work, we intend to compare three-time series encoding methods: Gramian Angular Field (GAF),
both summation and diference, Markovian Transition Field (MTF) and Recurrent Plot (RP) in the stress
detection scenario. These methods encodes time series into images avoiding the some issues related to
the time series analysis. The most common models for time series data exploit recurrent neural network
(RNN) architecture that requires a high computational cost and shows some problems, such as vanishing
and exploding gradients. The time-series data properties are defined as 2-dimensional images with
colors, dots, and lines at the corresponding positions in the image in which they are transformed and
difer from each other. To evaluate the efectiveness of these encoding methods, we exploit architectures
based on CNN, such as VGG-16 architecture and ResNet. We conduct such an evaluation on a public
dataset, Wearable Stress and Afect Detection (WESAD) [19]. WESAD is a publicly available dataset
containing data recorded from a wrist-(Empatica E4) and a chest-worn (RespiBAN) device. Our results
demonstrate that the GAF encoding method proves to be the most efective for classifying physiological
signals related to stress. By analyzing the computational results, we observe that the GAF encoding
method surpasses the other techniques in efectively classifying physiological signals. This superior
performance highlights the potential of GAF as a particularly well-suited method for applications in
stress detection.</p>
      <p>The remainder of this paper is organized as follows. Sect. 2 describes the time series encoding
methods, i..e, including Gramian Angular Field, Markovian Transition Field and Recurrent Plot, the
neural network used as computation models (CNN and feed-forward neural network), and the metrics
used to evaluate the approach. In Sect. 2.1, we describe WESAD, the public dataset in this study.
Followed by 3 where we analyzed the obtained results with the introduced approach. The paper ends
with some conclusions and future perspectives, Sect. 4.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Materials and Methods</title>
      <p>In this work, we propose a comparison among time series encoding algorithms by exploiting a
pretrained VGG-16 and ResNet-18, two architecture based on CNN, with a custom fully connected block to
detect stress as an image classification task.</p>
      <sec id="sec-2-1">
        <title>2.1. Dataset</title>
        <p>
          WESAD is an open-access multimodal dataset which features lab-sourced data with 15 participants [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
It uses wearable sensors that record the following physiological signs: blood volume pulse (BVP), ECG,
electrodermal activity (EDA), electromyogram (EMG), respiration (RESP), body temperature (TEMP),
and three-axis acceleration (ACC). The physiological and motion data is of high quality, sampled at
700 Hz, collected through a chest-mounted (RespiBan) device (ECG, EDA, EMG, RESP, and TEMP),
and the ACC signals are sampled at 35 Hz through a wrist-worn device (Empatica E4). The dataset
consists of 14 time series, each about two hours long, covering the entire experiment duration. These
time series depict three major stimuli: amusement, baseline and stress, collected according to the two
versions of protocol shown in Figure 1. According to our aims, in this work, we consider the fragments
representing baseline and stress.
        </p>
        <p>
          Resampling The dataset contains data sampled at 700 Hz and 35 Hz. First, we standardize the
sampling step of all signals. The signals sampled at 35 Hz are resampled at 700 Hz by up-sampling the
data using linear interpolation. After a resampling, we apply a Butterworth filter [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] to remove any
potential high-frequency noise introduced during the interpolation process. We also apply an Hampel
iflter to eliminate some anomalous peaks that the signals exhibit [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. This filter uses sliding windows
of 1 minute as input, computes the mean  and standard deviation  of the values within the interval,
and analyzes them using Pearson’s rule. Observations that exceed the threshold of 3 from the mean
are considered outliers and replaced with the closest chronological value. This method allows us to
replace outliers without introducing high frequencies. After outliers removal, we normalize all signals
in the interval [− 1; 1] to ensure a consistent scale across all features.
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Sample Construction</title>
        <p>2.2.1. Time Series Encoding Methods
Time series encoding methods are techniques that convert the time series into image. Several approaches
have been introduced in the literature, including GAF, MTF and RP.</p>
        <p>Gramian Angular Field (GAF) The GAF method leverages the polar coordinate system to
capture the angular relationships between time series values, providing a unique and informative visual
representation of the data. The first step is to make the time series data normalized so that every
value falls between − 1 and 1. Formally, let  = {1, 2, . . . , } be the considered time series with 
components. First, the time serie is rescaled by applying the mean normalization:
Then, the scaled series ˜ = {˜1, ˜2, . . . , ˜} is transformed to a polar coordinates as follows
˜ =
( − max()) + (( − min())
max() − min()</p>
        <p>.</p>
        <p>=  ,
{︃  = arccos(˜), ˜ ∈ ˜
with  ∈ {1, . . . ,  }
where  is the time stamp and  is the number of samples used to regularize the span of the polar
coordinate system.</p>
        <p>Finally, we compute the GAFs and GAFd by considering the sum and diference, respectively, between
the points of the time series</p>
        <p>GAFs = ⎣
GAFd = ⎣
⎡cos( 1 +  1) . . . cos( 1 +  )⎤</p>
        <p>... . . . ...
cos(  +  1) . . . cos(  +  )</p>
        <p>⎦ ,
⎡sin( 1 −  1) . . . sin( 1 −  )⎤</p>
        <p>... . . . ...
sin(  −  1) . . . sin(  −  )
⎦ ,</p>
        <p>Markov Transition Field (MTF) The MTF is based on the probabilistic transition between states in
a time series, the dynamic behavior and patterns are captured to be transformed into spatial
representations to fit an image-based analysis. The first step in the MTF method is quantizing the time series data,
by dividing the range of the data into a finite number of discrete states (bins).</p>
        <p>Given a time series  = {1, 2, . . . ,  }, it is first discretized into  quantile units: each value of
the time series is assigned a quantile  , where  ∈ [1, ], and each  is mapped to its corresponding.
Subsequently, each quantile is mapped into an adjacent weighted matrix  of size  × 
where , =  ( ∈ |− 1 ∈  ) is the frequency of quantile  converting to quantile  such
that ∑︀ , = 1. Since the Markov transfer matrix disregards the dependency between position and
time step, matrix  is augmented with matrix  to incorporate temporal correlations between each
quantile and the time step. Formally,
⎡ 1,1</p>
        <p>.</p>
        <p>W = ⎢⎣ ..</p>
        <p>⎡ 1,1</p>
        <p>.</p>
        <p>W = ⎢ ..</p>
        <p>
          ⎣
where , =  ( →  ) is the transfer probability to move from the quantile  to  . The MTF
image encoding method has the following advantages: (a) according to the relationship between quantile
and time step, the temporal correlation of the original signal in diferent time intervals is retained. (b)
The loss of one-dimensional signal information is avoided through the mapping relationship between
signals. (c) The magnitude of transfer probability between quantiles is reflected by diferent colors,
which is conducive to making full use of the advantages of CNN in image classification.
Recurrence Plot A recurrence plot (PR) is a framework that encodes a time series into an image
as proposed in [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. The approach formalizes the pairwise Euclidean distances for each value to
reveal at which points some trajectories return to a previously visited state. Given a time series
 = {1, 2, . . . , }, the recurrence states of a point  are states  that fall into -dimensional
1,2 . . . 1, ⎤
. . . ...
        </p>
        <p>⎥
⎦
,1 ,2 . . . ,
1,2 . . . 1, ⎤
. . . ...</p>
        <p>⎥
⎦
,1 ,2 . . . ,
(5)
(6)
neighborhood of  with a given radius  . The Recurrence Plot is defined as
where</p>
        <p>⎡ 1,1
R = ⎢⎣ ...
{︃1 if ‖ −  ‖ &lt; 
0 otherwise
(7)
and ‖·‖ is a norm and  is the threshold.</p>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Architectures</title>
        <p>
          We have compared three time-series encoding methods of two diferent architectures, VGG-16 and
ResNet, in the scenario of stress detection. It aims to understand which time series encoding method
is most efective in detecting afect states. GAF-s, GAF-d, MTF and RP are two-dimensional matrices.
Therefore, we can treat them as images and face the problem of stress detection as image classification by
exploiting deep learning techniques, like convolutional neural networks (CNN), a kind of network that
plays a fundamental role in various computer vision tasks. CNNs, able to analyze spatial information
without requiring hand-crafted feature extraction, consist of multiple building blocks, such as an input
layer, convolution layers, pooling layers, and fully connected layers. In the past decade, several CNN
architectures have been introduced in the literature to improve performance across diverse applications,
including the Visual Geometry Group 16 (VGG-16) [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] and layer residual nets (ResNets) [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
VGG-16 VGG is an architecture based on the idea of reducing filter sizes and increasing the network
depth. VGG-16 consist of 16 trainable layers connected in a feed-forward fashion, of which 13 layers are
convolutional. The network has a small receptive field of 3 × 3. It has a Max pooling layer of size 2 × 2
and has a total of 5 such layers. These layers are organized into blocks, with each block containing
multiple convolutional layers followed by a max-pooling layer for downsampling. Figure 3 shows a
schema of the architecture.
        </p>
        <p>
          ResNet-18 ResNet is a residual learning method to train deeper networks that are practically dificult
to train [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. The residual network layers, reformulated to learn residual functions relative to the layer
inputs, solve the problem of accuracy degradation in deeper networks. In residual networks, the ResNet
layers are stacked to learn a residual mapping, diferent from plain networks that stack together several
layers to learn the mapping directly. The mapping function, denoted by H(x), features a few stacked
layers. Residual learning exploits the idea that if several nonlinear layers can asymptotically estimate a
complicated mapping function, then they can asymptotically estimate the residual function denoted
as F(x) that can be expressed as  () = () − , where () is the original function. This method
assumes that the residual mapping function is easier to optimize than the original function. Figure 4
shows the ResNet-18 architecture. It consists of eighteen layers in the network, among which 17 are
convolutional layers. Such convolutional layers use 3 × 3 filters, and the network is designed so that
layers producing output feature maps of the same size have the same number of filters. However, when
the output feature map size is halved, the number of filters is doubled in the layers. Convolutional
layers with a stride of 2 perform the downsampling. Throughout the network, residual link connections
are inserted between the layers. There are two types of connections, denoted by solid lines or dotted
lines in Figure 4. The former is used when input and output have the same dimensions, while the latter
is used when dimensions increase.
        </p>
        <p>The two architectures, VGG-16 and ResNet-18, show a final fully connected block. In our models, we
define such a block with only one layer with dropout.</p>
      </sec>
      <sec id="sec-2-4">
        <title>2.4. Evaluation Metrics</title>
        <p>Stess detection can be formulated as a binary classification problem where each image can represent
stress or non-stress. We evaluate the performance of our approach and compare it with one of some
other methods in the literature using six evaluation metrics: Accuracy (), Precision ( ), Recall
(), F-measure ( 1), the area under the receiver operator characteristic curve (  − ), Avg.
precision score (PR)
 =</p>
        <p>+  
  +   +   +</p>
        <p>=
  +</p>
        <p>=
  +</p>
        <p>· 
 1 = 2 ·  + 
  =</p>
        <p>·   −   ·  
(  +   )(  +   )(  +   )(  +   )
where   represents the number of samples representing stress identified correctly (true positive),
  denotes the number of images of stress identified incorrectly (false negative),   represents the
number of stress identified incorrectly (false positive),   denotes the number of stress identified
correctly (true negative).</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Results</title>
      <sec id="sec-3-1">
        <title>3.1. Dataset Entries</title>
        <p>
          The entries of our model consist of images encoded from multivariate time series fragments stored
in WESAD. To encode the signals into images, we consider several variables, such as the frequency
to resample the time series, time window length, the step for the slide of the window, and the image
size. By taking inspiration from the work proposed in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], and after multiple iterations, we set up the
values of the frequency to 700Hz, the window length to 1 minute and the step to 1 second, along with
an image size of 224x224 to match the requirements of the ResNet and VGG network. We realized,
that if considered as a binary classification problem, the dataset was somewhat unbalanced, 65% for
Baseline and 35% for Stress, with a bias towards the baseline class. To address this imbalance, we applied
Synthetic Minority Over-sampling Technique (SMOTE) [14] to upsample the minority class (stress).
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Implementation</title>
        <p>We implemented our approach in Python by exploiting the PyTorch package [15]. For obtaining the
GAFd, GAFs and MTF images, we leveraged the pyts package [16]. The activation function used is
the PreLU for all layers except the last one that uses the softmax function. Adam is the optimization
algorithm with the learning rate set as a definable parameter. The used hyperparameters equipped with
their description and the used values are listed in Table 1.</p>
        <p>All experiments were performed on a machine with the following characteristics, RAM 32 GB, CPU
Ryzen 7 3700X, and GPU NVIDIA RTX 3090. The code used to develop this project is available at
https://github.com/marcoserenelli/Encoding-Methods-Comparison-for-Stress-Detection</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Computation Results</title>
        <p>We can now compare the efectiveness of the four time-series encoding methods in the stress detection
scenario. For this reason, we consider two diferent architectures, ResNet-18f and VGG-16. Note that, in
our approach, the last blocks of the two architectures are costumed.</p>
        <p>The Table 2 show the computational results, evaluated by considering the standard metrics. The
ResNet behavior changes variably for diferent encoding methods, achieving maximum accuracy and
F1 when using GAF-d at 93.92% and 92.0%, respectively. The RP approach performs much worse,
its accuracy is only 59.0%, while the recall is 100%, meaning that it manages to detect every single
relevant case correctly but produces many false positives Recall and F1-measure are a bit lower with
VGG-16, maintaining an accuracy of 95.8% using the encoding GAF-s. Both RP and MTF encodings of
VGG-16 show reduced performance in accuracy and F1-measure compared to the GAF encodings. This
information indicates that the choice of the encoding method plays a vital role in obtaining improved
performance from CNN architectures, with GAF-s and GAF-d generally performing better.</p>
        <p>
          Finally, we also compare the performance of our approach with others based on classical machine
learning algorithms [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] and the multimodal-multisensory sequential fusion model (MMSF) [17] proposed
in the literature. MMSF is a model based on a multimodal fusion scheme for merging heterogeneous
signals [18]. The used fusion scheme is ’late fusion’. It trains multiple submodels individually and
combines the obtained outputs as input for a final supervised classifier, diferent from the approaches
based on time series encoding methods that first aggregate the heterogeneous signals and map them
into an image, avoiding the overfitting problem related to the signal length. Table 3 shows the accuracy
and F1 score of each approach.
        </p>
        <p>By analyzing the results, we can observe that both VGG-16 with GAF-s and ResNet with GAF-d
outperform all the classical baseline methods and the MMSF model, in terms of accuracy and F1-score.
This highlights the efectiveness of advanced CNN architectures in capturing complex patterns in the
data, likely benefiting from deeper layers and more advanced feature extraction capabilities. In many
cases, particularly with the GAF-s and GAF-d encodings, it is shown that the CNN can reach higher
metric values, indicating that these methods are a solid way to preprocess and present data to networks.
Even if the MMSF model outperforms the classical machine learning models, it still cannot catch up
with the results achieved by the CNN architectures indicating that while the multimodal approaches
are formidable, further improvement can be achieved in the specific designs of the CNNs with optimal
encoding techniques. The comparison shows that CNN architectures, particularly when paired with
efective encoding methods like GAF-s and GAF-d, ofer superior performance over both classical
machine learning methods and newer models like MMSF, underlining the importance of choosing the
right architectural and preprocessing strategies to maximize the eficacy of machine learning models in
complex classification tasks.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion and Future Work</title>
      <p>Developing robust and non-invasive methods to detect stress plays a fundamental role in everyday
life since stress is a significant and growing phenomenon that can lead to numerous health problems.
Detection and managing stress can greatly improve people’s quality of life and overall well-being. The
social acceptance of smartphones and wearable sensors, able to track physiological parameters and
monitor the physical activities of users, allows us to establish reliable non-invasive methods for stress
detection. In this work, we compared the GAF-s, GAF-d, MTF and RP time series encoding techniques
to determine which one is most efective for stress detection. Since GAF-s, GAF-d, MTF and RP are
two-dimensional matrices, we can treat them as images and face the problem of stress detection as
image classification by two architectures based on CNN, i.e., VGG-16 and ResNet-18. By analyzing
the results, we observe that the GAF (Gramian Angular Field) encoding method consistently performs
best for encoding physiological signals as images across both networks. Specifically, for ResNet-18, the
GAF-s method excels, while for VGG-16, the GAF-d method shows better performance. The approach
showed promising results in controlled laboratory environments. However, their application in real-time
scenarios poses several challenges, such as high computational costs on mobile devices or the variability
in environmental factors that may reduce the accuracy of the results.</p>
      <p>
        In the future, we plan to include other time-series encoding methods and to study the limitations of
such approaches. Moreover, we intend to investigate the approach for obtaining the sliding. An approach
to implement sliding windows could follow the methods proposed in [
        <xref ref-type="bibr" rid="ref6 ref7">6, 7</xref>
        ] or exploit techniques based
on entropy like [19]. Another interesting feature direction is to convert time series into a graph under a
geometric principle of visibility or a simplicial complex. These conversions allow us to exploit other
deep-learning architectures, like Graph Neural Networks, to develop approaches similar to the ones
proposed for other fields [ 20], or methods based on logic frameworks to verify propertiess [21]. These
data structures enables the application of innovative approaches, exploiting the concept that graph
neural networks can be programmed to achieve explainable results [22, 23].
[14] N. V. Chawla, K. W. Bowyer, L. O. Hall, W. P. Kegelmeyer, Smote: synthetic minority over-sampling
technique, Journal of artificial intelligence research 16 (2002) 321–357.
[15] A. Paszke, S. Gross, F. Massa, A. Lerer, J. Bradbury, G. Chanan, T. Killeen, Z. Lin, N. Gimelshein,
L. Antiga, et al., Pytorch: An imperative style, high-performance deep learning library, Advances
in neural information processing systems 32 (2019).
[16] J. Faouzi, H. Janati, pyts: A python package for time series classification., J. Mach. Learn. Res. 21
(2020) 46–1.
[17] J. Lin, S. Pan, C. S. Lee, S. Oviatt, An explainable deep fusion network for afect recognition using
physiological signals, in: Proceedings of the 28th ACM International Conference on Information
and Knowledge Management, 2019, pp. 2069–2072.
[18] S. Oviatt, B. Schuller, P. R. Cohen, D. Sonntag, G. Potamianos, A. Krüger, The handbook of
multimodal-multisensor interfaces: Signal processing, architectures, and detection of cognition
and emotion, 2018.
[19] M. Quadrini, M. Cavallin, S. Daberdaku, C. Ferrari, Prosps: protein sites prediction based on
sequence fragments, in: International Conference on Machine Learning, Optimization, and Data
Science, Springer, 2021, pp. 568–580.
[20] M. Quadrini, S. Daberdaku, C. Ferrari, Hierarchical representation for ppi sites prediction, BMC
bioinformatics 23 (2022) 1–34.
[21] M. Loreti, M. Quadrini, A spatial logic for simplicial models, Logical Methods in Computer Science
19 (2023).
[22] M. Belenchia, F. Corradini, M. Quadrini, M. Loreti, Implementing a ctl model checker with  g,
a language for programming graph neural networks, in: International Conference on Formal
Techniques for Distributed Objects, Components, and Systems, Springer, 2023, pp. 37–54.
[23] M. Belenchia, F. Corradini, M. Quadrini, M. Loreti, libmg: a python library for programming graph
neural networks in  g, Science of Computer Programming (2024) 103165.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Everly</surname>
          </string-name>
          , Jr,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Lating</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Everly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Lating</surname>
          </string-name>
          ,
          <article-title>The anatomy and physiology of the human stress response, A clinical guide to the treatment of the human stress response (</article-title>
          <year>2019</year>
          )
          <fpage>19</fpage>
          -
          <lpage>56</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>[2] Health and Safety Executive, HSE on work-related stress</article-title>
          .
          <year>2021</year>
          , http://www.hse.gov.uk/statistics/ causdis/-fstress/index.htm, ????
          <source>Accessed on March 7</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>E.-H.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <article-title>Review of the psychometric evidence of the perceived stress scale</article-title>
          ,
          <source>Asian nursing research 6</source>
          (
          <year>2012</year>
          )
          <fpage>121</fpage>
          -
          <lpage>127</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>K.</given-names>
            <surname>Plarre</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Raij</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Hossain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Ali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nakajima</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Al'Absi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Ertin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kamarck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Kumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Scott</surname>
          </string-name>
          , et al.,
          <article-title>Continuous inference of psychological stress from sensory measurements collected in the natural environment</article-title>
          ,
          <source>in: Proceedings of the 10th ACM/IEEE international conference on information processing in sensor networks, IEEE</source>
          ,
          <year>2011</year>
          , pp.
          <fpage>97</fpage>
          -
          <lpage>108</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Hovsepian</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Al'Absi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Ertin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kamarck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Nakajima</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          <article-title>Kumar, cstress: towards a gold standard for continuous stress assessment in the mobile environment</article-title>
          ,
          <source>in: Proceedings of the 2015 ACM international joint conference on pervasive and ubiquitous computing</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>493</fpage>
          -
          <lpage>504</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Quadrini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Daberdaku</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Blanda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Capuccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Bellanova</surname>
          </string-name>
          , G. Gerard,
          <article-title>Stress detection from wearable sensor data using gramian angular fields and cnn</article-title>
          , in: International Conference on Discovery Science, Springer,
          <year>2022</year>
          , pp.
          <fpage>173</fpage>
          -
          <lpage>183</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Quadrini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Capuccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Falcone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Daberdaku</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Blanda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Bellanova</surname>
          </string-name>
          , G. Gerard,
          <article-title>Stress detection with encoding physiological signals and convolutional neural network, Machine Learning (</article-title>
          <year>2024</year>
          )
          <fpage>1</fpage>
          -
          <lpage>29</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>P.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Reiss</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Duerichen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Marberger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. Van Laerhoven</given-names>
            ,
            <surname>Introducing</surname>
          </string-name>
          <string-name>
            <surname>WESAD</surname>
          </string-name>
          ,
          <article-title>a multimodal dataset for wearable stress and afect detection</article-title>
          ,
          <source>in: Proceedings of the 20th ACM international conference on multimodal interaction</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>400</fpage>
          -
          <lpage>408</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>I. W.</given-names>
            <surname>Selesnick</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. S.</given-names>
            <surname>Burrus</surname>
          </string-name>
          ,
          <article-title>Generalized digital butterworth filter design</article-title>
          ,
          <source>IEEE Transactions on signal processing 46</source>
          (
          <year>1998</year>
          )
          <fpage>1688</fpage>
          -
          <lpage>1694</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>R. K.</given-names>
            <surname>Pearson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Neuvo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Astola</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gabbouj</surname>
          </string-name>
          ,
          <article-title>Generalized hampel filters</article-title>
          ,
          <source>EURASIP Journal on Advances in Signal Processing</source>
          <year>2016</year>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>E.</given-names>
            <surname>Jp</surname>
          </string-name>
          ,
          <article-title>Recurrence plots of dynamical systems</article-title>
          ,
          <source>Europhysics Ltters</source>
          <volume>5</volume>
          (
          <year>1987</year>
          )
          <fpage>973</fpage>
          -
          <lpage>977</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>K.</given-names>
            <surname>Simonyan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zisserman</surname>
          </string-name>
          ,
          <article-title>Very deep convolutional networks for large-scale image recognition</article-title>
          ,
          <source>arXiv preprint arXiv:1409.1556</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>K.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , S. Ren,
          <string-name>
            <given-names>J.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <article-title>Deep residual learning for image recognition</article-title>
          ,
          <source>in: Proceedings of the IEEE conference on computer vision and pattern recognition</source>
          ,
          <year>2016</year>
          , pp.
          <fpage>770</fpage>
          -
          <lpage>778</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>