Next Article in Journal
An Adaptive Routing Algorithm Based on Relation Tree in DTN
Next Article in Special Issue
Reliability of IMU-Based Gait Assessment in Clinical Stroke Rehabilitation
Previous Article in Journal
ESPEE: Event-Based Sensor Pose Estimation Using an Extended Kalman Filter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tourist Experiences Recommender System Based on Emotion Recognition with Wearable Data

by
Luz Santamaria-Granados
1,*,
Juan Francisco Mendoza-Moreno
1,
Angela Chantre-Astaiza
2,
Mario Munoz-Organero
3 and
Gustavo Ramirez-Gonzalez
4
1
GIDINT, Faculty of Systems Engineering, Universidad Santo Tomás Seccional Tunja, Calle 19, No. 11-64, Tunja 150001, Colombia
2
SysTémico Research Group, Department of Tourism Sciences, Universidad del Cauca, Calle 5, No. 4-70, Popayán 190002, Colombia
3
GAST, Telematics Engineering Department, Universidad Carlos III de Madrid, Av. de la Universidad, 30, 28911 Madrid, Spain
4
GIT, Telematics Department, Universidad del Cauca, Calle 5, No. 4-70, Popayán 190002, Colombia
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(23), 7854; https://doi.org/10.3390/s21237854
Submission received: 1 October 2021 / Revised: 18 November 2021 / Accepted: 22 November 2021 / Published: 25 November 2021
(This article belongs to the Special Issue Use of Smart Wearable Sensors and AI Methods in Providing P4 Medicine)

Abstract

:
The collection of physiological data from people has been facilitated due to the mass use of cheap wearable devices. Although the accuracy is low compared to specialized healthcare devices, these can be widely applied in other contexts. This study proposes the architecture for a tourist experiences recommender system (TERS) based on the user’s emotional states who wear these devices. The issue lies in detecting emotion from Heart Rate (HR) measurements obtained from these wearables. Unlike most state-of-the-art studies, which have elicited emotions in controlled experiments and with high-accuracy sensors, this research’s challenge consisted of emotion recognition (ER) in the daily life context of users based on the gathering of HR data. Furthermore, an objective was to generate the tourist recommendation considering the emotional state of the device wearer. The method used comprises three main phases: The first was the collection of HR measurements and labeling emotions through mobile applications. The second was emotional detection using deep learning algorithms. The final phase was the design and validation of the TERS-ER. In this way, a dataset of HR measurements labeled with emotions was obtained as results. Among the different algorithms tested for ER, the hybrid model of Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) networks had promising results. Moreover, concerning TERS, Collaborative Filtering (CF) using CNN showed better performance.

Graphical Abstract

1. Introduction

Internet of Things (IoT) technology enables the integration of wearable and mobile devices to gather historical data from users. Personalized services are designed based on this data to contribute to people’s well-being and quality of life [1,2]. Researchers, in recognition of emotional patterns, find the physiological data of people that is relevant in their daily lives. These devices become a ubiquitous source for providing this data [3]. Emotional detection can be applied in various contexts, including tourism, to improve the tourist experience at destinations [4,5].
On the other hand, tourist expectations from a temporal perspective are analyzed in three phases: before, during, and after the tourist visit [6,7]. This study focuses on the preliminary phase of the visit, which detects the affective condition of people as a contextual factor of a recommender system. To this end, the World Tourism Organization highlights that the tourism industry is more competitive when receptive tourists are more inclined to the emotional benefits than to the physical features and cost of the destination [8].
Preliminarily, the literature review was conducted to identify the components of the emotion-based tourism recommender frameworks [9]. This study showed the gap in integrating physiological data from wearable sensors to detect the affective condition of the user as a relevant contextual factor in the satisfaction of the recommendation. The analyzed approaches mainly considered sentiment analysis techniques to detect emotional states from the social networks reviews. Moreover, these models did not consider low-cost wearables to discover emotional patterns in the user’s daily life.
In this review of the state-of-the-art, it was also found that there is a disparity of formats, emotional states, and physiological signals in the datasets. Wearables of a different range were also used, mainly medium and high-end. Most of these studies took biosignal measurements in controlled experiments [9,10,11,12,13]. As wristbands evolve, they integrate more sensors and with better accuracy. The most common sensors measure heart rate (HR), Galvanic Skin Response (GSR), and temperature. In the context of tourism, the most common wearables are those that are affordable and non-intrusive. Therefore, in this study, the wearable Xiaomi Mi Band was chosen because it is cheap, includes basic physiological sensors, is comfortable, and is easy to use.
One of the research challenges of this study was detecting changes in people’s emotional states in natural and uncontrolled conditions, using wearables with low accuracy in their measurements. To do this, we developed a mobile application to record emotions, independent of the HR record. As a result of this double registration, creating a time series synchronization algorithm called the adjustable and sliding window became necessary.
There are different types of emotions, and therefore their duration and intensity are varied. Norman’s model [14] describes three levels of brain processing to explain the distinct emotional reactions that a person experiences: visceral, behavioral, and reflective. Each person interprets their emotional response according to their identity, culture, personality, and context. Therefore, the automatic detection of emotional states in a time series of physiological measurements became another challenge for this research. In this way, another algorithm was proposed to detect emotional states, known as Emotional Slicing (ES). This algorithm groups HR instances into a time slot to which it assigns an emotional label.
In the previous study of emotional detection on the AMIGOS dataset [15], Convolutional Neural Networks (CNN) [16] were used. Now, in this study, a hybrid Deep Learning (DL) algorithm from CNN and Long Short-Term Memory (LSTM) networks [17,18,19] was implemented for Emotion Recognition (ER) from the ES dataset.
Once the emotion was detected, the Tourist Experience Recommendation System based on the ER (TERS-ER) was developed as the last phase of this study. An interface was designed with the Tourist Traceability Ontology (OntoTouTra) [20] to get the contextual data.
In addition, for the TERS engine, two approaches to Content-Based Filtering (CBF) [21,22] and Collaborative Filtering (CF) based on CNN [2,9,23] were designed to generate the top-N list of Tourist Experiences (TE) recommendations. The TERS engine integrated a user similarity algorithm, selecting candidate users from the ontology based on the profile and contextual data of the wearable user.
This document is organized as follows: Section 2 describes the background to this study and discusses related papers. Section 3 defines the method used for this study. Then Section 4 describes the TERS-ER architecture and its components. Later, Section 5 outlines the TERS-ER performance evaluation and validation. Finally, Section 6 presents the discussion of the results, conclusions, and future work.

2. Literature Review

2.1. Background

Previously, the performance of some Shallow Machine Learning and Deep Learning algorithms for emotion detection [16], based on the AMIGOS public dataset [15], was compared. In conclusion, it was evidenced that the DCNN architecture showed a better performance in detecting Arousal (0.71 and 0.81) and Valence (0.75 and 0.71) using GSR and Electrocardiogram (ECG) signals (see Table 1). The AMIGOS dataset was collected in tests controlled in the laboratory, using 14 electrodes for the electroencephalogram (EEG), two for the ECG, and one for the GSR. These electrodes were placed on the body of each of the 40 participants. Emotions were elicited through 16 short videos of less than 250 s in length. The resulting dataset is a time series with features corresponding to the physiological signal measurements displayed on 17 channels. Moreover, as labels, it presents the annotations of Arousal, Valence, and dominance [24,25].
Wearables have entered the market in great numbers in recent years [9,26], as have increasingly incorporate sensors that measure physiological signals. The most common sensor present in this type of device is the Photoplethysmogram (PPG) [12,27,28,29], which registers HR signals. The configuration of these devices has aroused scientific interest in detecting the emotional state of a person from these signals [12,13,30]. However, not all wearables have the same level of accuracy in getting the physiological signals [29]. There are devices ranges [10,26]: Expensive devices with high accuracy sensors, principally used for healthcare purposes, for instance, include the Emphatica E4 [11,13,28,31]. Medium range devices with precise sensors have more extensive use, targeted to high-performance athletes, mainly for fitness and sports, and these include, for example, Garmin and Microsoft Band [10,12,32,33]. Affordable devices for all audiences are used for general purposes, for instance, the Xiaomi Mi Band [10,34,35,36,37].
The second stage of the research project [16] corresponds to the study proposed in this paper, applied in the context of tourist recommendations outside the laboratory. The massification of low-cost devices made it possible to reach different contexts, including tourism. Of the three ranges of wearables, the low-cost ones have the highest probability of being used by people who want to have a tourist experience in a destination soon. Then a scientific challenge is created to take advantage of these wearables, which despite their low precision in the measurement of physiological signals, still generate a large amount of data that can be processed with data analytics to discover hidden patterns and trends.
Most of the studies described to the TERS design worked with traditional filtering classifiers such as Collaborative and Content-Based [9]. The second challenge of this study is to integrate the detection of people’s emotional states into the recommender systems. It was traditionally recommended through the reviews of other tourists on lived experiences or based on the context and configuration of the tourist experience in a destination. Nevertheless, this study is intended to refine this type of recommendation according to a person’s emotional state, either to counteract it for negative moods; or to maximize it for positive emotional states. The related work in [9] did not show previous studies regarding a TERS based on the emotional state of a person using HR signals from a low-cost wearable device.
The third challenge of this study is related to how to register the emotional state of a person. In experiments such as the consolidation of the AMIGOS [15] and DEAP [38] datasets, self-annotators and external annotators recorded perceived emotion using a Self-Assessment Manikin (SAM) questionnaire [25]. However, in the daily life context of a person, the researchers of this study developed a mobile application that recorded the mood of the wearable user at different times when he/she felt that an emotion elicitation was being presented. A new challenge arises: synchronizing the time series data of HR measurements with the recording of emotional elicitations. This is achieved by developing a new algorithm, which is the contribution of this study, the sliding and adjustable window algorithm.

2.2. Related Works

In this section, ER architectures and methods based on data from wearable devices are analyzed. On the other hand, TERS studies similar to the architecture proposed in this paper are related, based on the previous research of [9].

2.2.1. Affective Detection

Studies have been developed on the detection of the emotional state in different contexts [13,27], most of them in controlled environments and with sensors or specialized wearable devices. The number of participants involved in these types of experiments is around 20 people. Table 2 describes some research for affective detection according to the two-dimensional model of emotions by Arousal (A) and Valence (V) [24]. Also, the specification of the wearable device (physiological sensors and low-cost sensors) and the data collection method (dataset, experiment type, and participants) are given. The last three columns of Table 2 show the physiological signals, the emotion classification approach, and the best performance results of each study.
Meanwhile, Abdel et al. [30] described a method of extracting covariance matrices from EEG signals for the emotion classification using the Log-Euclidean Riemannian Metric (LERM). The study [27] proposed an ER framework by merging multiple physiological signals from the DEAP dataset. Also, they extracted time-domain features from GSR and PPG signals to assess AV detection. These attributes are provided as input to a music recommendation system.
Bulagang et al. [13] used the Empatica E4 device for the collection of HR data from 20 participants, a virtual reality viewer for the elicitation of emotions (emotional quadrants: HVHA, HVLA, LVHA, and LVLA) while the subjects visualized a stream of sixteen 360° videos, for 365 s. Accuracy performance is compared to three methods: Support Vector Machine (SVM), K-Nearest Neighbor (KNN), and Random Forest (RF).
The SAM questionnaire was adopted for the self-assessment of the emotions of 17 participants while watching a series of 24 short videos of affective induction [12]. Inter-Beat-Interval (IBI) features were processed to classify emotional valence using a Bayesian Deep Neural Network (DNN) model.
Deep Learning reduces the complexity of extracting features of traditional statistical techniques because, with manual extraction, the inconvenience of bias in data induction can arise [9]. Another drawback to take into account is the accuracy level of the sensors used. Researchers prefer specialized devices but recognize the need to build new datasets with enough instances, achieved through the use of cheap off-the-shelf wearable devices [12,29].
Unlike the previously described methods for collecting physiological data and emotional labels [9] (see Table 2), this paper proposes data collection methods in people’s daily lives, processing, labeling, and emotional detection based on HR data from Xiaomi Mi Band devices.

2.2.2. Tourist Recommendation Systems

Habitually, Recommender Systems (RS) are becoming more relevant for the decision of the choice of tourist experiences by people [5,6,7,39]. The large Online Travel Agencies (OTAs) incorporate the RS in their systems, and the competitive factor of the agency depends on its effectiveness in the recommendation. Typically RS engines base the prediction primarily on CF and CBF. Considering the maximum number of contextual variables contributes to the accuracy enhancement of the RS [2,4,40].
Preliminarily, in the analysis of the RS literature [9], related works were filtered, whose domain is tourism and that have used sentiment analysis as a contextual factor in the recommendation process (see Table 3). This table incorporates some studies with descriptions of datasets related to tourist destinations (reviews, users, and items), the RS approaches, the similarity metrics (similarity of cosine and Pearson’s coefficient), and the performance evaluation outcomes.
Data from social networks promote emotion analysis and opinion mining from user reviews to determine TE preferences, as well as addressing issues related to a cold start and data scarcity in CF [41,42]. Other studies [41,43] proposed to involve the feelings of the trip as a relevant factor in the experience at the destination using the Term Frequency-Inverse Document Frequency (TF-IDF) technique in the emotion polarity. The studies [42,44] involved the affective, temporal, and location features of users to improve the quality of the RS through a hybrid preference mining algorithm.
Furthermore, in other contexts such as entertainment, business, health care, and smart tourism, the contextual factors of emotions applying sentiment analysis techniques in the classification of reviews have been the subject of research [9]. The user models, based on contextual features extracted from social networks, established the similarity of the users’ preferences of tourist destinations. Also, the application of the algorithms of SVM, KNN, DNN, CNN, and LSTM have been used for the automatic extraction of features and the classification of the mood [9,16].
Unlike the sentiment analysis based on the explicit rating of the reviews in the recommendation processes, this study defines a TERS-ER architecture incorporating the contextual data of the users’ emotions before the tourist visit. For this purpose, a knowledge base of tourist destinations from OntoTouTra [20] is obtained, and the TE are defined according to the AV quadrants. Subsequently, Deep Learning techniques are employed for extracting features and generating the top-N list of TE recommendations.

3. Materials and Methods

The general process of the methodology used is depicted in Figure 1, which comprises three phases: HR measurements and emotion labeling, detection of emotional states, and TERS-ER design and validation.

3.1. HR Measurement and Labeling Emotions

The purpose of this phase was to create an emotional dataset. This dataset is a time series of HR measurements tagged with the emotion felt by the wearable user. The HR register is an objective response to the elicitation of the perceived stimulus in the context, while the emotion register is a subjective response.
As in the similar experiments described in Section 2.2.1, a group of 18 participants was formed, nine men and nine women, whose ages ranged from 18 to 44 years. However, unlike the related work experiments, the study was carried out in contexts outside a laboratory, in the participants’ daily lives. However, three group sessions of controlled elicitation of emotions were programmed to verify the correct recording of the measurements. Each participant was given a Xiaomi Mi Band wristband, and two applications were installed on their mobile device: Master For mi Band (MFB) [45] and MyEmotionBand (MEB). The first app recorded heart rate measurements. The second app was developed in this study to record the person’s emotional states, activities, and location. Before starting the experiment, a group of healthcare professionals assessed the physical and emotional state of the participants. Once the group of participants knew the purpose and procedure of the investigation, they signed the consent for participation. The duration of the experiment was eleven weeks. Short videos were projected for the three group sessions: 19, 19, and 11 videos, respectively. These videos were chosen from the FilmStim repository [46] according to the emotional elicitation of the four AV quadrants [24].
As a result of registering HR measurements, a dataset was created in MongoDB, and from registering the labels, another dataset was created in Firebase. Later, both datasets were synchronized so that the time series coincided with labeling the HR measurements with emotions. For this, Algorithm 1 was developed. Then it was necessary to determine the duration of emotional states [14] using Algorithm 2. Once both algorithms were executed, the emotional dataset was created.
Algorithm 1. Sliding and adjustable window for the time series data tagging.
1:
proceduregetTagDataset
2:
     m a x _ s i z e _ w i n d o w = 180 ;
3:
    for k, v in h r D a t a . i t e m s ( )  do
4:
         h r = { } ;
5:
        for  h r T i m e s t a m p , h e a r t R a t e in v . i t e m s ( )  do
6:
            W Δ = 0 ;
7:
           for  k 1 , v 1 in e m o t i o n . i t e m s ( )  do
8:
               if  k 1 = k then
9:
                   for  k e y , v a l u e in v 1 . i t e m s ( )  do
10:
                       while  W Δ m a x _ s i z e _ w i n d o w  do
11:
                           w i n d o w _ s t a r t = h r T i m e s t a m p W Δ ;
12:
                           w i n d o w _ e n d = h r T i m e s t a m p + W Δ ;
13:
                           f i n d = F a l s e ;
14:
                          for  e T i m e s t a m p in v 1 . k e y s ( )  do
15:
                              if  w i n d o w _ s t a r t e T i m e s t a m p w i n d o w _ e n d  then
16:
                                   h r . u p d a t e ( h r T i m e s t a m p ( v 1 , h r ) ) ;
17:
                                   f i n d = T r u e ;
18:
                                  break;
19:
                              end if
20:
                          end for
21:
                          if  f i n d = True then
22:
                              break;
23:
                          else
24:
                               h r . u p d a t e ( h r T i m e s t a m p ( v 1 , h r ) ) ;
25:
                          end if
26:
                           W Δ = W Δ + 1 ;
27:
                       end while
28:
                   end for
29:
               end if
30:
           end for
31:
        end for
32:
         h r D a t a . u p d a t e ( h r T i m e s t a m p ( k , h r ) ) ;
33:
    end for
34:
end procedure
Algorithm 2. Emotional slicing.
1:
procedurebuildSlices
2:
     t i m e B e t w e e n I n s t a n c e s = 60 ; s l i c e S i z e = 30 ; s l i c e L i m i t = 20 ; s l i c e s C o u n t e r = 0 ;
3:
     t a g H r L i s t = d a t a L o a d ( h r D a t a ) ; p r e v i o u s = t a g H r L i s t [ 0 ] ;
4:
     i n i t S l i c e ( ) ;
5:
     a d d I n s t a n c e T o S l i c e ( ) ;
6:
     g e t M i n M a x B y I m e i ( ) ;
