Covid19 normal
Covid19 normal
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:
1.The stage of entering a picture of the data to be processed is illustrated by the following 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:
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.
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]:
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:
For the set of points that fall on the line y = 1
For the set of points that fall on the line y is equal to -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
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.
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]:
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:
ππ: 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:
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,ππ
Substituting relationships (4), (3) and (2) into relationship (1), we find the optimality problem:
within the terms β π¦ππΌπ π π=1 = 0
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:
The relationship (2) shall be replaced by (6) and the following phrase shall constitute the error:
Kuhn-Tucker Terms: can be written as [30]:
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:
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: