This paper explores the concept of smart cities and the role of the Internet of Things (IoT) and machine learning (ML) in realizing a data-centric smart environment. Smart cities leverage technology and data to improve the quality of life for citizens and enhance the efficiency of urban services. IoT and machine learning have emerged as key technologies for enabling smart city solutions that rely on large-scale data collection, analysis, and decision-making. This paper presents an overview of smart cities’ various applications and discusses the challenges associated with implementing IoT and machine learning in urban environments. The paper also compares different case studies of successful smart city implementations utilizing IoT and machine learning technologies. The findings suggest that these technologies have the potential to transform urban environments and enable the creation of more livable, sustainable, and efficient cities. However, significant challenges remain regarding data privacy, security, and ethical considerations, which must be addressed to realize the full potential of smart cities.
The electrocardiogram (ECG) is one of the most extensively employed signals used in the diagnosis and prediction of cardiovascular diseases (CVDs). The ECG signals can capture the heart’s rhythmic irregularities, commonly known as arrhythmias. A careful study of ECG signals is crucial for precise diagnoses of patients’ acute and chronic heart conditions. In this study, we propose a two-dimensional (2-D) convolutional neural network (CNN) model for the classification of ECG signals into eight classes; namely, normal beat, premature ventricular contraction beat, paced beat, right bundle branch block beat, left bundle branch block beat, atrial premature contraction beat, ventricular flutter wave beat, and ventricular escape beat. The one-dimensional ECG time series signals are transformed into 2-D spectrograms through short-time Fourier transform. The 2-D CNN model consisting of four convolutional layers and four pooling layers is designed for extracting robust features from the input spectrograms. Our proposed methodology is evaluated on a publicly available MIT-BIH arrhythmia dataset. We achieved a state-of-the-art average classification accuracy of 99.11%, which is better than those of recently reported results in classifying similar types of arrhythmias. The performance is significant in other indices as well, including sensitivity and specificity, which indicates the success of the proposed method.