7:
    for  r o w in r a n g e ( 1 , l e n ( t a g H r L i s t )  do
8:
         p r e v i o u s = t a g H r L i s t [ r o w 1 ] ;
9:
         c u r r e n t = t a g H r L i s t [ r o w ] ;
10:
        if  p r e v i o u s [ 0 ] = c u r r e n t [ 0 ]  then
11:
           if  i n t ( c u r r e n t [ 0 ] ) i n t ( p r e v i o u s [ 0 ] ) t i m e B e t w e e n I n s t a n c e s  then
12:
               if  c u r r e n t [ 4 ] = m o v i e  then
13:
                   if  p r e v i o u s [ 3 ] c u r r e n t [ 3 ]  then
14:
                        c l o s e S l i c e ( ) ;
15:
                   end if
16:
                    a d d I n s t a n c e T o S l i c e ( ) ;
17:
               else
18:
                    a d d I n s t a n c e T o S l i c e ( ) ;
19:
               end if
20:
           else
21:
                c l o s e S l i c e ( ) ;
22:
                a d d I n s t a n c e T o S l i c e ( ) ;
23:
           end if
24:
        else
25:
            c l o s e S l i c e ( ) ;
26:
            a d d I n s t a n c e T o S l i c e ( ) ;
27:
        end if
28:
    end for
29:
end procedure

3.2. Detection of Emotional States

In IoT environments, the collection of user datasets can lead to multi-class imbalance, which affects the efficiency and performance of the prediction models. The consolidated dataset in this study presented an unequal distribution in the emotion classes (see Figure 2b) because the participants showed different affective behaviors in their contexts. Likewise, the participants were predisposed to the affective states of pleased, calm, tired, and glad. In contrast to the lower emotional classes of HR records (embarrassed, alarmed, and depressed). In Figure 2a, this same distribution was confirmed for the positive emotion quadrants (HVHA and HVLA) compared to the negative emotion quadrants (LVHA, LVLA).
For this purpose, some studies have used heuristic sampling methods and oversampling techniques for the Multi-class Imbalanced Classification (MIC) using neural networks [47,48,49]. These sampling techniques are based on the nearest neighbor rule of the feature space of each class [49,50]. For the above, the data balancing component sizes the dataset and adjusts the label names by quadrants or emotional states. It also uses class balancing methods to evaluate the performance of affective detection models. That is, the dataset is transformed with the ES instance interpolation methods in the minority classes [51] with the Synthetic Minority Oversampling Technique approaches with K-means (K-SMOTE) [49,52] and TomekLinks (TL) [50]. Subsequently, the combined techniques (K-SMOTE + TL) and oversampling (K-SMOTE) were implemented separately to process the dataset in training [51].
Once the emotional dataset had been balanced, a CNN and LSTM networks hybrid model was used to detect emotion. This model was chosen because it better classified the shallow algorithms’ emotional quadrants (happy, calm, sad, and angry).
An algorithm was designed to determine the predominant emotional state that defined the frequency of the emotion felt by the participants. The results of the execution of this algorithm were stored in a MongoDB collection.

3.3. Design and Validation

This phase corresponds to the moment that the wearable device user plans their next TE. The emotional dataset has already been collected, and the predominant emotion of the user has been calculated. So, a TERS is needed that recommends TE according to the person’s emotional state, context, and profile. Therefore, as input sources, the TERS needs the emotional dataset, and concerning the other two requirements, a knowledge base in tourism is used. For this study, OntoTouTra was used.
Initially, similar features were selected among users of the tourist review dataset. To know the profiles of the participants of the experiment, they, in advance, completed a survey with their profile data and TE preferences. With the data from these profiles, similar users were filtered using NLP techniques applied to the username in the ontology to determine its gender. Features of the ontology such as country, ratings, TE, and location were also extracted. The location was compared with the geographic coordinates obtained in the emotional dataset. Then, the similarity was calculated using the Cosine Similarity (CS) metric. In this way, the candidate users were obtained from OntoTouTra.
Two approaches were developed for the TERS engine: A CBF method that determines the similarity between tourist destinations and the other CF-CNN method to relate user preferences. These classification methods processed the filtered information from the destination dataset and extracted the most relevant TE items for the recommendation process. Finally, the list of recommended TE was generated based on the target user’s profile, preferences, context, and emotions.
The following categories of TE [53,54,55] were established:
  • Adventure: defines experiences of risky activities such as scuba diving, waterskiing, horse riding, and canoeing.
  • Ecological: relates experiences of contact with nature such as hiking, ecological walks, and bicycle tours.
  • Entertainment: involves experiences of fun attractions such as movie theaters, theme parks, live music, and sports shows.
  • Family: promotes experiences of strengthening relationships between parents and children through attractions on the beach, in the pool, family and children’s games.
  • Fitness: promotes wellness experiences and physical activities such as aerobics, gym routine, personal training, and dance.
  • Heritage/Culture: promotes experiences of authentic activities such as visits to museums, archaeological sites, and typical food festivals.
  • Romantic: involves couples’ romance experiences such as themed dinners, fun in nightclubs and bars.
  • Relaxation: involves health care experiences and relaxation activities such as spa, hydrotherapy, sauna, yoga, among others.
The distribution analysis of affective states showed a high rate of participants who registered positive emotions in contrast to negative ones (see Figure 2a). This study assumed that the TE recommendations that people seek are strongly related to increased satisfaction and improving their experiences at destinations [5,6,7]. For this reason, if the detected emotion was negative (sad: LVLA quadrant or anger: LVHA quadrant) or positive (happy: HVHA or calm: HVLA emotional quadrant), the recommender emphasizes positive emotions and mitigates negative ones. For instance, the suggestion for a person who was stressed is the relaxation experience. At the same time, the recommendation for someone calm may be the ecological experience. In this sense, the relationship of emotions with the categories of TE was:
  • Happy (HVHA) or sad (LVLA): encourages adventure, family, romantic, and heritage/culture experiences.
  • Calm (HVLA) or angry (LVHA): promotes ecological, entertainment, fitness, and relaxation experiences.

4. System Architecture

This section describes the operational and structural levels of detail of the TERS-ER architecture. For this purpose, the functional modules, data models, user profiles, and services represented in the context diagrams, containers, components, and classes were identified [56]. Also, according to the IoT architecture [2,19], the TERS-ER layers are:
  • The perception layer: It is responsible for collecting HR data using the PPG sensor of the wearable and the emotion and context data from the MEB app installed on smartphones
  • The network layer: Transfers HR measurement data using the Bluetooth connection between the wearable and the mobile device. In addition, the smartphone using mobile networks for transferring the emotion and location data of the MyEmotionBand app to the Firebase cloud.
  • The service layer: Provides the connections to the Firebase cloud to get the emotion data, the MongoDB server to obtain the HR collections, and the SPARQL endpoint server to retrieve the tourism knowledge base. These datasets are then pre-processed and filtered for the TERS-ER subsystems.
  • The application layer: Manages an intelligent RS that displays TE suggestions according to the user’s preferences and contextual factors.

4.1. System Context

How satisfying is a particular tourist experience for a person? It depends mainly on the reason for the tourist visit. Often a person looks for options according to information from travel agencies, suggestions from friends, cost of the plans, or the desire to know new destinations. However, the emotional burden that the person manifested before the visit is seldom taken into account. Specifically, to understand the emotional state in a period before the tourist visit, wearable devices are an exciting alternative for capturing physiological and context data. In this way, with the processing of these data, the user’s emotions can be recognized and therefore recommend the appropriate tourist experiences to their affective state. The research question arises: How to design a TERS based on the wearable users’ emotional state in the preliminary visit phase?
Before the visit that can measure in days or weeks, a person in their daily life uses the wristband and mobile devices to record physiological and affective data. In this scenario (see Figure 3), a user, depending on the activity type, (for instance, working, watching movies, resting, traveling, driving, among others) can experience an emotional change caused by various stimuli from the context. Then, through mobile applications, the user can measure HR and record the emotion perceived at that moment (happy, content, sad, calm, angry, and stressed). Afterward, the data from the objective and subjective measurements are processed and analyzed by machine learning (ML) algorithms that detect the person’s affective state.
The recommender system uses the user’s profile (gender and tourist preferences), emotional data, location, and TE portfolio as input items to display destination suggestions. The recommendation list is created from similarity metrics and ML algorithms. Subsequently, the user checks the recommendations of TE according to their emotional state, profile, and preferences.

4.2. TERS-ER Architecture

The TERS-ER architecture has two main subsystems. The first is the ER built with the following components: data collection, preprocessing, ES analysis, emotion class balancing, and affective detection using DNN models. The second is TERS, which is implemented with the dataset management components and the recommender engine. This recommender generates the most relevant TE according to the preferences, location, and user emotion in a period before the tourist visit.
Figure 4 summarizes the model, and it shows the integration of the subsystems of the TERS-ER architecture.

4.3. Technological Container Communication

In this section, Figure 5 depicts the distribution of the technological infrastructure functionalities and the interaction in the TERS-ER subsystems. The following outlines the high-level implementation of the software architecture:
  • The users in their context use the Xiaomi Mi Band wristband and the MFB mobile application [45] to store HR data in an SQLite database. In turn, the emotion, activity, and location data is recorded in the MyEmotionBand (MEB) mobile application.
  • A real-time database that stores the JSON files of the MEB application in the Firebase cloud.
  • An application that manages the connection to the Firebase and MongoDB databases. Also, it handles the collections gathered from wearable and mobile devices.
  • A MongoDB database to store collections of HR, emotions, and user profiles.
  • An application for ER that generates an affective detection dataset.
  • A dataset of the TE portfolio is consulted from the SPARQL endpoint server. This dataset was acquired from the Ontology of Tourist Traceability (OntoTouTra) proposed in [20].
  • A recommender engine that processes MongoDB data collections and TE datasets. It then analyzes and displays a list of tourist recommendations.
Figure 5. Containers of technological infrastructure.
Figure 5. Containers of technological infrastructure.
Sensors 21 07854 g005

4.4. Apps Architecture

Figure 6 shows the user interface of the mobile applications developed and used by the participants during the experiment.
The MEB app provided the user interface for recording the affective state (16 emotions and one neutral state) and the activity performed (21 tasks). According to the context of the participants, categorical emotions were associated with activation (Arousal) and emotional polarity (Valence) of Russell’s bi-dimensional model [9,24]. That is, four emotions were defined for each emotional quadrant: happy (HAHV: excited, amused, glad, and pleased), calm (LAHV: satisfied, calm, relaxed, and tired), sad (LALV: bored, depressed, embarrassed, and sad), and anger (HALV: stressed, afraid, angry, and alarmed). The location (latitude and longitude), the date, and time were obtained from the smartphone GPS. In addition, the authentication and synchronization methods were created to store the data on the Firebase server. In particular, the emotional dataset collected 21,000 records from the participants. The SQLite files of the MFB application were converted into CSV files, and a dataset of 1,535,992 HR instances was collected.
In other studies [9,16] the recording of emotions, either by the participant of the experiment or by an observer, was carried out manually on a sheet of paper; this instrument is called SAM [25]. SAM can be used in controlled experiments, but its use is inappropriate in the context of a person’s daily life. For this reason, the MEB app was developed (see Figure 6a). Although the emotion recording is still manual, it is more practical and complete than SAM because the user makes a tap on the emoticon that depicts the emotion that he was feeling at that moment and then another tap on the icon of the activity performed. In this way, MEB correlates the variables of emotion and activity.

4.5. Sliding and Adjustable Window Algorithm

The preprocessing of the datasets was made with the synchronization algorithm called a Sliding and Adjustable Window. Because it uses the time series of each participant’s HR and emotional state, this algorithm is sliding because the timestamp window is located in the segment that contains data for both datasets. It is adjustable because the size of the timestamp window is configured depending on the behavior of the data (see Figure 7). The Algorithm 1 loads the two MongoDB data collections (HR and emotion) to tag the emotion in each participant’s HR instances:
  • Initially, set up a loop to iteratively go through the HR instances dictionary of the participants.
  • Obtains the timestamp and HR measurement of each record. Defines a time variable ( W Δ ) that controls the window size setting.
  • Establishes an iterative cycle through the dictionary of the experiment participants’ emotion, activity, and location.
  • Gets the HR and emotional data that correspond to the same participant.
  • If the emotion label is not found within the maximum window size (for example, 180 s), it loops through the collection of emotions and gets the tag that matches the timestamp of the HR instance. If the label cannot be found, the size of the window is increased.
  • Then, set the emotion tag on HR time series instances. In addition, it adds the activity data and geographical location in the HR dictionary.
  • Finally, build a new collection in MongoDB with the HR dataset labeled.
Hence, the method (see Algorithm 1) that we developed is adaptive and dynamic to the time series windows of the physiological and emotional datasets.
As a result of the preprocessing, a tagged data collection of 218,297 records (documents in JSON format) was generated. The data structure is made up of a document identifier (_id), a participant number (IMEI), the emotion timestamp (emotionts), the affective state (emotion), type of activity (activity), HR (hr), location (longitude and latitude) and HR timestamp (hrTimestamp).

4.6. Emotional Slicing Algorithm

The size of the segment parameterizes the Emotional Slicing (ES) algorithm (by default 30 HR instances), the time between instances (for example, 60 s), and the limit size of instances (for default 20). The algorithm loads the MongoDB HR collection, consolidates the labeled instance blocks, and generates the physiological dataset used in the affective detection module. This algorithm was created for detecting the duration of the emotion (See Section 3.1).
Algorithm 2 has the following activities:
  • Loads the preprocessed collection into a list and gets the first HR instance.
  • Initializes a new physiological slice.
  • Add the values to the HR, timestamp, and emotion vectors.
  • Creates a list with the minimum and maximum HR values for each participant to normalize the data.
  • Browses the records of the HR collection. Each iteration verifies that the instance belongs to the same emotional slice of the participant and complies with the limit size of instances. It controls that when the activity is a movie and has the same emotion, it adds the instance to the data vectors. It checks the addition of new instances to other activities that meet the established parameters.
  • Then, creates the list of affective segments with the predominant emotion of the HR instances.
Furthermore, the algorithm uses the duplication time-series values technique to adjust the number of HR instances (for instance, a record of 20 HR instances repeats the initial sequence of the vector until it completes the default size of 30). Lastly, the new collection of 5247 ES is stored in MongoDB. The data structure of each participant (JSON format) handles a vector of timestamp and affective segment data (_Id, imei, instances number, slice duration, activity, emotion, longitude, and latitude), together with an HR vector normalized through the linear transformation function depicted in Equation (1) [19]. This method reduces the standard deviation in the data and suppresses the event of outlier values.
x n o r m a l i z e d = x x m i n x m a x x m i n
where:
x        = measurement of a user’s heart rate;
x m i n = minimum measurement of all a user’s heart rates;
x m a x = maximum measurement of all a user’s heart rates;

4.7. DNN Models

The ER component defines the DNN approaches for detecting affective states based on HR data (see Figure 8) using the Deep Convolutional Neural Network (DCNN) model [16]. This model was built by stacking four 1D CNN layers that reached emotional patterns of physiological signals and three Fully Connected (FC) Layers to predict emotion. Furthermore, two models based on 1D CNN and LSTM architectures [17,19] were defined. Initially, both models used a 1D-CNN to extract the emotion features related to the input vectors. The convolution has a kernel size of 10 and a filter of 128. The second MaxPooling layer reduces the dimensionality of the feature map and has a pool size of two. The first model uses a third flatten layer to convert the feature map into a one-dimensional vector. Then, the fourth FC layer that receives the learned features is connected.
On the other hand, in the second model (Figure 8), after the connections of the 1D CNN and Maxpoling layers, a third dropout layer of 0.5 is added as an exclusion mask to the LSTM that can improve the generalizability. This fourth LSTM layer learns the order of the contextual dependencies of the local features entered. Then, in both models, the 0.5 dropouts fifth layer prevents overfitting during model training and transfers the learned features to the FC sixth layer. Besides, the Rectified Linear Unit (ReLU) activation function is used in the middle layers of the network. While in the output layer, the Softmax trigger function defines the predicted emotion of the multiclass classification.

4.8. Recommender Components

The CBF approach computes the similarity between all the pairs of hotels (see Equation (2)) with the scalar product of categories of TE (binarized vector of TE), location (longitude and latitude), description (summary of services related to TE), and the hotel review tags (for instance exceptional, fantastic and outstanding). The CS metric determines the likeness between TE categories, and the Haversine distance establishes the closeness of locations. On the other hand, the fuzzy match metric [57] compares the description of hotels, and the Python tool “difflib.SequenceMatcher” measures the similarity of the categorical rating of the reviews. As a result, a matrix correlates the similarity of the hotel ratings during the model training and estimates the prediction of the hotel rating for a user. Furthermore, the KNN algorithm derived from the AlgoBase class [21] was used. Afterward, the split of the dataset, the evaluation of the recommendation algorithm’s performance is backed up in the evaluation framework proposed in [22].
T E ( h i , h j ) = 1 s p a t i a l . d i s t a n c e . c o s i n e ( t e [ h i ] , t e [ h j ] ) L o c a t i o n ( h i , h j ) = m t . e x p ( h a v e r s i n e ( t e [ h i ] , t e [ h j ] ) / 1.0 e 3 ) C a t e g o r y ( h i , h j ) = S e q u e n c e M a t c h e r ( c a t [ h i ] , c a t [ h j ] ) . r a t i o ( ) D e s c r i p t i o n ( h i , h j ) = f u z z . t o k e n _ s o r t _ r a t i o ( d e s [ h i ] , d e s [ h j ] ) / 1.0 e 2 S i m ( h i , h j ) = T E i j · L o c a t i o n i j · C a t e g o r y i j · D e s c r i p t i o n i j
where:
h i , h j = pair of hotels related to the users’ rating;
t e         = binarized vector of hotels’ tourist experiences;
c a t       = the hotels’ score category string;
d e s      = the hotels’ services description string;
The CF-CNN model preprocesses the user and hotel identifiers of the rating dataset. Then, the 50-dimensional feature vectors to train and evaluate the algorithm [23] were generated. Initially, the embedment layers transformed the input vectors into matrices and regularized the embeddings using the Gradient Descent (GD) technique [19]. Furthermore, a concatenation layer decreased the dimensionality of the embedding layers. The developed model CF-CNN employed a 1D CNN layer to automatically extract the patterns from the concatenated vector and a Max-Pooling layer to reduce the convolution features map (see Figure 9) [9,19]. Also, a dropout layer to regularize the model during training was added. The FC layers later compressed the extracted features and used a ReLu activation function to produce the predicted rating of the tourist destinations. In contrast to the CF-CNN approach, the embedding matrices-based CF approach (CF-Net) proposed in [23] was implemented. A scalar product between the incrustations (users and hotels matrices) was computed, and, finally, the CF-Net model was trained to apply the GD through a sigmoid function.
The CBF model used the prediction method of KNN [21,22] for estimating the rating of an item based on the average similarity score of the hotels and the ratings registered by a user of the testing dataset.
Finally, the recommendation list was adjusted to 10 items, and the binary vector of TE was added. Also, depending on the predominance of the emotion, the similarity with the TE (cosine similarity in Equation (2)) and the location (Haversine distance in Equation (2)) of the hotels in the top-N list were calculated. The top-N list of tourist recommendations was ordered according to the geographic proximity of the person. Subsequently, the final top-N list of TE recommendations performed better in the proposed algorithms compared to the SVD, SVD++, and normalPredictor algorithms [21].
The source code of the technological components of the ER subsystems and TERS is available in the following public repository: https://github.com/luzsantamariag/terser.

5. Experimental Results and Discussion

The datasets were split into a meaningful percentage to train the approaches (80%) and the other percentage to test the performance of the emotional detection and recommendation models.

5.1. Emotion Recognition

When evaluating the classification of the imbalanced AV classes, we used k-fold Cross-Validation (CV) to guarantee the presence of all affective states. As defined in Section 4.5, we analyzed the ES dataset with different times between HR instances. Then, we used the ES dataset to predict emotions with shallow ML algorithms and with imbalanced AV classes. Subsequently, we used the parameters of the ES with the best performance to test the ER of the DNN models with balanced AV classes.

5.1.1. Multi-Class Imbalanced Classification

Figure 2 depicts the distribution by emotional quadrant of the physiological dataset and shows an imbalance between the observations of the minority classes (LVHA with 16.3% and LVLA with 10.8%) concerning the majority classes (HVHA with 36.7% and HVLA with 36.2%). Therefore, we used the Scikit-learn library to evaluate the dataset with assembly classification algorithms using stratified 5-fold CV [51]. The dataset was parameterized with ES of 30 HR measurements and different times between instances (60 and five seconds). Figure 10b shows a better performance in the prediction by affective quadrants with less time between instances (five seconds) than the longest time (60 s) (see Figure 10a).
Also, the results of the Random Forest (RF), Gradient Boosting (GB), and Extra Trees (ET) algorithms tend to be slightly better in each case, compared to the Bagging (BAG) and Ada Boost (AB) algorithms that recorded less accuracy in the emotion detection. It should be noted that tests with ES of 20 HR instances were also performed, and the accuracy scores were slightly lower than the tests with 30 HR instances for each ES, as reported in Figure 10. Therefore, the experiments with the DNN models are parameterized with ES of the size of 30 HR instances.

5.1.2. Affective Classification Using DNN Models

The performance of DNN models depends on the volume and quality of the datasets. Therefore, the implementation of heuristic sampling methods compensates for the imbalance in the distribution of affective classes [47,48]. Table 4 shows the results of the DNN models proposed in Section 4.7 for affective detection from the physiological dataset balanced with the K-SMOTE and TL techniques. The three models (1D CNN LSTM, 1D CNN Flatten, and DCNN) used a batch size of 32, with repetitions of 50 epochs and a loss parameter calculated with the categorical cross-entropy function. We configured the Adam optimizer and the learning rate 1e-3 to train the physiological dataset in these models. The accuracy results in the testing were slightly better than shallow ML approaches (see Figure 10).
Combined sampling methods tend to improve accuracy results in both the training and testing of DNN models. Although the AV classes in Table 4 showed an imbalance in positive affective states (HVHA: excited and HVLA: calm) related to negative emotions (LVLA: sad and LVHA: angry), accuracy results performed better with CNN models that used the K-SMOTE and TL data balancing methods. This same trend was confirmed in Table 5, where the emotional class with the lowest number of instances (LVLA: sad) was eliminated. Therefore, the results during training and testing indicate that this dataset with more ES instances may increase the accuracy.
The 1D CNN LSTM model showed better performance in detecting AV classes (see Figure 11a,b). However, the efficiency of ER models could be affected by imbalanced spontaneous emotion data and poor measurements of people’s HR. Hence, we defined the dataset evaluation protocol by grouping emotions by VA classes due to the importance of including all affective states during training and testing. Furthermore, we compared the MIC between ES of 30 HR measures with different times between instances and showed that the ES dataset of 5-second interval HR instances performed better. Likely, this ER framework will enhance the accuracy outcomes obtained in a new controlled experiment with more participants to consolidate a more robust dataset.
In this way, we got the prediction of the emotional quadrant. The analysis of the distribution of emotions showed a high rate of participants who registered positive emotions (happy: HAHV and calm: LAHV) instead of negative emotions (LALV: sad and HALV: anger). Therefore, we show that people increasingly seek to improve their TE. Although the imbalance of the emotional dataset limited the prediction results of the ER models, we achieved a better performance of 44% accuracy in the 1D CNN LSTM approach in contrast to the shallow ML algorithms of 41% (see the middle part of Figure 4).

5.2. Evaluation of the TERS-ER

The evaluation determined the effectiveness of the approaches proposed in the TERS-ER architecture using the emotional and destinations datasets (see Table 3). The evaluation was carried out with the Mean Absolute Error (MAE) and Root Mean Square Error (RMSE) metrics. These accuracy metrics estimate the average prediction error based on the closeness of the predicted hotel ratings and the actual data (see Equations (3) and (4)). The best performance tends to a zero value, while a result equal to or greater than one indicates a high error rate in the estimation.
The first CBF model was implemented using the Surprise [21] framework. For this reason, the performance tests were compared with the SVD and SVD++ matrix factoring algorithms. The second CF-CNN model compared its performance with the CF-Net algorithm during the training and testing phases. Subsequently, we analyzed the performance results of the proposed models in comparison with the base algorithms.
MAE = ( i , j ) T S | r i j r ^ i j | | T S |
RMSE = ( i , j ) T S ( r i j r ^ i j ) 2 | T S |
where:
T S = represents the number of ratings of all users in the test set;
r i j   = depicts the actual rating of a user u i for the hotel’s TE h j ;
r ^ i j = represents the estimated rating of a user u i for the hotel’s TE h j ;

5.2.1. Validation of CBF and Model-Based Approaches

The results of the tourist datasets training had a positive effect on the performance of the CBF model compared to the algorithms for reducing the dimensionality of latent factors since the CBF algorithm, unlike matrix factorization, correlated the similarity of hotel destinations through the features of TE, location, and description. Moreover, Figure 12 depicts a similar behavior in the five folds of the CV of the algorithms CBF, SVD [58], and the model derived from the latter with the addition of implicit feedback information SVD++ [59]. Further, it shows the distribution of performance measurements and the rising rate according to the hotels’ TE dataset size.

5.2.2. Training and Testing of CF Models

The hotels’ TE datasets were used for evaluating the CF models during the training and testing. The validation parameters of the models were defined by the batch size of 64, a loss function MeanSquaredError (MSE), repetitions of 10 epochs, Adam optimizer, and learning rate of 1 × 10 −3.
Figure 13 shows the iterations of the recommendation models during the training and testing with their respective MSE losses. The MAE metric in training and testing shows our CF-CNN model’s better performance than the CF-Net model.
Therefore, the CF-CNN capacity increased by reducing the regularized overfit by a 0.1 dropout. Furthermore, the loss of the model denotes a positive impact on the training and testing data and is well below 0.1 (see Figure 14).
Likewise, Figure 13 shows the RMSE variation of the epochs of the CF models during the training and testing with their MSE losses. The behavior of the iterations is very similar in both metrics. Also, the performance results of the CF-CNN model are better than those of the CF-Net model.

5.2.3. Comparison of Performance Metrics

Unlike the CF-CNN model, the CBF model incorporated similarity metrics between destinations to estimate the rating. Precisely, Figure 15 confirms that the proposed approaches outperform the MAE performance for the predicted rating of the recommendation of tourist destinations concerning the matrix factoring algorithms. However, in the RMSE metric, the model’s performance is better for the CF-CNN approach than the other models.
Furthermore, Table 6 describes the performance of the proposed models and indicates an outstanding improvement in the accuracy of the list of top-N TE. Since the evaluation metrics in both MAE and RMSE were the lowest in the CF-CNN model. In addition, the experimental results with the tourist datasets of the traditional recommendation models had a slightly lower performance than the models based on DNN.
The general outcomes show that the information of the TE, the geographic location, and the attributes of the tourist destinations can affect the performance in the prediction. Finally, the performance results show that the proposed CF-CNN and CBF algorithms perform better in the TERS-ER architecture.

6. Conclusions

The proposed architecture is a reference for developing recommendation systems based on users’ emotional states in different contexts. Furthermore, this model allows adding wearable devices with more accuracy physiological sensors [11,13,31,60]. However, when cheap wearable devices become more popular in the market, manufacturers will probably include more accuracy sensors for monitoring biosignals and physical activity [28,29,34,35,36,37]. For this research, we opted for massive and cheap devices that are probably the most used by people in their daily lives. The disadvantage of these devices is the low accuracy of measuring physiological signals that would be very sensitive in medical or specialized applications but are tolerable precisions for tourism. For this reason, an accuracy of 44% in the emotion detection is tolerable to maximize the user experience of these types of devices. Also, it’s important to take into account that this accuracy can be improved with new versions of the wearables used, as with a more robust ES dataset, through another experiment with a more significant number of participants and controlled elicitations, which serves as a cold start for the TERS. It could involve other physiological signals different from HR, such as, for instance, electrodermal activity and temperature.
Regarding the related work represented in Table 2, the use of shallow ML classifiers with an accuracy of around 0.7 can be seen. Our experiment used the 1D CNN-LSTM hybrid classifier with an accuracy result of 0.44. This level of performance is tolerable due to the significant differences in the conditions of the design of the experiments (see Table 7). However, the conditions of this study were planned to meet the requirements of the context, that is, anyone in their daily lives that uses a cheap wearable device. The emotion detection performance of this system is acceptable for recognition, generating an additional contextual factor to a recommender system to improve its accuracy. This contextual factor is emotion, which is a new contribution to recommender systems for the domain of tourism.
Regarding the analysis of RS-related works based on emotions, these works focused mainly on analyzing sentiments of reviews. Their MAE and RMSE results are very close to 1 (see Table 3). On the contrary, in our study, the CF-CNN and CBF classifiers were used, the similarity between users was determined, and the context, preferences, and profile were taken into account. This way, optimal MAE and RMSE results were achieved compared to the other studies (see Section 5.2).
Concerning MIC and following the comparison of results (see Section 5.1.1), it is recommended to parameterize the number of sufficient physiological instances for each ES. In the experiment, better results were obtained with 30 instances of HR for each ES, with a distance between instances of five seconds.
It is necessary to deal with the imbalance of emotion classes in this ER system, which is logical since human behavior predominates in certain emotional types, although the contextual stimulus differs. For instance, a happy person tends to feel more frequent emotions from the happiness quadrant (HVHA). Then in the emotional register, an imbalance of classes is created for the other quadrants. For this reason, combined K-SMOTE and TL techniques were applied for balancing the minority emotional classes. It was also experimented with the elimination of the instances of a minority class, in this case, sadness (LVLA), to improve the performance of the classifier, although the performance improved (see Table 4 and Table 5). This procedure is not recommended because it biases the emotional behavior and this can lead to overfitting of the model.
The main contributions of this research were:
  • The TERS-ER model (see Section 4)
  • An algorithm that synchronizes the emotional labeling of a physiological time series in an adjustable and sliding window (see Section 4.5).
  • An algorithm that creates emotional segments (see Section 4.6) according to the process of an emotion formulated by Norman [14].
  • The MEB app (see Section 4.4) replaces the paper recording of the emotional spectrum that was done with SAM.
  • An emotional dataset, heart rate recording, and emotion recording were created from the data collection of the Xiaomi Mi Band wearable devices and the MEB app of 18 participants of the experiment (see Section 3).
  • Source code for the implementation of the TERS-ER model (see Section 4.8).
Future research would focus on merging multimodal physiological datasets to the TERS-ER architecture to optimize the affective detection of users. The system could incorporate contextual information on the environment and travel routes to increase user satisfaction.
Furthermore, this research is part of the second of five phases of a TE recommendation macro-project. Future areas of research would involve the following:
  • Definition of an emotion recognition model from a publicly available emotional dataset. In this case, the AMIGOS dataset was used [16].
  • Definition of the model: This corresponds to the results of this paper, where we defined the TERS-ER architecture.
  • Consolidation of the ES dataset for the cold start: Replicating the experiment on a larger scale and in a controlled environment to consolidate a large ES dataset with better performance indicators in emotional detection from HR data.
  • TERS-ER production: users in the context of their daily life, months or weeks before planning their TE, use low-cost wearable devices (Xiaomi mi band) and the application (TE recommender) on their smartphone to collect in this period the HR data. Subsequently, the HR data collected from the user will be labeled with the emotions according to the ES dataset, and the remaining stages of the model are applied to make the respective recommendation.
  • Improvement of the TERS-ER: Defines the ability of the dataset to learn by itself from the new instances generated by the production environment, using advanced ML techniques such as, for instance, reinforcement learning or deep reinforcement learning [19].

Author Contributions

Conceptualization, L.S.-G., J.F.M.-M., A.C.-A., M.M.-O. and G.R.-G.; Formal analysis, L.S.-G.; Funding acquisition, A.C.-A., M.M.-O. and G.R.-G.; Investigation, L.S.-G.; Methodology, L.S.-G. and J.F.M.-M.; Project administration, L.S.-G.; Software, L.S.-G. and J.F.M.-M.; Supervision, A.C.-A., M.M.-O. and G.R.-G.; Validation, L.S.-G., J.F.M.-M., A.C.-A., M.M.-O. and G.R.-G.; Visualization, L.S.-G.; Writing—original draft, L.S.-G.; Writing—review & editing, L.S.-G. and J.F.M.-M.. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was funded by the Universidad Carlos III de Madrid.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Both the source code and the data generated in this study are available at the following link: https://github.com/luzsantamariag/terser.

Acknowledgments

This research was financially supported by the Ministry of Science, Technology, and Innovation of Colombia (733-2015) and by the Universidad Santo Tomás Seccional Tunja. We thank the members of the GICAC group (Research Group in Administrative and Accounting Sciences) of the Universidad Santo Tomás Seccional Tunja for their participation in the experimental phase of this investigation.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AArousal
CBFContent-Basic Filtering
CFCollaborative Filtering
CSCosine Similarity
CNNConvolutional Neural Network
DCNNDeep Convolutional Neural Network
DLDeep Learning
DNNDeep Neural Network
ECGElectrocardiogram
EEGElectroencephalogram
EREmotion Recognition
ESEmotional Slicing
FCFully Connected
GSRGalvanic Skin Response
HRHeart Rate
HVHAHigh Valence High Arousal
HVLAHigh Valence Low Arousal
IBIInter-Beat-Interval
IoTInternet of Things
KNNK-Nearest Neighbor
LSTMLong Short-Term Memory
LVHALow Valence High Arousal
LVLALow Valence Low Arousal
MAEMean Absolute Error
MEBMyEmotionBand app
MFBMaster For mi Band
MICMulti-class Imbalanced Classification
MLMachine Learning
NLPNatural Language Processing
OntoTouTraOntology for Tourist Traceability
OTAOnline Travel Agency
POIPoint of Interest
PPGPhotoplethysmogram
RFRandom Forest
RMSERoot Mean Square Error
RSRecommender System
SAMSelf-Assessment Manikin
SMOTESynthetic Minority Oversampling Technique
SPARQLSPARQL Protocol and RDF Query Language
SVMSupport Vector Machine
TETourist Experiences
TERSTourist Experiences Recommender System
TERS-ERTourist Experiences Recommender System based on Emotion Recognition
TLTomekLinks
VValence

References

  1. John Dian, F.; Vahidnia, R.; Rahmati, A. Wearables and the Internet of Things (IoT), Applications, Opportunities, and Challenges: A Survey. IEEE Access 2020, 8, 69200–69211. [Google Scholar] [CrossRef]
  2. Nawara, D.; Kashef, R. IoT-based Recommendation Systems–An Overview. In Proceedings of the 2020 IEEE International IOT, Electronics and Mechatronics Conference (IEMTRONICS), Vancouver, BC, Canada, 9–12 September 2020; pp. 1–7. [Google Scholar] [CrossRef]
  3. Makikawa, M.; Shiozawa, N.; Okada, S. Chapter 7.1-Fundamentals of Wearable Sensors for the Monitoring of Physical and Physiological Changes in Daily Life. In Wearable Sensors; Academic Press: Oxford, UK, 2014; pp. 517–541. [Google Scholar] [CrossRef]
  4. Choe, Y.; Fesenmaier, D.R. The Quantified Traveler: Implications for Smart Tourism Development. Anal. Smart Tour. Des. 2017, 65–77. [Google Scholar] [CrossRef]
  5. Kim, J.J.; Fesenmaier, D.R. Tourism Experience and Tourism Design. In Design Science in Tourism: Foundations of Destination Management; Springer International Publishing: Cham, Switzerland, 2017; pp. 17–29. [Google Scholar] [CrossRef]
  6. Buhalis, D.; Amaranggana, A. Smart Tourism Destinations Enhancing Tourism Experience Through Personalisation of Services. Inf. Commun. Technol. Tour. 2015. [Google Scholar] [CrossRef]
  7. Kim, J.; Fesenmaier, D.R. Measuring Human Senses and the Touristic Experience: Methods and Applications. Anal. Smart Tour. Des. 2017, 47–63. [Google Scholar] [CrossRef]
  8. WTO. A Practical Guide to Tourism Destination Management; World Tourism Organization: Madrid, Spain, 2007. [Google Scholar]
  9. Santamaria-Granados, L.; Mendoza-Moreno, J.F.; Ramirez-Gonzalez, G. Tourist Recommender Systems Based on Emotion Recognition—A Scientometric Review. Future Internet 2021, 13. [Google Scholar] [CrossRef]
  10. Kutt, K.; Nalepa, G.J.; Giżycka, B.; Jemiolo, P.; Adamczyk, M. BandReader-A Mobile Application for Data Acquisition from Wearable Devices in Affective Computing Experiments. In Proceedings of the 2018 11th International Conference on Human System Interaction (HSI), Gdansk, Poland, 4–6 July 2018; pp. 42–48. [Google Scholar] [CrossRef]
  11. Nalepa, G.J.; Kutt, K.; Giżycka, B.; Jemioło, P.; Bobek, S. Analysis and Use of the Emotional Context with Wearable Devices for Games and Intelligent Assistants. Sensors 2019, 19, 2509. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Harper, R.; Southern, J. End-To-End Prediction of Emotion from Heartbeat Data Collected by a Consumer Fitness Tracker. In Proceedings of the 2019 8th International Conference on Affective Computing and Intelligent Interaction (ACII), London, UK, 3–6 September 2019; pp. 1–7. [Google Scholar] [CrossRef]
  13. Bulagang, A.; Mountstephens, J.; Teo, J. Multiclass emotion prediction using heart rate and virtual reality stimuli. J. Big Data 2021, 8. [Google Scholar] [CrossRef]
  14. Norman, D. Emotional Design: Why We Love (or Hate) Everyday Things; Basic Books: New York, NY, USA, 2004. [Google Scholar]
  15. Miranda-Correa, J.A.; Abadi, M.K.; Sebe, N.; Patras, I. AMIGOS: A Dataset for Affect, Personality and Mood Research on Individuals and Groups. IEEE Trans. Affect. Comput. 2018, 12, 479–493. [Google Scholar] [CrossRef] [Green Version]
  16. Santamaria-Granados, L.; Munoz-Organero, M.; Ramirez-Gonzalez, G.; Abdulhay, E.; Arunkumar, N. Using Deep Convolutional Neural Network for Emotion Detection on a Physiological Signals Dataset (AMIGOS). IEEE Access 2019, 7, 57–67. [Google Scholar] [CrossRef]
  17. Zhao, J.; Mao, X.; Chen, L. Speech emotion recognition using deep 1D & 2D CNN LSTM networks. Biomed. Signal Process. Control 2019, 47, 312–323. [Google Scholar] [CrossRef]
  18. Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2017, 28, 2222–2232. [Google Scholar] [CrossRef] [Green Version]
  19. Kapoor, A. Hands-On Artificial Intelligence for IoT; Packt Publishing Ltd.: Birmingham, UK, 2019. [Google Scholar]
  20. Mendoza-Moreno, J.F.; Santamaria-Granados, L.; Fraga-Vázquez, A.; Ramirez-Gonzalez, G. OntoTouTra: Tourist Traceability Ontology based on Big Data Analytics. Appl. Sci. 2021, 11, 11061. [Google Scholar] [CrossRef]
  21. Hug, N. Surprise a Python library for recommender systems. J. Open Source Softw. 2020, 5, 2174. [Google Scholar] [CrossRef]
  22. Kane, F. Building Recommender Systems with Machine Learning and AI: Help People Discover New Products and Content with Deep Learning, Neural Networks, and Machine Learning Recommendations; Sundog Software LLC: Merritt Island, FL, USA, 2018. [Google Scholar]
  23. Banerjee, S. Collaborative Filtering for Movie Recommendations. Available online: https://keras.io/examples/structured_data/collaborative_filtering_movielens/ (accessed on 15 October 2020).
  24. Russell, J.A. A circumplex model of affect. Journal of Personality and Social Psychology. J. Personal. Soc. Psychol. 1980, 39, 1161–1178. [Google Scholar] [CrossRef]
  25. Bradley, M.M.; Lang, P.J. Measuring emotion: The self-assessment manikin and the semantic differential. J. Behav. Ther. Exp. Psychiatry 1994, 25, 49–59. [Google Scholar] [CrossRef]
  26. Ometov, A.; Shubina, V.; Klus, L.; Skibińska, J.; Saafi, S.; Pascacio, P.; Flueratoru, L.; Gaibor, D.Q.; Chukhno, N.; Chukhno, O.; et al. A Survey on Wearable Technology: History, State-of-the-Art and Current Challenges. Comput. Netw. 2021, 193, 108074. [Google Scholar] [CrossRef]
  27. Ayata, D.; Yaslan, Y.; Kamasak, M.E. Emotion Based Music Recommendation System Using Wearable Physiological Sensors. IEEE Trans. Consum. Electron. 2018, 64, 196–203. [Google Scholar] [CrossRef]
  28. Poli, A.; Cosoli, G.; Scalise, L.; Spinsante, S. Impact of Wearable Measurement Properties and Data Quality on ADLs Classification Accuracy. IEEE Sens. J. 2021, 21, 14221–14231. [Google Scholar] [CrossRef]
  29. Fine, J.; Branan, K.; Rodriguez, A.; Boonya-Ananta, T.; Ajmal; Ramella-Roman, J.; McShane, M.; Cote, G. Sources of inaccuracy in photoplethysmography for continuous cardiovascular monitoring. Biosensors 2021, 11, 126. [Google Scholar] [CrossRef]
  30. Abdel-Ghaffar, E.A.; Daoudi, M. Emotion Recognition from Multidimensional Electroencephalographic Signals on the Manifold of Symmetric Positive Definite Matrices. In Proceedings of the 2020 IEEE Conference on Multimedia Information Processing and Retrieval (MIPR), Shenzhen, China, 6–8 August 2020; pp. 354–359. [Google Scholar] [CrossRef]
  31. Giorgi, A.; Ronca, V.; Vozzi, A.; Sciaraffa, N.; Di Florio, A.; Tamborra, L.; Simonetti, I.; Aricò, P.; Di Flumeri, G.; Rossi, D.; et al. Wearable technologies for mental workload, stress, and emotional state assessment during working-like tasks: A comparison with laboratory technologies. Sensors 2021, 21, 2332. [Google Scholar] [CrossRef]
  32. Hernandez, J.; McDuff, D.; Infante, C.; Maes, P.; Quigley, K.; Picard, R. Wearable ESM: Differences in the Experience Sampling Method Across Wearable Devices. In Proceedings of the 18th International Conference on Human-Computer Interaction with Mobile Devices and Services, Florence, Italy, 6–9 September 2016. [Google Scholar] [CrossRef]
  33. Arriba-Pérez, F.; Caeiro-Rodríguez, M.; Santos-Gago, J. Collection and Processing of Data from Wrist Wearable Devices in Heterogeneous and Multiple-User Scenarios. Sensors 2016, 16, 1538. [Google Scholar] [CrossRef] [Green Version]
  34. Pino-Ortega, J.; Gomez-Carmona, C.; Rico-Gonzalez, M. Accuracy of Xiaomi Mi Band 2.0, 3.0 and 4.0 to measure step count and distance for physical activity and healthcare in adults over 65 years. Gait Posture 2021, 87, 6–10. [Google Scholar] [CrossRef]
  35. Ameen, M.; Cheung, L.; Hauser, T.; Hahn, M.; Schabus, M. About the accuracy and problems of consumer devices in the assessment of sleep. Sensors 2019, 19, 4160. [Google Scholar] [CrossRef] [Green Version]
  36. Chow, H.W.; Yang, C.C. Accuracy of optical heart rate sensing technology in wearable fitness trackers for young and older adults: Validation and comparison study. JMIR mHealth uHealth 2020, 8. [Google Scholar] [CrossRef]
  37. Concheiro-Moscoso, P.; Groba, B.; Martinez-Martinez, F.; Miranda-Duro, M.; Nieto-Riveiro, L.; Pousada, T.; Queiros, C.; Pereira, J. Study for the design of a protocol to assess the impact of stress in the quality of life of workers. Int. J. Environ. Res. Public Health 2021, 18, 1413. [Google Scholar] [CrossRef]
  38. Koelstra, S.; Muhl, C.; Soleymani, M.; Lee, J.S.; Yazdani, A.; Ebrahimi, T.; Pun, T.; Nijholt, A.; Patras, I. DEAP: A Database for Emotion Analysis; Using Physiological Signals. IEEE Trans. Affect. Comput. 2012, 3, 18–31. [Google Scholar] [CrossRef] [Green Version]
  39. Castellanos, G.; Cardinale, Y.; Roose, P. Context-aware and Ontology-based Recommender System for E-tourism. In Proceedings of the 16th International Conference on Software Technologies (ICSOFT 2021), Lisbon, Portugal, 6–8 June 2021. [Google Scholar] [CrossRef]
  40. Di Noia, T.; Ostuni, V. Recommender Systems and Linked Open Data; Springer: Cham, Switzerland, 2015. [Google Scholar] [CrossRef]
  41. Zheng, X.; Luo, Y.; Xu, Z.; Yu, Q.; Lu, L. Tourism Destination Recommender System for the Cold Start Problem. KSII Trans. Internet Inf. Syst. 2016, 10, 3192–3212. [Google Scholar] [CrossRef]
  42. Logesh, R.; Subramaniyaswamy, V. Learning Recency and Inferring Associations in Location Based Social Network for Emotion Induced Point-of-Interest Recommendation. J. Inf. Sci. Eng. 2017, 33, 1629–1647. [Google Scholar] [CrossRef]
  43. Zheng, X.; Luo, Y.; Sun, L.; Zhang, J.; Chen, F. A tourism destination recommender system using users’ sentiment and temporal dynamics. J. Intell. Inf. Syst. 2018, 51, 557–578. [Google Scholar] [CrossRef]
  44. Logesh, R.; Subramaniyaswamy, V.; Vijayakumar, V.; Li, X. Efficient User Profiling Based Intelligent Travel Recommender System for Individual and Group of Users. Mob. Netw. Appl. 2019, 24, 1018–1033. [Google Scholar] [CrossRef]
  45. Magnitogorsk, K. Master for Mi Band. Available online: https://vk.com/mibandm (accessed on 10 April 2019).
  46. Schaefer, A.; Nils, F.; Sanchez, X.; Philippot, P. FilmStim Assessing the Effectiveness of a Large Database of Emotion-Eliciting Films: A New Tool for Emotion Researchers. Available online: https://sites.uclouvain.be/ipsp/FilmStim/ (accessed on 10 April 2019).
  47. Rendon, E.; Alejo, R.; Castorena, C.; Isidro, F.; Granda, E. Data Sampling Methods to Deal with the Big Data Multi-Class Imbalance Problem. Appl. Sci. 2020, 10, 1276. [Google Scholar] [CrossRef] [Green Version]
  48. Letaifa, L.B.; Torres, M.I. Perceptual Borderline for Balancing Multi-Class Spontaneous Emotional Data. IEEE Access 2021, 9, 55939–55954. [Google Scholar] [CrossRef]
  49. Last, F.; Douzas, G.; Bação, F. Oversampling for Imbalanced Learning Based on K-Means and SMOTE. Inf. Sci. 2017. [Google Scholar] [CrossRef] [Green Version]
  50. Tomek, I. Two Modifications of CNN. IEEE Trans. Syst. Man, Cybern. 1976, 6, 769–772. [Google Scholar]
  51. Brownlee, J. Imbalanced Classification with Python: Better Metrics, Balance Skewed Classes, Cost-Sensitive Learning; Machine Learning Mastery: Vermont, Australia, 2020; Available online: https://machinelearningmastery.com/imbalanced-classification-with-python/ (accessed on 2 September 2020).
  52. Chawla, N.; Bowyer, K.; Hall, L.; Kegelmeyer, W. SMOTE: Synthetic Minority Over-sampling Technique. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
  53. Farkic, J.; Filep, S.; Taylor, S. Shaping tourists’ wellbeing through guided slow adventures. J. Sustain. Tour. 2020, 28, 2064–2080. [Google Scholar] [CrossRef]
  54. Crespi-Vallbona, M. Satisfying experiences: Guided tours at cultural heritage sites. J. Herit. Tour. 2021, 16, 201–217. [Google Scholar] [CrossRef]
  55. Zhang, J.; Walsh, J. Tourist experience, tourist motivation and destination loyalty for historic and cultural tourists. Pertanika J. Soc. Sci. Humanit. 2021, 28, 3277–3296. [Google Scholar] [CrossRef]
  56. Brown, S. Software Architecture for Developers; Leanpub: Jersey, UK, 2019; Volume 2, Available online: https://softwarearchitecturefordevelopers.com/ (accessed on 1 August 2020).
  57. Cohen, A. FuzzyWuzzy Project Description. Available online: https://pypi.org/project/fuzzywuzzy (accessed on 1 February 2020).
  58. Sharifi, Z.; Rezghi, M.; Nasiri, M. New Algorithm for Recommender Systems Based on Singular Value Decomposition Method. In Proceedings of the ICCKE 2013, Mashhad, Iran, 31 October–1 November 2013; pp. 86–91. [Google Scholar] [CrossRef]
  59. Xian, Z.; Li, Q.; Li, G.; Li, L. New Collaborative Filtering Algorithms Based on SVD++ and Differential Privacy. Math. Probl. Eng. 2017, 2017, 1975719. [Google Scholar] [CrossRef]
  60. Simons, R.; Koordeman, R.; de Looff, P.; Otten, R. Physiological measurements of stress preceding incidents of challenging behavior in people with severe to profound intellectual disabilities: Longitudinal study protocol of single-case studies. JMIR Res. Protoc. 2021, 10. [Google Scholar] [CrossRef]
Figure 1. Method overview.
Figure 1. Method overview.
Sensors 21 07854 g001
Figure 2. Physiological dataset with a distribution of classes: (a) by emotional quadrants; (b) by affective states.
Figure 2. Physiological dataset with a distribution of classes: (a) by emotional quadrants; (b) by affective states.
Sensors 21 07854 g002
Figure 3. Scenario and context.
Figure 3. Scenario and context.
Sensors 21 07854 g003
Figure 4. Data model of the TERS-ER architecture.
Figure 4. Data model of the TERS-ER architecture.
Sensors 21 07854 g004
Figure 6. The mobile app’s graphic interface used by the participants: (a) MyEmotionBand for recording emotional state, activity, and location; (b) MFB [45] for HR measurement.
Figure 6. The mobile app’s graphic interface used by the participants: (a) MyEmotionBand for recording emotional state, activity, and location; (b) MFB [45] for HR measurement.
Sensors 21 07854 g006
Figure 7. A participant’s sample of HR data with the configuration of a dynamic window adjusted to the HR and emotion timestamp.
Figure 7. A participant’s sample of HR data with the configuration of a dynamic window adjusted to the HR and emotion timestamp.
Sensors 21 07854 g007
Figure 8. 1D CNN LSTM Architecture.
Figure 8. 1D CNN LSTM Architecture.
Sensors 21 07854 g008
Figure 9. Collaborative Filtering based on 1D CNN and FC layers.
Figure 9. Collaborative Filtering based on 1D CNN and FC layers.
Sensors 21 07854 g009
Figure 10. Multiclass classification for ES dataset of 30 HR instances: (a) with 60 s between instances; (b) with five seconds between instances.
Figure 10. Multiclass classification for ES dataset of 30 HR instances: (a) with 60 s between instances; (b) with five seconds between instances.
Sensors 21 07854 g010
Figure 11. Training and validation of the 1D CNN LSTM model in the Emotional Slices (ES) dataset. The accuracy outcomes correspond to the classification of: (a) four emotional quadrants in Table 4; (b) three emotional quadrants in Table 5.
Figure 11. Training and validation of the 1D CNN LSTM model in the Emotional Slices (ES) dataset. The accuracy outcomes correspond to the classification of: (a) four emotional quadrants in Table 4; (b) three emotional quadrants in Table 5.
Sensors 21 07854 g011
Figure 12. CBF evaluation: (a) MAE; (b) RMSE.
Figure 12. CBF evaluation: (a) MAE; (b) RMSE.
Sensors 21 07854 g012
Figure 13. Recommender system evaluation over (a) MAE of CF-CNN model; (b) MAE of CF-Net model; (c) RMSE of CF-CNN model; (d) RMSE of CF-Net model.
Figure 13. Recommender system evaluation over (a) MAE of CF-CNN model; (b) MAE of CF-Net model; (c) RMSE of CF-CNN model; (d) RMSE of CF-Net model.
Sensors 21 07854 g013
Figure 14. Loss value of CF-CNN (a) MAE; (b) RMSE.
Figure 14. Loss value of CF-CNN (a) MAE; (b) RMSE.
Sensors 21 07854 g014
Figure 15. TERS-ER Evaluation.
Figure 15. TERS-ER Evaluation.
Sensors 21 07854 g015
Table 1. Performance of DCNN and shallow ML algorithms using AMIGOS dataset [16].
Table 1. Performance of DCNN and shallow ML algorithms using AMIGOS dataset [16].
Classifier of Emotion DetectionGSR SignalsECGL Signals
ArousalValenceArousalValence
AccuracyF1-ScoreAccuracyF1-ScoreAccuracyF1-ScoreAccuracyF1-Score
Naive Bayes [15] 0.54 0.53 0.59 0.57
Nearest Neighbors0.680.640.690.680.690.660.580.57
Linear Discriminant Analysis0.670.610.640.550.720.630.670.65
Linear Support Vector0.690.560.680.550.680.60.610.55
Multi-Layer Perceptron0.680.60.640.550.680.590.610.51
AdaBoost0.640.590.660.650.70.660.610.58
Random Forest0.580.580.640.640.680.670.590.59
DCNN [16]0.710.680.750.710.810.760.710.68
Table 2. Emotion detection studies based on physiological data from wearable devices.
Table 2. Emotion detection studies based on physiological data from wearable devices.
ReseachWearableMethodEmotion Detection
TechnologyLow-CostDatasetExperimentParticipantsSignalClassifierAccuracy
[27]ElectrodesNoDEAPControlled32GSR and PPG: Covariance matrixRandom Forest0.72 A and 0.71 V
[30]ElectrodesNoDEAPControlled32EEG: Time domainLERM0.73 A and 0.74 V
[16]ElectrodesNoAMIGOSControlled40GSR and ECG: SCR peak and R-peakDCNNA (0.71, 0.81) and V (0.75, 0.71)
[12]Garmin Vívosmart 3No(own dataset created)Controlled17PPG: IBI (Frequency and Time domain)Bayesian DNNF1 score: 0.7 V
[13]Empatica E4No(own dataset created)Controlled20PPG: HRSVM0.46: HVHA, HVLA, LVHA, LVLA
This studyXiaomi mi bandYes(own dataset created)Semi controlled18PPG: HR1D CNN-LSTM0.44: HVHA, HVLA, LVHA, LVLA
Table 3. Studies of recommendation systems based on emotions.
Table 3. Studies of recommendation systems based on emotions.
ResearchDatasetAlgorithmsSimilarityResult
[41]312,896 Tongcheng reviews and 5722 destinationsUBCF, IBCF, and TF-IDF (scenery, cost, infrastructure, accommodations, traffic, and travel sentiments)CSMAE and RMSE: Hybrid CF (0.63, 0.97) and TopicMF (0.76, 1.04)
[42]TripAdvisor and Yelp: 48,253 POI, 33,576 users, and 738,995 ratings.Emotion Induced UBCF and Emotion Induced IBCFCSPrecision: 0.74 UBCF, 0.66 IBCF, and 0.67 Hybrid
[43]312,896 Tongcheng reviews and 5722 destinationsSyn-ST SVD++ model: sentiment tendency and temporal factors dynamicPCCMAE and RMSE: Syn-ST SVD++ (1.04, 0.91)
[44]TripAdvisor and Yelp: 48,253 POI, 33,576 users, and 738,995 ratings.HSS (AKNN and SPTW) and AbiPRS (Fuzzy-C-means).User clusterPrecision and MAE: HSS (0.81, 0.63) and AbiPRS (0.77, 0.73)
This studyOntoTouTra [20]: 1939 TE, 42,202 users, and 530,294 ratingsCF-CNN and CBFCSMAE and RMSE: CBF (0.15, 0.23) and CF-CNN (0.12, 0.16)
Table 4. ES dataset performance with CNN-based ER models and four-class balancing methods.
Table 4. ES dataset performance with CNN-based ER models and four-class balancing methods.
ModelData Balancing
Method
DatasetTrain AccuracyTest Accuracy
LabelsHR SlicesBetterAverageBetterAverage
DCNN [16]K-SMOTEHVHA, HVLA,1231, 1141,0.600.560.460.41
K-SMOTE + TLLVLA, LVHA200, 4560.610.570.440.43
1D CNN, Flatten, and FCK-SMOTEHVHA, HVLA,1231, 1141,0.650.610.450.41
K-SMOTE + TLLVLA, LVHA200, 4560.690.640.460.43
1D CNN, LSTM, and FCK-SMOTEHVHA, HVLA,1231, 1141,0.630.580.470.42
K-SMOTE + TLLVLA, LVHA200, 4560.670.630.460.44
Table 5. ES dataset performance with CNN-based ER models and three-class balancing methods.
Table 5. ES dataset performance with CNN-based ER models and three-class balancing methods.
ModelData Balancing
Method
DatasetTrain AccuracyTest Accuracy
LabelsHR SlicesBetterAverageBetterAverage
DCNN [16]K-SMOTEHVHA, HVLA,1231, 1141,0.540.530.480.45
K-SMOTE + TLLVHA4560.580.580.460.46
1D CNN, Flatten, and FCK-SMOTEHVHA, HVLA,1231, 1141,0.630.570.500.46
K-SMOTE + TLLVHA4560.670.620.500.47
1D CNN, LSTM, and FCK-SMOTEHVHA, HVLA,1231, 1141,0.560.540.500.47
K-SMOTE + TLLVHA4560.560.540.510.47
Table 6. Performance statistics with different TERS algorithms.
Table 6. Performance statistics with different TERS algorithms.
AlgorithmMAERMSE
CBF (This study)0.1520.237
Random [21]0.1720.256
SVD [21]0.1530.237
SVD++ [21]0.1530.237
CF-CNN (This study)0.1240.168
CF-Net [23]0.1280.175
Table 7. Differences between emotion recognition studies.
Table 7. Differences between emotion recognition studies.
Our StudyRelated Studies
ContextDaily lifeLaboratory
DevicesCheap wearableSpecialized sensors and wearables
AnnotatorsSelf-annotation (MEB app)Team of annotators (external and internal)
Participants1820 (average)
StimuliDaily life–spontaneousVideos and images–controlled
Emotion durationVariableConstant (1–2 min)
Emotion annotationVoluntaryMandatory
Experiment duration11 weeks1 day
SignalsHR (PPG)PPG, GSR, EEG, ECG (multi-channel)
Signal recordingSampling (third-party app)Continous
DomainTouristVarious
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Santamaria-Granados, L.; Mendoza-Moreno, J.F.; Chantre-Astaiza, A.; Munoz-Organero, M.; Ramirez-Gonzalez, G. Tourist Experiences Recommender System Based on Emotion Recognition with Wearable Data. Sensors 2021, 21, 7854. https://doi.org/10.3390/s21237854

AMA Style

Santamaria-Granados L, Mendoza-Moreno JF, Chantre-Astaiza A, Munoz-Organero M, Ramirez-Gonzalez G. Tourist Experiences Recommender System Based on Emotion Recognition with Wearable Data. Sensors. 2021; 21(23):7854. https://doi.org/10.3390/s21237854

Chicago/Turabian Style

Santamaria-Granados, Luz, Juan Francisco Mendoza-Moreno, Angela Chantre-Astaiza, Mario Munoz-Organero, and Gustavo Ramirez-Gonzalez. 2021. "Tourist Experiences Recommender System Based on Emotion Recognition with Wearable Data" Sensors 21, no. 23: 7854. https://doi.org/10.3390/s21237854

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop