DOI: 10.5281/zenodo.7945412
title: Level Crossing Warning Bell (LCWB) Dataset

description: <strong>Acknowledgement</strong><br> These data are a product of a research activity conducted in the context of the RAILS (Roadmaps for AI integration in the raiL Sector) project which has received funding from the Shift2Rail Joint Undertaking under the European Union’s Horizon 2020 research and innovation programme under grant agreement n. 881782 Rails. The JU receives support from the European Union’s Horizon 2020 research and innovation program and the Shift2Rail JU members other than the Union. <strong>Disclaimers</strong><br> The information and views set out in this document are those of the author(s) and do not necessarily reflect the official opinion of Shift2Rail Joint Undertaking. The JU does not guarantee the accuracy of the data included in this document. Neither the JU nor any person acting on the JU’s behalf may be held responsible for the use which may be made of the information contained therein. This "dataset" has been created for scientific purposes only - and WITHOUT ANY COMMERCIAL purposes - to study the potentials of Deep Learning and Transfer Learning approaches. We are NOT re-distributing any video or audio; our files just contain pointers and indications needed to reproduce our study. The authors DO NOT ASSUME any responsibility for the use that other researchers or users will make of these data. <strong>General Info</strong><br> The CSV files contained in this folder (and subfolders) compose the Level Crossing (LC) Warning Bell (WB) Dataset. When using any of these data, please mention: De Donato, L., Marrone, S., Flammini, F., Sansone, C., Vittorini, V., Nardone, R., Mazzariello, C., and Bernaudine, F., "Intelligent Detection of Warning Bells at Level Crossings through Deep Transfer Learning for Smarter Railway Maintenance", Engineering Applications of Artificial Intelligence, Elsevier, 2023 <strong>Content of the folder</strong><br> This folder contains the following subfolders and files. "<em>Data Files</em>" contains all the CSV files related to the data composing the LCWB Dataset: <em>WB_data.csv</em> (<em>WB_labels.csv</em>): representing data of the "Warning Bell (WB)" class; <em>NA_data.csv</em> (<em>NA_labels.csv</em>): representing data of the "No Alarm (NA)" class; <em>GE_data.csv</em> (<em>GE_labels.csv</em>): representing data of the "GEneric alarm (GE)" class. "<em>LCWB Dataset</em>" contains all the JSON files that show how the aforementioned data have been distributed among training, validation, and test sets: <em>IT_Distribution.json</em> and <em>UK_distribution.json</em> respectively show how Italian (IT) WBs and British (UK) WBs have been distributed; The same goes for <em>NA_Distribution.json</em> and <em>GE_Distribution.json,</em> which show the distribution of NA and GE data respectively; <em>DatasetDistribution.json</em> simply incorporates the content of the aforementioned JSON files in a unique file that can be exploited to obtain exactly the same dataset we adopted in our analyses. "<em>Additional Files</em>" contains some CSV files related to data we adopted to further test the deep neural network leveraged in the aforementioned manuscript: <em>FR_DE_data.csv</em> (<em>FR_DE_labels.csv</em>): representing data that have been used to test the generalisation performances of the network we exploited on LC WBs related to countries that were not considered in the training phase. <em>Noises_data.csv</em> (<em>Noises_labels.csv</em>): representing the noises that were considered to study the behaviour of the network in case of noisy data. <strong>CSV Files Structure</strong><br> Each<em> "</em>XX_labels.csv" file contains, for each entry, the following information: The identifier ("index") of the sub-class (which is not relevant in our case); The code-name ("mid") of the class, which is used in the "XX_data.csv" file to indicate the sub-class of a specific audio; The extended name of the class ("display_name"). Worth mentioning, sub-classes do not have a specific purpose in our task. They have been kept to maintain as much as possible the structure of the "class_labels_indices.csv" file provided by AudioSet. The same applies to the "XX_data.csv" files, which have roughly the same structures of "Evaluation", "Balanced train", and "Unbalanced train" AudioSet CSV files. Indeed, each<em> </em>"XX_data.csv" file contains, for each entry, the following information: ID: the identifier of the entry; YTID: the YouTube identifier of the video; start_seconds and end_seconds: which delimit the portion of audio (extracted from YTID) which is of interest for this task; positive_labels: the label(s) associated with the audio. <br> <strong>Credits</strong><br> The structure of the CSV files contained in this dataset, as well as part of their content, was inspired by the CSV files composing the AudioSet dataset which is made available by Google Inc. under a Creative Commons Attribution 4.0 International (CC BY 4.0) license, while its ontology is available under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. Particularly, from AudioSet, we retrieved: The structure of the CSV files as discussed above. Data contained in <em>GE_data.csv</em> (which is a minimal portion of data made available by AudioSet) as well as the related 19 classes (in <em>GE_labels.csv</em>) which we selected among the hundreds of classes included in the AudioSet ontology. Pointers contained in "XX_data.csv" files other than <em>GE_data.csv</em> have been retrieved manually from scratch. Then, the related "XX_labels.csv" files have been created consequently. More about downloading the AudioSet dataset can be found here.