CNN-KCL: Automatic myocarditis diagnosis using convolutional neural network combined with k-means clustering

: Myocarditis is the form of an inflammation of the middle layer of the heart wall which is caused by a viral infection and can affect the heart muscle and its electrical system. It has remained


Introduction
Cardiovascular diseases (CVD) are among the most important causes of mortality around the world [1].Atherosclerosis is the leading cause of CVD referring to the build-up of different substances including cholesterol and fat in and on the walls of the arteries.The flow of blood is constrained in such a situation which in turn affects the whole body.CVDs due to atherosclerosis include cerebrovascular disease (e.g.stroke), ischemic heart disease (e.g.heart attack), and hypertensive heart disease.Other CVDs embrace rheumatic heart disease, inflammatory heart disease, congenital heart disease, cardiac arrhythmias, and heart failure [1,2].
Inflammation of the heart muscles is clinically termed myocarditis [3].In Figure 1, discrimination of normal and myocarditis affected heart can be seen.The inflammation of heart muscles is evident in myocarditis-affected heart as shown in Figure 1.The symptoms of myocarditis include chest pain or mild dyspnea.Common viral infections such as hepatitis B and C, parvovirus, and the recent one, COVID-19 may also cause myocarditis.Other specific forms of myocarditis include sarcoidosis, giant-cell myocarditis, hypersensitivity drug reactions, toxic or pathogens that may occur less commonly [4].Patients that are diagnosed with myocarditis should be referred to the heart specialist for endomyocardial biopsy.The endomyocardial biopsy enables the clinicians to check the presence of premorbid in the patients of myocardial inflammation.Myocardial is the prime cause of unexpected death approximately 20% in adults less than 40 years old [5].Although it had been centuries since the recognition of this enigmatic disease, effective treatment strategies are yet to develop because of several issues such as insensitivity to diagnostic tests, complex relations between maladaptive and adaptive immune responses [4].A recent development in the genetic basis of immune-mediated heart disease and studies in animals provided key information in treating the disease.As shown here, the inflammation of the heart muscles is evident in the myocarditisaffected heart.
Early detection of heart diseases is crucial for decreasing the mortality rate [6].The screening methods such as electrocardiograms, echocardiograms, or magnetocardiogram help physicians diagnose the disease at an early stage.However, factors such as fatigue and excessive workload of the physician as well as other factors such as the presence of various noises in the images, or the presence of a mass or lesion that are not visible can cause misdiagnosis [7].To address this problem, computeraided diagnosis (CAD) can help clinicians in diagnosing the diseases in their early stages [8].Using CAD as a machine learning methodology is deployed to predict and analyses different disease-related issues [9].One of the most advanced algorithms for analyzing large numbers of images collected from patients is the deep learning-based method.In fact, for deep learning-based methods, the more the input data increases, the more they become accurate and efficient [10].
To the best of our knowledge, there is no scientific literature related to deep learning-based studies on the detection and diagnosis of myocarditis disease.This is the first step towards such a study.We, therefore, systematically reviewed the literature based on cardiomyopathy oriented diseases.The rest of the paper is organized as follows: Section 2 describes the literature review; Section 3 presents the Z-Alizadeh Sani myocarditis dataset; Section 4 represents the method while Section 5 describes experimental results which are followed by Section 6 that presents the conclusion and future work.

Literature review
Baeßler et al. [11] examined whether machine learning-based techniques might be utilized for the recognition of myocardial tissue alterations in hypertrophic cardiomyopathy (HCM) on T1weighted non-contrast cardiac magnetic resonance (CMR) images using texture analysis (TA).In this study, texture feature selection and step-wise dimension reduction were explored for feature selection and identification of myocardial tissue alterations on non-contrast T1-weighted CMR images in HCM patients.
In another study, Ovreiu and Simon [12] investigated the diagnosis of cardiomyopathy in its two common forms: hypertrophic and dilated via P wave features.They applied a novel evolutionary technique dubbed biogeography-based optimization (BBO) and developed a neuro-fuzzy network.
They demonstrated that cardiomyopathy could be successfully diagnosed by applying a neuro-fuzzy model.Later Ali et al. presented a computerized framework for the detection of cardiomyopathy diseases utilizing a multilayered perceptron (MLP) neural network [13].In this study, the highfrequency noise removal method was employed using moving and median average filters at the preprocessing stage.
More recently Alis et al. [14] exploited a machine learning approach for texture feature analysis of cardiac magnetic resonance imaging (MRI) for examining the incidence of ventricular tachyarrhythmia (VT) in hypertrophic cardiomyopathy patients.Similarly, Borkar et al. [15] proposed a machine learning approach for the automatic detection of Atrial Septal Defect (ASD) and dilated cardiomyopathy (DCM) diseases.Their dataset comprised of the ultrasound videos of DCM, ASD, and normal cases.In another study, Sengupta et al. [16] designed a machine learning algorithm based on an associative memory classifier using echocardiographic and clinical records of 44 patients with restrictive cardiomyopathy and 50 patients with constrictive pericarditis.To discriminate constrictive pericarditis from restrictive cardiomyopathy, they normalized the speckle tracking echocardiography images concerning 47 controls with no structural heart disease and evaluated the diagnostic area under the ROC curve of the associative memory classifier.
At the same time, Begum et al. [17] developed an automated diagnostic system for cardiomyopathy disease using feed-forward backpropagation neural network and SVM classifiers.They utilized an online PTB diagnostic ECG database and preprocessed it for baseline correction and noise cancellation.They then proposed four time-based features and classified them using artificial neural networks and SVM [18].More recently, Green et al. [19] studied the echocardiograms and photoplethysmography data from a control cohort of 64 healthy volunteers and 19 HCM patients with left ventricular outflow tract obstruction (oHCM).In another study, Tsai and Kojima [20] utilized four texture features of ultrasonic images for heart disease classification.Their proposed method took as input the heart images that measured texture features by generating a gray-level co-occurrence matrix.
More recently, Narula et al. [21] examined the potential for a machine learning system that integrated speckle-tracking echocardiographic recordings for discrimination of HCM from physiological hypertrophy seen in athletes (ATH).Similarly, Rahman et al. [22] proposed an HCM patient classifier utilizing standard 12-lead and 10-seconds ECG signals.They derived 504 temporal and morphological features including both newly-developed and commonly used ones from ECG signals for heartbeat classification.
Recently, Shao et al. [23] examined whether TA parameters on magnetic resonance T1 mapping could be applied for the diagnosis of DCM.In this study, modified look-locker inversion recovery (MOLLI) sequence at a 3.0 T MR scanner was used to acquire T1 maps.The epicardium and endocardium were strained on the short-axis slices of the T1 maps by a skilled radiologist.Most recently, Capture et al. [24] performed plasma proteomics and exploratory myocardial screens and consequently devised a multiplexed targeted liquid chromatography-tandem/mass spectrometry-based assay to examine 26 peptide biomarkers to recognize novel plasma biomarkers for patients with HCM.
Ali et al. [25] predicted heart disease utilizing a smart healthcare system applying feature fusion and ensemble deep learning methodologies.Conventional methods fail to diagnose heart diseases as they cannot tackle high-dimensional data.Hence, a smart framework using deep learning strategies is effective in such cases.In different electronic health records (EHR) from hospitals, there are lots of features, and the distribution of such features is also very unbalanced.Baccouche et al. [26] devised an ensemble framework based on deep learning to handle the unbalanced heart disease dataset issue.
A substantial amount of human effort is needed as machine learning approaches rely on rules and dictionaries and the integration of data-driven and knowledge-driven techniques.The simplicity of deep learning models comes to the rescue on detection of heart-related diseases and their risk factors compared to feature-engineered hybrid methods.The authors [27] designed a deep learning architecture from EHR records to evaluate the risk factors for heart disease.Early detection of heartrelated issues is possible when heart disease systems are integrated into the Internet of Medical Things.Su et al. [28] utilized deep learning methods on the internet of medical things for the detection of valvular heart disease.The author [29] proposed deep learning modified neural network (DLMNN) using IoT for assisting heart disease diagnosis and this patient monitoring approach achieved a competitive outcome.Morris et al. [30] introduced a deep learning method to diagnose congenital heart disease in the fetus, the most lethal and common birth defect.Correct prediction of heart disease can save lives while incorrect one can be fatal.The authors [31] applied a deep learning approach to predict the occurrence of heart disease in diabetic patients.They used two models-gated recurrent unit (GRU) and long short-term memory (LSTM).GRU outperformed the LSTM in such prediction.Bharti et al. [32] integrated machine learning techniques with deep learning models to predict heart disease.They used the UCI Machine Learning Heart Disease dataset and their technique yielded promising accuracy.The authors [33] proposed an echocardiography-based mortality deep learning prediction model for heart patients.They validated their model using the areas under the receiver operating characteristic curve (AUROC) and showcased superior performance.Sharma et al. [34] deployed a deep neural network (DNN) model for the prediction of heart disease and they observed that Talos optimization recorded state-of-the-art performance.Poplin et al. [35] predicted the cardiovascular risk factors from analyzing retinal images such as major adverse cardiac events, systolic blood pressure, smoking status, gender, and age.Hence, deep learning approaches are crucial in diagnosing and detection of various heart diseases from different sources related to patients.
As is highlighted in the literature review, no deep learning-based method has been used for diagnosing myocarditis so far.In this study, we propose a new deep learning model (called CNN-KCL) that is build based on the combination of deep convolutional neural network (CNN) and k-means clustering to solve this problem.Our results demonstrate that CNN-KCL can significantly enhance the prediction performance compared to previous studies found in the literature.

Z-Alizadeh Sani myocarditis dataset
Cardiac MR Imaging is considered the noninvasive and diagnostic golden standard of myocarditis in the absence of biopsy.CMR provides the possibility of anatomical and functional imaging and accurate assessment of the heart.In this respect, its ability for tissue characterization is even more important [36].Three diagnostic targets for the three recommended Cardiac MRI criteria are myocardial edema, hyperemia/capillary leak, and scar which is known as Lake Louise Criteria (LLC) [37].The existence of contrast enhancement (CE-GD) affirms myocardial injury (i.e.scar, fibrosis) while T2-weighted images show interstitial edema, known as an integral part of the inflammatory response.The pre-and post-contrast T1-Weighted image indicates the presents of hyperemia/capillary leak in myocardial tissue.The LLC has been accepted beyond clinical criteria and Endomyocardial biopsy.Two out of three "Lake Louise Criteria" have 80.0% accuracy for a correct diagnosis of acute myocarditis [38].In this study, we developed a model to diagnose myocarditis based on three indexes of Lake Louise Criteria (LLC).

CMR imaging protocols
This study was performed from September 2018 to September 2019 at the CMR department of OMID hospital in Tehran, IRAN 1 .The total number of images in this study is 98,898 including 37,564 images from healthy individuals and 61,334 images from individuals with Myocarditis issues.The study was approved by the local ethical committee of the OMID hospital.CMR examination was performed using a 1.5-T system (MAGNETOM Aera Siemens, Erlangen Germany) [39].All patients were scanned with dedicated body coils in the standard supine position.The CMR protocols are as follows: We performed CINE-segmented images and pre-contrast T2-weighted (trim) images in short and long-axis views.Pre contrast T1-Weighted relative images were acquired in axial views of the myocardium.Immediately after gadolinium injection (DOTAREM 0/1 mmol/kg), the T1-weighted relative sequence was repeated and after 10-15 minutes, Late Gadolinium Enhancements (LGEhigh-resolution PSIR) sequences in short and long-axis views were performed.Table 1 shows the parameters and details of CMR sequences.In addition, the main characteristics of our dataset are presented in Table 2.

Methods
In this section, we present our proposed method in detail.

Background knowledge
In this study, we use convolutional neural network (CNN) and k-means clustering to build our proposed model.Here, CNN is selected as one of the most powerful methods among deep learning algorithms for image analysis [40−42].K-means is also selected because of heterogeneity among our input data.Having different viewpoints, light conditions, etc. have a negative impact on the classification performance.Hence, before classification, we use the k-means algorithm to cluster the images.In this way, similar images are categorized in the same cluster which potentially helps in enhancing the performance and overcoming heterogeneity in our input data.

Convolutional neural network (CNN)
One of the well-known deep learning techniques for image processing is convolutional neural network (CNN) that takes an image as input, allocates importance (biases and learnable weights) to different objects/aspects in the image, and then classify them [43].CNN requires much lower pre-processing compared to the other deep learning architectures.Generally, filters are handengineered in primitive methods while CNN can learn these characteristics/filters.The connectivity pattern of neurons in the human brain and the architecture of CNN are analogous.CNN is developed based on the organization of the visual cortex.A CNN is comprised of an input layer, multiple hidden layers, and an output layer.The hidden layers of CNN are typically created with convolutional layers that convolve with others [44].The activation function is usually a rectified linear units (ReLU) layer and additional convolutions such as normalization layers, fully connected layers, and pooling layers are consequently followed [45].There are various architectures of CNNs that are extensively used in the deep learning domain.Some of such architectures are LeNet [46], AlexNet [47], VGGNet [48], GoogleNet [49], and ResNet [50].CNN is widely used in many different areas of research including computer vision, medical image analysis, recommendation system, financial time series, natural language processing, image, and video recognition, and classification [51,52].CNN has been applied successfully in detection and diagnosis of various diseases using various image modalities [40,44,[53][54][55][56][57].[58].It is based on vector quantization that aims to partition n observations into k clusters.Each observation belongs to a cluster with the nearest mean value (cluster centroid or cluster centers).The Euclidean distance (or any other distance metrics) is usually utilized to generate k groups [59].Each item is categorized to its closest mean and the mean's coordinates are updated as the averages of the items categorized in that cluster so far.

Proposed method
In this section, the proposed method is described in two parts.At first, the CNN-KCL scheme and then its structure is explained in detail.

Proposed CNN-KCL scheme
The block diagram of the proposed method namely convolutional neural network-clustering (CNN-KCL) is shown in Figure 2, which includes the steps of data entry, clustering, classification, and final prediction.According to Figure 2, the implementation steps are shown briefly:  Step 1: In the first step, the proposed dataset is entered into the system. Step 2: The second step is related to the initial pre-processing.All dataset images are on a gray level.Hence, there is no need to delete the image channels.Dataset images are available in a variety of sizes.For this purpose, all images are resized to a size of 100 × 100.After resizing the images in the data pre-processing step, the image normalization operation is performed.Normalization of images transforms the light intensity of all image pixels to the range of zero and one (0 and 1). Step 3: Due to the great variety of image sections, clustering is used in this step.There are different methods for clustering data.In this research, the k-means method is used to cluster images.It is important to note that the k-means algorithm is not capable of clustering two-dimensional images.For this reason, all images are reshaped into the vector of pixels, and then these are used in the k-means algorithm.In this study, we have studied different values for K starting from 2 to find the optimal number of clusters, experimentally.Initially, the Z-Alizadeh Sani myocarditis dataset was given to the CNN-KCL model with two classes of healthy and Myocarditis (2 clusters).Due to a great variety in the employed dataset and the existence of images taken from different viewpoints, the initial accuracy of CNN-KCL was low.For this reason, the data was divided into more clusters to represents the data with a more distinctive pattern.To test other values for K, we divided each healthy and sick people into 2 clusters (a total of 4 clusters (K = 4)).This way, input images should be classified by CNN-KCL into 4 classes.We also increased the number of clusters to 10 (5 clusters for sick people and 5 clusters for healthy people).As a result, a total of 10 clusters or 10 classes (K = 10) were created to identify healthy and sick people as the output of CNN-KCL.Finally, the number of clusters was increased to 24 (K = 24).An input image is classified as healthy if it is categorized in one of the healthy clusters.The performance was tested based on 10 fold-cross validation technique (i.e.90% of the data for training and 10% of the data for testing).However, the results almost monotonically decreased.As the result, at K = 24 which produced the lowest results, we stopped increasing the number of clusters.

Recommended CNN-KCL architecture
The proposed CNN-KCL architecture is shown in Figure 3. CNN-KCL includes input layers, convolution (32 kernels), Maxpooling (2 × 2), Dropout, re-convolution layers (64 kernels), Maxpooling (2 × 2), and Dropout.It also has the Flatten layer, fully connected, and the dropout layer, and finally the desired output.The list of hyperparameters optimization of the proposed CNN-KCL is described in detail in Table 3.According to Figure 3, images are reshaped to a size of 100 × 100 into the CNN network.As the first part of the network, a convolution layer with a 3 × 3 kernel size, a Max-pooling layer with a 2 × 2 kernel size, and a dropout layer with a size of 0.2 has been selected.In this network, the convolution layer is used to extract the feature from the dataset.The dropout layer is used to randomly remove a number of neurons to avoid overfitting in the network.The combination of these three layers with the activation function on CNN is usually referred to as one layer.The proposed CNN network consists of three layers with the mentioned features.The numbers of filters in the first, second, and third convolution layers are 32, 64, and 64, respectively.After passing the data through these three layers, the Flatten layer is used to change the form of the data from two-dimensional to one-dimensional mode.Then, the Fully Connected layer is used to classify the network.After the fully connected layer, the dropout layer is used again to avoid the network overfit.As the output layer, there is a vector with the number of neurons equal to the number of clusters, i.e., 2, 4, 10, and 24.

Experimental results
In this section, the results of applying the proposed algorithm on the Z-Alizadeh Sani myocarditis dataset are reported.We used Python programming language and Tensorflow to implement CNN-KCL.In each of the K values (2, 4, 10, and 24), CNN-KCL networks were executed and the results were obtained based on 10 fold-cross validation technique and shown in Figures 4 and 5 Figure 4 shows the accuracy based on 10 fold-cross validation technique.In each of these two figures, the results with 2, 4, 10, and 24 clusters are shown and the blue and orange lines represent the training and validation process over 30 epochs, respectively.In Figure 4, with 2 clusters, the CNN-KCL network is not well trained and had low accuracy.While in 4-cluster, 10-cluster, and 24-cluster modes, the training and validation processes are almost pretty similar with the same accuracy.As shown in these figures, the best results are achieved using CNN-KCL while the number of clusters (K) is set to 4.
Figure 5 shows the loss of CNN-KCL for a different number of clusters.As shown in Figure 5, in the case of 2 clusters, the loss increases dramatically, and in the cases of 4, 10, and 24 clusters, the loss decreases based on 10 fold cross-validation technique.In the case of 4 clusters, we observe the least loss.We also observe similar results in 4, 10, and 24 clusters in Figure 5.According to Table 4, we investigated various evaluation criteria including precision, accuracy, recall, specificity, F1-Score, and AUC.When there are 2 clusters, by dividing the data set into 90% for training and 10% for testing or 10-fold cross-validation technique, the values of accuracy, precision, recall, specificity, F1-score, and AUC are 95.24,94.6, 92.7, 96.78, 93.8, and 94.75%, respectively.Meanwhile, the best performances are achieved when the CNN-KCL algorithm is used while K is set to 4 in the k-means algorithm.To investigate the effectiveness of CNN-KCL, we compare it with several state-of-the-art traditional machine learning models such as bayesian network (BN) [18,66,67], decision tree (DT) [67−69], logistic regression (LR) [67,70,71], and random forest (RF) [67,71,72].The above methods are described below.

1) Bayesian network
The BN classifier is the probability-based multiclass method and maximum likelihood computing.In other words, the NB classifier generates a conditional probability model, based on the use of the Bayes theorem that predicts the probability of a patient.Indeed, the supervised learning classifier accepts that the existence of a specific feature in a class is irrelevant to the existence of other features.

2) Decision tree
The next supervised learning classifier is the rule-based decision tree that is utilized for medical cases.This classifier is with a tree structure, comprising a root node, branches, and leaf nodes.Using the DT classifier, the dataset is separated into categories according to low entropy measures.It separates the dataset into two or more homogeneous sets.This is done based on the most important independent variables to make as discrete categories as conceivable.The decision tree achieves effective results with good accuracy.

3) Logistic regression
The LR classifier is a probabilistic binary classification method.This classifier is amplified by the correlation amid the dependent and independent variables through a linear separating line.The best separating line is named the regression line.

4) Random forest
The RF classifier is a non-probabilistic multiclass classification method.This RF method is an ensemble method, incorporating the predictions returned by a large number of trees of decision trees through the utilization of a bootstrap aggregation method.Every decision tree within the ensemble is created by frequently splitting the training dataset into subsets, to increase the monotony of the subsets.Furthermore, the forest selects the classification considering the most votes for entirely the trees.
As it is specified earlier, to the best of our knowledge, CNN-KCL is the first deep learning-based method that has been used for this task.The results of this comparison are illustrated in Table 5.As shown in Table 5, CNN-KCL outperforms all the other traditional machine learning models.CNN-Volume 19, Issue 3, 2381−2402.
KCL is the first machine learning model to achieve over 90% in terms of Accuracy, Precision, and Recall.It also achieves over 0.9 F1-score.According to the results shown in Table 5, our method performance is in the first rank.RF, SVM, and LR are in the next ranks, respectively.DT and BN are at the end of this list.
In addition, the accuracies and standard deviation (STD) have been achieved based on the 10-fold cross-validation that is described in Table 6.
For more comparison, the results of statistical tests were obtained for methods.These tests have been assigned in Table 7.

Conclusions and future works
Myocarditis which remains one of the most challenging diagnoses in cardiology can affect the heart muscle and its electrical system.The most common cause of myocarditis is viral infection but other potential causes include Bacteria, Parasites, Fungi, Medications, or illegal drugs that might cause an allergic or toxic reaction, chemicals, or radiation [73].Patients might present with a wide variety of symptoms like palpitations, dizziness, or syncope, serious ventricular arrhythmia, and angina-like chest pain [4].Sudden cardiac death and acute coronary syndrome in healthy young adults can be caused by heart failure or severe arrhythmia [74].
Nowadays, the application of machine learning techniques to identify uncover hidden healthcare patterns has been increased, dramatically.Thanks to the advent of technology, diagnostic possibilities have expanded and improved but there is still room for additional modifications and improvements [75].Endomyocardial biopsy (EMB) as the invasive gold standard for diagnosis of myocarditis is subject to sampling error, false negative, false-positive results, procedural risks, or lack of local expertise therefore due to these limitations is infrequently performed [76].Among noninvasive methods, Electrocardiogram (ECG) and echocardiography are the primary diagnostic tools for heart diseases which are applicable for excluding other causes of cardiomyopathy.They can help to document disease development because temporal changes in systolic function, chamber size, and thickness can be evaluated regularly.However, they do not provide determined signs for myocarditis [77].Cardiac MRI (CMR) has been considered a noninvasive and golden standard diagnostic tool for suspected myocarditis and plays an indispensable role in diagnosing various cardiac diseases.CMR provides the possibility of anatomical and functional imaging and accurate assessment of the heart.However, in this respect what is more important is its ability of tissue characterization [36,75].
Based on our experimental results, the convolutional neural network demonstrates promising performance for detecting and classifying images.However, to the best of our knowledge, no studies have used deep learning-based methods to diagnose myocarditis so far.We also used the kmeans clustering method to reduce the impact of heterogeneity among the input samples.Here, at first, we used the Elbow method (explained in detail in Appendix) to identify the optimal number of clusters [78].However, in our case, this method was not able to provide us with the best results.Therefore, we used an alternative experimental approach to identify the optimal number of clusters for the k-means algorithm.In this study, clustering the data was used to overcome heterogeneity in the input data.After that, a novel hybrid CNN-KCL method was used to diagnose and classify myocarditis on the Z-Alizadeh Sani myocarditis dataset.The data set was divided into 90% for training and 10% testing based on a 10-fold cross-validation technique.We demonstrated our results using various evaluation criteria including accuracy, precision, specificity, F1-score, recall, and AUC.As shown in Table 4, CNN-KCL with K = 4 achieved 97.41, 97.6, 98.56, 96.5, 95.7, and 97.05% in terms of accuracy, precision, recall, specificity, F1-score, and AUC, respectively.In addition, we compared our proposed method with the most popular traditional classification algorithms (Table 5).The result of this comparison demonstrated that CNN-KCL can significantly outperform other traditional machine learning algorithms for this task.
As for future works, we aim at using semi-supervised methods, reinforcement learning, and supervised methods such as recurrent neural networks (RNNs) to enhance the prediction performance.We also aim at using explainable AI and case-based reasoning (CBR).

Figure 1 .
Figure 1.Demonstration of myocarditis (on the right) and normal heart (on the left).As shown here, the inflammation of the heart muscles is evident in the myocarditisaffected heart.

Figure 2 .
Figure 2. The block diagram of the proposed CNN-KCL method.

 Step 4 :
In this step, the data is divided into 2, 4, 10, and 24 clusters by the k-means algorithm. Step 5: In this step, the data are classified using CNN separately.Convolution layers are used for feature extraction and fully connected layers act as classifiers in this network. Step 6: In step 6, the results of the classification of 2, 4, 10, and 24 clusters are displayed separately. Step 7: Finally, the results of the classification of clustered images performed by k-means and CNN algorithms are compared.

Figure 3 .
Figure 3.The general architecture of CNN-KCL.
of time that the patient should hold his/her breath to avoid chest motion artifacts.

Table 2 .
Some of the characteristics of the Z-Alizadeh Sani myocarditis dataset.

Table 3 .
The list of hyperparameters settings of the proposed method.

Table 4 .
The achieved classification results using CNN-KCL based on a 10-fold crossvalidation technique for the different number of clusters.

Table 5 .
The comparison results between the proposed CNN-KCL with 4 clusters and some other classification methods through the 10-fold cross-validation technique.

Table 6 .
The accuracies and STD based on the 10-fold cross-validation.

Table 7 .
The results of statistical tests for methods.