Prospects for Applied Mathematics and Data Analysis cover
Prospects for Applied Mathematics and Data Analysis

Online ISSN 2836-4449

Full Length Article

Volume 1 • Issue 2 • PP: 17-27 • 2023

Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19

Mohammed Alshikho 1* ,
Maissam Jdid 2 ,
Said Broumi 3
1Master's Student - Damascus University - College of Science – Syria
2Faculty member, Damascus University, Faculty of Science , Syria
3Laboratory of Information Processing, Faculty of Science Ben M’Sik, University Hassan II, B.P 7955,
* Corresponding Author.
verified

Open Access & Copyright

© 2023 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

The world has always suffered and from diseases and epidemics, and the coronavirus is one of the most dangerous viruses that threatened human life that requires the use of all scientific methods and means to respond to it and reduce its spread by early detection of infections and taking necessary measures In view of the significant role that artificial intelligence plays in most fields of science, it has become one of the most important scientific methods used to resolve complex issues and has been harnessed in medical diagnosis, one of the most complex areas. Many AI and machine learning algorithms have been used to diagnose and detect diseases in general and coronavirus in particular. The support vector machine (svm) machine algorithm was one of the most important algorithms in this area and is one of the most effective compilations used in the knowledge extraction process In spite of all this, the results they present remain incomplete because classification issues do not deal with cognitive uncertainties such as ambiguity, neutrality and inconsistency associated with perception of human thinking, This adversely affects the work of a classic support vector machine and affects the accurate diagnosis of the disease To solve this problem, we have done this research using a Neutrosophic Support Vector Machine because it takes into account all possible cases during the study of the sample and it reduces the impact of extreme values. This increases the accuracy of the results when diagnosing coronavirus symptoms. The study was conducted according to the following steps:

1.       We extract features from chest radiographs based on GLCM

2.       We form a neutrosophic dataset.

3.       We train Neutrosophic Support Machine N-SVM on new data.

4.       We record the results.

Comparing the results, we got using the upgraded N-SVM algorithm with the classic SVM algorithm results we found that it gives a more accurate diagnosis of the disease.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

Covid19 normal

Covid19 normal

Figure 1. Samples of two different dataset cases: patient suffering from covid-19 ,and normal healthy

person

After the data is configured, the training of the model is carried out in accordance with the following stages:

1. We enter an image of the data to be processed.

2. We extract features based on GLCM technology.

3. We form a neutrosophic dataset..

4. Then we make the vector machine algorithm support neutrosophic learn from the training data.

We represent these stages with the following diagram:

Figure 2. Training N-SVM Model
Figure 2. Training N-SVM Model

1.The stage of entering a picture of the data to be processed is illustrated by the following diagram:

Figure 4. Classification Flow Diagram
Figure 4. Classification Flow Diagram

2.Extract features from x-ray radiographs , representing energy, contrast and homogeneity we follow the next steps [ .26 24.25 ]:

a) We enter the x-ray image that we want to process.

b) We make the picture with a gray gradient.

0.299R+0.587G+0.114B c) Convert greyscale image from field 0-255 to new scale representing greyscale.

d)In this study we used the scale 0-9, i.e. we have reduced the pixel value making it easier for us to calculate GLCM.

e) we Convert the pixel value in the new scale into a matrix.

f) We compute the GLCM element that represents the appearance of gray value pairs of reference pixels, pixels and adjacent units in the distance and directions specified in the study using proximity 1 pixel and 0 direction.

g) We get the new matrix based on the account results.

h) We calculate GLCM parameters according to the relationships described in the table below:

Table 1. shows the parameters of GLCM
Table 1. shows the parameters of GLCM

N: GLCM matrix i: the row number in N, the column number in N

So after we configured the data of 30 chest radiographs, we extracted the features from these images. Depending on parameters of Gray-level Co-Occurrence matrix represented by (Energy, Contrast, Homogeneity) As shown in Tables 2 and 3.

Table 2. features extracted
Table 2. features extracted
Table 3. features extracted.
Table 3. features extracted.

3. Formation of Neutrosophic Dataset:

∀ 𝑋= (𝑥1, 𝑥2, 𝑥3, … , 𝑥𝑛)𝑇 set of features for binary classification data extracted using GLCM technology, but these features in this form reflect classic data and are not without cognitive uncertainties. In order to solve the problem of decisive data, we form a neutrosophic data set, which is a generalization of the classical and hazardous groups. The degree of neutrality has been introduced and added to the neutrosophic group and therefore the neutrosophic group has been defined as < T, I, F > where each element of the previous set is symbolized as [27]:

∀𝑥(𝑡, 𝑖, 𝑓) ∊< T, I, F >

i: represents neutrality, t: represents membership, f: represents Non-membership, t, i, f are real numbers of T, I, F respectively.

We also know that one of the disadvantages of the SVM algorithm that it is very sensitive to outliers, values, and to solve this problem we have reformulated the neutrosophic group of input samples based on the distances between the sample.

Neutrosophic group helps solve the problem of outlier values when combined with reformulated SVM.

Using the same preceding symbols that reflect data representation, we can know the input samples associated with the neutrosophic group by a set of points as follows:

(𝑥𝑗, 𝑦𝑗, 𝑡𝑗, 𝑖𝑗, 𝑓𝑗); 𝑗= 1,2,3, … , 𝑛
𝑔𝑗= 𝑡𝑗+ 𝑖𝑗−𝑓𝑗

For the set of points that fall on the line y = 1

𝑡𝑗= 1 − ‖𝑥𝑗−𝜌+‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌+‖
𝑖𝑗= 1 − ‖𝑥𝑗−𝜌𝑎𝑙𝑙‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌𝑎𝑙𝑙‖ 𝑓𝑗= 1 − ‖𝑥𝑗−𝜌−‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌−‖

For the set of points that fall on the line y is equal to -1.

𝑡𝑗= 1 − ‖𝑥𝑗−𝜌−‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌−‖ 𝑖𝑗= 1 − ‖𝑥𝑗−𝜌𝑎𝑙𝑙‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌𝑎𝑙𝑙‖ 𝑓𝑗= 1 − ‖𝑥𝑗−𝜌+‖ 𝑚𝑎𝑥𝑥𝑘∈𝑁‖𝑥𝑘 −𝜌+‖

where ρ+ represents the average of the data set on the line y = 1.

Where ρ - the average of the data set on theliney is equal to minus 1.

Where ρall represents the mean of the entire dataset.

The ρ is calculated in the form

𝑛+ ∑ 𝑥𝑘 𝑛+ 𝑘=1 𝜌+ = 𝜌+ = 1 1 1 𝑛+ ∑ 𝑥𝑘 𝑛+ 𝑘=1 𝜌𝑎𝑙𝑙= 𝑛∑ 𝑥𝑘 𝑛𝑎𝑙𝑙 𝑘=1

n+ :the number positive s, n- : the number negative .

We formed the neutrosophic components by calculating the g elements that represent three components of Membership degree and symbolize them with T and non-membership and symbolize them with F and neutrality and symbolize it with I, we showed the neutrosophic dataset according to the chart shown in the format fig3 where the blue line expresses Membership (T) and the orange line of Indeterminacy (I) and the gray line (Nonmembership (F) as shown in figure 3.

Figure 3. some Neutrosophic features
Figure 3. some Neutrosophic features

1.01

1.003

0.951

0.988

0.975

0.973

1 3 5 7 9 1113151719212325272931333537394143454749515

4. The Machine Algorithm Vector Support Neutrosophic N-SVM:

In this research, we classified the points that are regularly distributed in the field [-1.1]. We added a neutrosophic value to determine the degree of affiliation of each entry to the intended category, and based on the fact that the training data is not linearly separable and almost not devoid of outliers, which makes the algorithm tolerate errors in classification, which requires a solution to this problem by applying the linear kernel function Φ:x→Φ(x) to the training data, so the set of training points became as follows [27,28,29]:

(Φ(𝑥1), 𝑦1, 𝑔1), (Φ(𝑥2), 𝑦2, 𝑔2), … , (Φ(𝑥𝑛) , 𝑦𝑛, 𝑔𝑛)

We look for the best super surface that categorizes points for two categories. The problem is a nonlinear programming problem with an objective function as follows:

𝑛 𝑓(𝑥) = min 1 2 ‖𝑤‖2 + 𝐶∑𝑔𝑖 𝜖𝑖 … (1) 𝑖=1
𝑆𝑢𝑏𝑗𝑒𝑐𝑡 𝑡𝑜  𝑦𝑖(𝑤. Φ(𝑥𝑖) + 𝑏) ≥1 − 𝜖𝑖       ;  𝑖= 1, … , 𝑛 𝜖𝑖≥0
𝑡, 𝑖= 1,2,3, … , 𝑛 Where Φ(𝑥𝑖) = 𝑥𝑖𝑥𝑖

𝑔𝑖: Represents neutrosophic data and is formed in phase 3

C: a qualitative constant associated with g .

𝜖𝑖: mistakes committed by the decision limit through limitations

The Lagrange equation becomes:

𝑛 𝐿(𝑤, 𝑏, 𝜖, 𝛼, 𝛽) = 1 2 ‖𝑤‖2 + 𝐶∑𝑔𝑖 𝜖𝑖 𝑖=1 𝑛 𝑛
−∑𝛼𝑖(𝑦𝑖(𝑤. Φ(𝑥𝑖) + 𝑏) −1 + 𝜖𝑖) −∑𝛽𝑖 𝜖𝑖 𝑖=1 𝑖=1

w and b: are input arguments that the algorithm sets and any change in them affects the algorithm's output.

α, β: Lagrange factors.

To find the perfect solution we derive with respect to w,b,𝜖𝑖

𝑛 𝜕𝐿(𝑤, 𝑏, 𝜖, 𝛼, 𝛽) 𝜕𝑤 = 𝑤−∑𝛼𝑖 𝑦𝑖 Φ(𝑥𝑖) = 0       …  (2) 𝑖=1 𝑛
𝑛 𝜕𝐿(𝑤, 𝑏, 𝜖, 𝛼, 𝛽) = 0                         … (3) 𝜕𝑏 = −∑𝛼𝑖𝑦𝑖 𝑖=1
𝜕𝐿(𝑤, 𝑏, 𝜖, 𝛼, 𝛽) = 𝑔𝑖𝐶−𝛼𝑖−𝛽𝑖= 0                     … (4) 𝜕𝜖𝑖

Substituting relationships (4), (3) and (2) into relationship (1), we find the optimality problem:

𝑛 𝑛 𝑛 −1 2 ∑∑𝛼𝑖 𝛼𝑗𝑦𝑖 𝑦𝑗 𝑥𝑖𝑥𝑖 𝑡 max 𝑊(𝛼) = ∑𝛼𝑖 𝑖=1 𝑖=1 𝑗=1

within the terms ∑ 𝑦𝑖𝛼𝑖 𝑙 𝑖=1 = 0

0 ≤𝛼𝑖≤𝑔𝑖𝐶    , 𝑖= 1, … , 𝑛               … (5)

Choosing an inappropriate value for α makes the algorithm go to unsatisfactory results, , which means that we have to search for an optimal value for α, so we need the error expression ϵ, and to apply the Kuhn-Tucker conditions.

1. Error ε: the difference between the calculated output (6) and the actual output (y) in absolute terms is calculated as follows:

𝜖= |(𝑤. Φ(𝑥) + 𝑏) −𝑦|               … (6)

The relationship (2) shall be replaced by (6) and the following phrase shall constitute the error:

𝑛 𝜖𝑖= |(∑𝛼𝑖 𝑦𝑖 Φ(𝑥𝑖) . Φ(𝑥𝑖) + 𝑏) −𝑦𝑖| 𝑖=1

Kuhn-Tucker Terms: can be written as [30]:

𝑔 𝐶−𝛼≥0 and 𝜖 ≥0 and from it : 0 (𝑔 𝐶−𝛼) 𝜖=

Here we distinguish two situations:

Either C 0<α<g any ε=0 there is no error in classifying the support beam.

or g C-α=0 any g C=α ε>0 and there is a classification error or point located on the margin line. Where α are associated with g and C.

After we finish the algorithm training phase any new income is tested by applying the following sign function:

𝑠𝑖𝑔𝑛(𝑤Φ(𝑥) + 𝑏) = { output ≥0 ⇒𝑦= +1 Belonging to the first class output < 0 ⇒𝑦= −1 belonging to the second class

Thus, any new income is classified to the appropriate output.

4. Conclusion and Results:

Initially, we extracted features using Grey-level Co-Occurrence matrix Technology because if the algorithm's income (image x-ray) is too large, it will form a surplus of data that results in the high cost of computation, processing and useless consumption of computer memory, so we converted the data into a simpler form representing the original data and this is known as feature extraction.

The advantages that we obtained are almost not devoid of outliers and vertices that fall on the decision boundary (unconfirmed values), so we used a neutrosophic support machine model in order to address the outliers and take into account the undefined values, where we trained the model on a small number of data which are 30 chest radiographs divided into 15 images for positive cases and 15 images for negative cases. We obtained a classification accuracy result of 63.8%, meaning that we obtained this accuracy after extracting the features using GLCM and training N-SVM on the extracted data. Thus, our proposed model outperforms the classic support vector machine algorithm in terms of classification accuracy as shown in Table4:

Table 4. Comparison of accuracy between SVM and N-SVM
Table 4. Comparison of accuracy between SVM and N-SVM

References

[1]   WHO. Director-General’s Opening Remarks at the Media Briefing on COVID-19–11 March 2020. 

[Online].Available:https://www.who.int/dg/speeches/detail/who-director-general-s-opening-remarks-atthe-media briefing-on-covid-19—11-march-2020.

[2]  people-at-higher-risk .Coronavirus Disease 2019 (COVID-19). [Online]. Available: 

https://www.cdc.gov/coronavirus/2019-ncov/need-extra-precautions/people-at-higher-risk.html,2020.

[3]  Rabaan AA, Al-Ahmed SH, Haque S, Sah R, Tiwari R, Malik YS, Dhama K, Yatoo MI, BonillaAldana DK, Rodriguez-Morales AJ. SARS-CoV-2, SARS-CoV, and MERS-COV: A comparative 

overview. Infez Med. 2020 Ahead Of Print Jun 1;28(2):174-184. PMID: 32275259,2020 

[4]  J. H. U. Medicine. (2020). Coronavirus COVID-19 Global Cases by the Center for Systems Science and 

Engineering (CSSE) at Johns Hopkins Uni- versity (JHU). [Online]. Available:

https://coronavirus.jhu.edu/map.html

[5]  W. Wang, Y. Xu, R. Gao, R. Lu, K. Han, G. Wu, and W. Tan, ‘‘Detection of SARS-CoV-2 in different 

types of clinical specimens,’’ Jama, vol. 323, no. 18, pp. 1843–1844, 2020

[6]  N. Wetsman. Coronavirus Testing Shouldn’T Be This Complicated. 

[Online].Available:https://www.theverge.com/2020/3/17/21184015/coronavirus-testing-pcr-diagnosticpoint-of-care-cdc-techonology,2020.

[7]  M. Dahmani, M. E. H. Chowdhury, A. Khandakar, T. Rahman,

[8]  K.  Al-Jayyousi,  A.  Hefny,  and  S.  Kiranyaz,  ‘‘An  intelligent  and  low-  cost  eye-tracking  system  for 

motorized  wheelchair  control,’’  2020,  arXiv:2005.02118.  [Online].  Available: 

http://arxiv.org/abs/2005.02118

[9]  T. Rahman, M. E. H. Chowdhury, A. Khandakar, K. R. Islam, K. F. Islam,

[10]  Z. B. Mahbub, M. A. Kadir, and S. Kashem, ‘‘Transfer learning with deep convolutional neural 

network (CNN) for pneumonia detection using chest X-ray,’’ Appl. Sci., vol. 10, no. 9, p. 3233, May 

2020.

[11]  F. Smarandache. Introduction to Neutrosophic statistics, Sitech & Education Publishing, 2014.

[12]  Smarandache, F, Neutrosophy and Neutrosophic Logic, First International Conference on Neutrosophy , 

Neutrosophic Logic, Set, Probability, and Statistics University of New Mexico, Gallup, NM 87301, 

USA,2002.

[13]  Smarandache, F. A Unifying Field in Logics: Neutrosophic Logic. Neutrosophy, Neutrosophic Set, 

Neutrosophic Probability. American Research Press, Rehoboth, NM, 1999.

[14]  Smarandache, F, Neutrosophic set a generalization of the intuitionistic fuzzy sets. Inter. J. Pure Appl. 

Math., 24, 287 – 297, 2005.

[15]  Salama, A. A, Smarandache, F, and Kroumov, V, Neutrosophic crisp Sets & Neutrosophic crisp 

Topological Spaces. Sets and Systems, 2(1), 25-30, 2014. 

[16]  Broumi S. and Smarandache, F., Correlation coefficient of interval neutrosophic set, Appl. Mech. 

Mater., 436:511–517, 2013.

[17]  Broumi, S.; Smarandache, F.; Talea, M.; Bakali, A. Operations on Interval Valued Neutrosophic 

Graphs; Infinite Study; Modern Science Publisher: New York, NY, USA, 2016.

[18]  Abdel-Basst, M., Mohamed, R., Elhoseny, M., " A model for the effective COVID-19 identification in 

uncertainty environment using primary symptoms and CT scans." Health Informatics Journal, 2020.

[19]  Smarandache, F., Khalid, H., "Neutrosophic Precalculus and Neutrosophic Calculus (second enlarged 

edition) ", Pons Publishing House / Pons asbl, pp.20-22, 2018.

[20]  Jdid .M, Salama.A.A , Alhabib.R ,Khalid .H, and Alsuleiman .F, Neutrosophic Treatment of the static 

model of inventory management with deficit , International Journal of Neutrosophic Science (IJNS), 

Volume 18, Issue 1, PP: 20-29, 2022.

[21]  Jdid .M, Alhabib.R and Salama.A.A, Fundamentals of Neutrosophical Simulation for Generating 

Random Numbers Associated with Uniform Probability Distribution, Neutrosophic Sets and Systems, 

49, 2022

[22]  Jdid .M, Alhabib.R ,Khalid .H, and Salama.A.A, the Neutrosophic Treatment of the static model for the 

inventory management with safety reserve , International Journal of Neutrosophic  Science (IJNS), 

Volume 18, Issue 2, PP: 262-271, 2022.

[23]  Jdid .M, Salama.A.A and Khalid .H, Neutrosophic handling of the simplex direct algorithm to define 

the optimal solution in linear programming , International Journal of Neutrosophic Science (IJNS), 

Volume 18, Issue 1, PP: 30-41, 2022.

[24]  Jdid .M, and Khalid .H, mysterious Neutrosophic linear models , International Journal of Neutrosophic 

Science (IJNS), Volume 18, Issue 2, PP: 243-253, 2022.

[25]  Maissam Jdid, Basel Shahin, Fatima Al Suleiman, Important Neutrosophic Rules for Decision-Making 

in the Case of Uncertain Data, International Journal of Neutrosophic Science (IJNS), Volume 18, 

Issue3, PP: 166-176, 2022.

[26]  Wang, W., Xu, Y., Gao, R., Lu, R., Han, K., Wu, G., et al.: Detection of SARS-CoV-2 in different 

types of clinical specimens. Jama ,2020

[27]  Vadakkenveettil, Bino. (2012). Grey Level Co-Occurrence Matrices: Generalisation and Some New 

Features. International Journal of Computer Science, Engineering and Information Technology. 2. 151 -157. 10.5121/ijcseit.2012.2213.

[28]  Djunaidi, Karina & Agtriadi, Herman & Kuswardani, Dwina & Purwanto, Yudhi. (2021). Gray level 

co-occurrence matrix feature extraction and histogram in breast cancer classification with 

ultrasonographic imagery. Indonesian Journal of Electrical Engineering and Computer Science. 22. 795. 

10.11591/ijeecs.v22.i2.pp795-800.

 

[29]  Ju, Wen & Cheng, H.D. A novel neutrosophic logic SVM (N-SVM) and its application to image

categorization. New Mathematics and Natural Computation. 09, 2013.

[30]  Turhan, Muhammed & Şengür, Dönüş & Karabatak, Songül & Guo, Yanhui & Smarandache, Florentin. 

Neutrosophic Weighted Support Vector Machines for the Determination of School Administrators Who 

Attended an Action Learning Course Based on Their Conflict-Handling Styles,2018.

[31]  Evgeniou, Theodoros & Pontil, Massimiliano.Support Vector Machines: Theory and Applications. 

2049. 249-257. 10.1007/3-540-44673-7_12. 2001.

[32]  Ghosh, Debdas & Singh, Abhishek & Shukla, Kuldeep Kumar & Manchanda, Kartik. Extended 

Karush-Kuhn-Tucker Condition for Constrained Interval Optimization Problems and its Application in 

Support Vector Machines. Information Sciences. 504. 10.1016/j.ins.2019.

 

[33]  Rohith.N.Reddy.COVID-19Detection using SVM Classifier .Reddy2020COVID19DU,2020

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
Alshikho, Mohammed, et al. “Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19.” Prospects for Applied Mathematics and Data Analysis, vol. 1, no. 2, 2023, pp. 17–27. https://doi.org/10.54216/PAMDA.010202.
Alshikho, M., Jdid, M., & Broumi, S. (2023). Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19. Prospects for Applied Mathematics and Data Analysis, 1(2), 17–27. https://doi.org/10.54216/PAMDA.010202
Alshikho, Mohammed, Maissam Jdid, and Said Broumi. “Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19.” Prospects for Applied Mathematics and Data Analysis 1, no. 2 (2023): 17–27. https://doi.org/10.54216/PAMDA.010202.
Alshikho, M., Jdid, M. and Broumi, S. (2023) ‘Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19’, Prospects for Applied Mathematics and Data Analysis, 1(2), pp. 17–27. Available at: https://doi.org/10.54216/PAMDA.010202.
Alshikho M, Jdid M, Broumi S. Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19. Prospects for Applied Mathematics and Data Analysis. 2023;1(2):17-27. doi:10.54216/PAMDA.010202
M. Alshikho, M. Jdid, and S. Broumi, “Artificial Intelligence and Neutrosophic Machine learning in the Diagnosis and Detection of COVID 19,” Prospects for Applied Mathematics and Data Analysis, vol. 1, no. 2, pp. 17–27, 2023, doi: 10.54216/PAMDA.010202.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready