• Non ci sono risultati.

Datasets for recognition of aggressive interactions of children toward robotic toys

N/A
N/A
Protected

Academic year: 2021

Condividi "Datasets for recognition of aggressive interactions of children toward robotic toys"

Copied!
7
0
0

Testo completo

(1)

Data in Brief 34 (2021) 106697

Contents lists available at ScienceDirect

Data

in

Brief

journal homepage: www.elsevier.com/locate/dib

Data

Article

Datasets

for

recognition

of

aggressive

interactions

of

children

toward

robotic

toys

Ahmad Yaser Alhaddad

a

, John-John Cabibihan

a,∗

, Andrea Bonarini

b

a Department of Mechanical and Industrial Engineering, Qatar University, Doha 2713, Qatar

b Department of Electronics, Information and Bioengineering, Politecnico di Milano, Piazza Leonardo da Vinci 32,

Milano 20133, Italy

a

r

t

i

c

l

e

i

n

f

o

Article history: Received 2 October 2020 Revised 21 December 2020 Accepted 22 December 2020 Available online 26 December 2020

Keywords: Social robots Safety Acceleration Human-robot interaction

a

b

s

t

r

a

c

t

The data is related to unwanted interactions between a per- son and a small robotic toy based on acceleration sensor embedded within the robotic toy. Three toys were consid- ered namely, a stuffed panda, a stuffed robot, and an ex- cavator. Each toy was embedded with an accelerometer to record the interactions. Five different unwanted interactions were performed by adult participants and children. The con- sidered interactions were hit, shake, throw, pickup, drop, and idle for the no interaction case. The collected data contains the magnitude of the resultant acceleration from the inter- actions. The data was processed by extracting the instances of interactions. A secondary dataset was created from the original one by creating artificial sequences. This data arti- cle contains the processed data that can be used to explore different machine learning models and techniques in classi- fying such interactions. Online repository contains the files: https://doi.org/10.7910/DVN/FHOO0Q.

© 2020 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/)

Corresponding author.

E-mail address: john.cabibihan@qu.edu.qa (J.-J. Cabibihan).

Social media: (J.-J. Cabibihan) https://doi.org/10.1016/j.dib.2020.106697

2352-3409/© 2020 The Author(s). Published by Elsevier Inc. This is an open access article under the CC BY license ( http://creativecommons.org/licenses/by/4.0/ )

(2)

2 A.Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Data in Brief 34 (2021) 106697 Specifications Table

Subject Engineering

Specific subject area Safety and Human-Robot Interaction

Type of data Table (dataset)

How data were acquired The data was acquired using a Sense Hat (i.e., add-on board) mounted on a raspberry pi. The Sense Hat contains an accelerometer that was used to acquire the resultant acceleration data. The device was embedded inside three robotic toys. Adult participants and children performed different unwanted interactions with the robotic toys. The data was then processed to extract the instances of interactions.

Data format Raw Data

Parameters for data collection The conditions for the data were the toys and the participants. Three different toys were considered. Adult participants and children took part in the experiments.

Description of data collection Data was collected using an acquisition device based on raspberry Pi with an accelerometer embedded inside three robotic toys. Adult participants and children took part in performing the interactions with the three robotic toys. Data source location Institution: Qatar University

City/Town/Region: Doha Country: Qatar

Institution: Politecnico di Milano City/Town/Region: Milano Country: Italy

Data accessibility Repository name: Harvard Dataverse

Direct URL to data: https://doi.org/10.7910/DVN/FHOO0Q

Related research articles Alhaddad, A.Y., Cabibihan, JJ. & Bonarini, A. Influence of Reaction Time in the Emotional Response of a Companion Robot to a Child’s Aggressive Interaction. Int J of Soc Robotics (2020). https://doi.org/10.1007/s12369 –020 –00626-z

Value of the Data

• Thedatacharacterizetheunwantedphysicalinteractionswithsmallcompanionrobotsbased onaccelerationdata.

• The datais usefulto thoseworkingin thearea ofsocial robotics andthemanufacturer of smallrobotictoysorcompanionrobots.

• The datacould be used toexplore theefficacyof differentmachine learningtechniquesin characterizinginteractions.

• Thedatacanbeexploitedtopromotesafetyinhuman-robotinteraction.

1. Data Description

Therepositorylinkcontainssixdifferentdatasetsfortheaccelerationdata[1].The datasets areaboutparticipants(i.e.,adultsandchildren)performingdifferentunwantedinteractionswith threedifferenttoys. Forconvenience, the datasetswere subdividedto testandtrain based on the participants(e.g. adultand children).The first three datasets (i.e., 0_adult_test_dataset.csv, 0_adult_train_dataset.csv,and0_chidren_test_dataset.csv) containsextractedinstances ofthe be-havioursofinterestfortheadultandchildrenparticipants(Fig.1).Abehaviourinstanceconsists of25datasamples.Eachfilecontainscolumnsindicating theaccelerationdata,theparticipant number,thetoy,andthebehaviour(Fig.2).Asummaryofthefirstthreedatasetsispresentedin Table1.Thesecondthreedatasets(i.e.,1_adult_seq_train_dataset.csv,1_adult_seq_test_dataset.csv, and 1_children_seq_test_dataset.csv) contain artificial randomized sequences that were created fromthefirstthreedatasets(Fig.3).Threedifferenttoyswereconsideredinthedatacollection processnamely, a stuffedpanda, astuffed robot, andan excavator toy (Fig.4). Furtherdetails aboutthedatacanbefoundinearlierwork[2,3].

(3)

A.Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Data in Brief 34 (2021) 106697 3

Fig. 1. A sample of the extracted instances from the acceleration data for the throw behaviour (Reproduced from the related article [2] ). The green lines show the start and the end of an instance. An instance consists of 25 acceleration data samples that corresponds to 0.86 s at 30 Hz acquisition rate.

Table 1

Summary of the first three datasets showing the number of extracted instances for each behaviour.

Dataset Drop Hit Pickup Shake Throw Idle

0_adult_train_dataset.csv 10 0 0 10 0 0 10 0 0 10 0 0 10 0 0 10 0 0

0_adult_test_dataset.csv 265 797 747 776 614 131

0_chidren_test_dataset.csv 49 195 56 377 70 0

2. Experimental Design, Materials and Methods

2.1. Experimentalsetup

Threetoyswereconsideredtocollectthedata.Thetoyswereastuffedrobot,astuffedpanda, andanexcavator(Fig.4).Themassesandthedimensionsofthetoyswereinlinewithour ear-lierinvestigations pertainingsafetyinsmallrobotictoys[4].Therangewasselectedbecauseit enables ease ofmanipulation forchildren, which might poseasa source ofharm during un-wantedbehaviours[4].Eachstuffed toywasmodifiedbyaddingazipperatthebacktoenable the easeofaccesstothe inside.Thetoyswere embeddedwithadatacollection deviceanda battery(Fig.4).

RaspberryPi(Pi3ModelB+,RaspberryPiFoundation, UK)wasconsideredasthedata col-lectionsystem. Raspbianoperatingsystem(V4.14,Raspberry PiFoundation)wasinstalled ona microSD card(EVOplus,SAMSUNG). Thesize oftheSDcard was32 GBandthat should pro-vide morethan enoughspacefordata,scripts,andoperatingsystem. TeamViewer (v13,US),a remote accesssoftware,wasusedtoaccesstheRasberryPi fordebugging.Allthecomponents oftheoperatingsystem(e.g.kernel,firmware,andpackages)wereupdated totheirrecent ver-sions.SenseHat(RaspberryPiFoundation,UK),whichisanadd-onboard,wasplacedontopof theRaspberrypi.TheSenseHatcontainsdifferentsensorstomeasuredifferentmodalitiessuch asgyroscope,accelerometer,magnetometer,humidity,temperature,andbarometricpressure.

The data collected mainly from the built-in accelerometer (LSM9DS1, STMicroelectronics, Switzerland) that wasused to acquire the acceleration data at 30Hz.This rate was reported tobeenoughtocapturethecharacteristicsofbehavioursinsimilarapplications[5].Thesensor

(4)

4 A. Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Dat a in Brief 34 (202 1) 1 0669 7

Fig. 2. The arrangement of the data inside the dataset files. The first 25 columns (i.e., a1 till a25) represent the acceleration values. These values can be used as an input for a machine learning technique (e.g. neural network). The last three columns (i.e., AA, AB, and AC) indicate the participant number, the robotic toy used, and the behaviour. The behaviour column can be used as the output for the machine learning technique.

(5)

A.Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Data in Brief 34 (2021) 106697 5

Fig. 3. A sample of the artificial sequences that were created from the extracted instances (Reproduced from the related article [3] ).

Fig. 4. Overview of the experimental setup (Reproduced from the related article [2] ). (a) The different toys that were considered. (b) The data acquisition device that was used to acquire the data.

collectedthe accelerations datain theX, Y, andZdirection. The resultant magnitude acceler-ation wascalculatedfromtheindividual accelerations anditwasconsidered inproducingthe datasets.AsimplePythonscriptwasusedtoread theaccelerometerreadings,performthe cal-culationofresultantacceleration,andthenstorethevaluesin(CSV)files.

(6)

6 A.Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Data in Brief 34 (2021) 106697

2.2.Procedures

Sixadults(aged24to31yearsold)andfourchildren(aged4to9yearsold)participatedin acquiringthe data.Fortheadultsessions,eachparticipantwasaskedtoperformfivedifferent unwantedinteractionswitheachrobotictoyatdifferenttimesordaysforacertainduration(i.e., around5minforeachbehaviour).Theinteractionswerehit,shake,throw,pickup,anddrop.The idlecasewasacquiredseparatelyforeachtoy.Freedomwasgiventotheparticipantsintheway theinteractions were performed. The interactions ofone participant witheach toy generated a varying number of instances. However, the total instances considered fromone participant foronebehaviour (e.g.hit)includedall interactions withthethree toys.Theseinstances from each participant were merged and made into training and testing datasets. The contribution of each participant in the datasets were balanced based on the total acquire instances from theirindividualinteractions.Asforthechildren,imaginativescenarios weretoldtoacquire the interactions[2,3].Forexample,therobotissleepingandyouneedtoshakeittowakeitup.

Theinstancesofinteractions wereextractedfromthecollecteddatausingaMATLAB script (MathWorks,Massachusetts,USA) basedon certain thresholds(Fig.1) [2]. Eachbehaviour has certain characteristics that distinguishes them from others. The thresholds considered were basedonthesecharacteristics.Forexample,athrowbehaviourischaracterizedbyasmallspike followedbyadropintheaccelerationandfinallyalargespike.Basedontheselectedthreshold, thescriptrecognizessamplesofinterest.Thenthesesamplesweremanuallyinspectedfor accu-racyandcorrectness.The selectedsizefortheextractedinstanceswassetto25datasamples. Asfor theartificial sequences, aPython script wasusedto generatesequences with random-izedinstancesfromtheextracteddata.Thesequenceswereselectedbasedontheirlikelihoodof occurrencein arealisticscenario. Moredetailsabouttheparticipants,experimental setup,and procedurescanbefoundinearlierwork[2,3].

Ethics Statement

Aninformedconsentwasobtainedfromeachparticipantorhis/herguardian.Theprocedures didnotincludeinvasiveorpotentiallydangerousmethodsandwereinaccordancewiththeCode ofEthicsoftheWorldMedicalAssociation(DeclarationofHelsinki).

CRediT Author Statement

Ahmad Yaser Alhaddad: Data curation,Hardware, Software,Writing- Original draft prepa-ration. John-John Cabibihan: Conceptualization,Funding,Reviewing. Andrea: Methodology, Re-viewing,Editing.

Declaration of Competing Interest

Theauthorsdeclarethattheyhavenoknowncompetingfinancialinterestsorpersonal rela-tionshipswhichhave,orcouldbeperceivedtohave,influencedtheworkreportedinthisarticle.

Acknowledgments

TheworkwassupportedbyaresearchgrantfromQUMarubeniConcepttoPrototype Grant underthe grant numberM-CTP-CENG-2020-4. The statementsmade herein are solely the re-sponsibilityoftheauthors.Theauthorsdeclarethattheyhavenoconflictofinterest.

(7)

A.Y. Alhaddad, J.-J. Cabibihan and A. Bonarini / Data in Brief 34 (2021) 106697 7 References

[1] A.Y. Alhaddad, J.J. Cabibihan, A. Bonarini, Datasets for recognition of aggressive interactions of children toward robotic toys, Harvard Dataverse, 2020, doi: 10.7910/DVN/FHOO0Q .

[2] A.Y. Alhaddad , J.J. Cabibihan , A. Bonarini , Recognition of aggressive interactions of children toward robotic toys, in: Proceedings of the 28th IEEE International Conference on Robot and Human Interactive Communication (RO-MAN), IEEE, 2019, pp. 1–8 .

[3] A.Y. Alhaddad , J.J. Cabibihan , A. Bonarini , Influence of reaction time in the emotional response of a companion robot to a child’s aggressive interaction, Int. J. Soc. Robot. (2020) 1–13 .

[4] A.Y. Alhaddad , J.J. Cabibihan , A. Bonarini , Head impact severity measures for small social robots thrown during melt- down in autism, Int. J. Soc. Robot. 11 (2) (2019) 255–270 .

[5] C.V. Bouten , K.T. Koekkoek , M. Verduin , R. Kodde , J.D. Janssen , A triaxial accelerometer and portable data processing unit for the assessment of daily physical activity, IEEE Trans. Biomed. Eng. 44 (3) (1997) 136–147 .

Riferimenti

Documenti correlati

With this structure, the three parameters a 2,k , a 3,k , and a 4,k of the rainfall–runoff model of Equation (1) are all dependent on the basin mean altitude and mean areal curve

The theoretical and experimental results here reported allow us to con- clude that 1) the far-detuned rf field behaves like a superfluid weak link, 2) the current-phase dynamics

An alternative configuration could be a “hybrid” (dielectric cylinders + superconducting plates) PBG based cavity which could lower metallic losses in the structure.. At the

Since then, 5 studies have been identified, including one patient- level quantitative review of 7 published trials on invasive candidiasis, one pooled patient-level data analysis from

BEVI LACQUA, PROF.. CI LLARI

In the measurements of the branching fractions, the sources of systematic uncertainty include the detection efficiencies of charged tracks and photons, the PID effi- ciency,

Sia l’inserimento della mente nel pro- blema più elementare e anche più vasto della vita, sia la comprensione dei viventi nei loro intrinseci rapporti col medio in cui

Una classificazione più esaustiva delle forme di vulnerabilità specifiche è riportata nelle “Istruzioni Tecniche per l’interpretazione ed il rilievo per macroelementi del danno