1. Introduction
Cattle disease diagnosis is challenging due to similar symptoms between diseases. At present, the development of artificial intelligence (AI) via mathematical methods using fuzzy sets is essential in diagnosing and predicting animal diseases. Good research outcomes have been achieved in the development of computer diagnostic and prognostic systems to increase the quality of optimal treatment, early detection of types and causes of diseases, and targeted treatments. The improvement of these systems is required to enable the early diagnosis of animal diseases.
In cattle, osteodystrophy refers to a group of metabolic bone diseases that are characterized by abnormal bone growth and mineralization. There are numerous potential causes, such as mineral imbalances, hormonal disorders, and genetic predisposition. The symptoms in cattle may include lameness, stiffness, and decreased milk production.
Ketosis, also known as ketotic hypoglycemia, is a metabolic disorder that occurs when the cow’s body begins to break down fat instead of using carbs as its main source of energy. This can occur when the cow’s diet is too high in fat, when the cow is under stress, or when there is an increased demand for energy. The symptoms in cattle may include decreased appetite, weight loss, and less milk being produced.
Microelementosis, also known as trace mineral deficiency, is a condition caused by a lack of essential trace elements, such as copper, zinc, selenium and iodine, in the cow’s diet. It can lead to various health problems, such as immune dysfunction, reproductive failure, and poor growth. The symptoms in cattle may include anaemia, poor coat condition, and lower milk output.
Diseases with metabolic disorders are mainly diseases with disorders of carbohydrate, fat and protein metabolism, mineral metabolism disorders, and diseases with deficiency or excess of microelements. At the same time, there is a lack of minerals (macro and microelements) in the diet of animals, a violation of the glycogen-synthesizing function of the liver due to a sugar protein ratio below 0.8:1, ketonolactia, a decrease in the amount of hemoglobin, erythrocytes, total protein, nitrogen, and urea in the blood [
1]. Eshburiev and Bell [
1,
2] have devoted their scientific activity to the study of diseases of ketosis, alimentary and secondary osteodystrophy, disorders of vitamin and mineral metabolism in animals and have come to different conclusions about the etiology, development mechanisms, diagnosis, treatments. and preventative measures for secondary osteodystrophy in dairy cows.
In addition, there are numerous scientific publications on the prevalence, causes, developmental features, clinical signs, diagnosis, treatment, and group prevention of primary and secondary osteodystrophy, ketosis, and microelementosis in cattle, while information on diseases in imported black-and-white cattle breeds and livestock bred in new farms is rare [
3].
Mehmet [
4] used a fuzzy logic (FL) method to determine whether an animal disease in the case of the possibility of an animal disease with neurological signs or reduced natural oddity is insufficiently calculated. Fuzzy sets can be applied to veterinary medicine to help determine the condition. Fuzzy sets allow for a more flexible and nuanced approach to decision-making as they account for the uncertainty and imprecision that often exists in medical diagnoses. By using fuzzy sets to evaluate the symptoms and test results of an animal, a veterinarian can perform a more informed and accurate diagnosis of the disease. This can lead to more effective treatment and improved outcomes for the animal.
Beata and Muhamedieva et al. [
5,
6] applied a k-nearest neighbor fuzzy classifier and pattern recognition theory to understand the abnormal breathing pattern resulting from diaphragm paralysis and identified the dominant component, tidal or frequency, of the breathing pattern on which lung ventilation is performed. This problem is considered in an experimental model of diaphragm paralysis due to bilateral phrenicotomy in drug-addicted, spontaneously breathing cats. From several recorded variables, two characteristics, minute ventilation and blood pressure, were selected and used for k-nearest neighbor analysis. The results showed that the ability to maintain ventilation significantly depends on the increase in the respiratory rate. Other breathing strategies proved ineffective. The assessment of the “k-nearest neighbor” based on two selected features caused it to be possible to determine the predominant breathing pattern with sufficient probability. Such an assessment can be a useful tool for predicting the development of compensatory strategies for respiratory disorders.
Rodrigo et al. [
7] used three mathematical methods to determine the relationship between the weight and length of Cichla monoculus fish. The first method is an ordinary least squares regression, the second method uses raw data in nonlinear analysis, and the third is a combination of multivariate estimation and FL. The best option was sought among these methods. Although the nonlinear analysis provided better results than the least squares method, the best results were obtained with the help of fuzzy inference.
The significance of the correlation between fish length and weight and parameter interpretation was established by the Froese [
8]. The condition factor, which was utilized to evaluate the relative health of each fish, was the parameter that was taken into consideration.
Barros et al. [
9] investigated whether the knowledge component increased fish length when fish form or condition changed. This strategy does not address the issue of indicator variability. At least three variables, including environmental circumstances (such as the hydrological cycle season in big rivers with surrounding floodplains) and the stage of gonadal development at which the two populations are now, can be used to explain differences in average conditions for two populations. In reality, there was a general agreement that environmental factors, such the availability of food, significantly affect the condition factor. The change in the estimating technique does not take into account the intrinsic unpredictability of parameters, even though the approximation of nonlinear models should result in reliable parameter estimates.
In [
10], the Takagi–Sugeno–Kanga neuro-fuzzy classifier was used to categorize three horse breeds (Jedju, Warmblood, and Thoroughbred) and four horse gaits (walk, sitting trot, rising trot, and gallop) from data that have been wavelet packetized. The fuzzy c-means clustering approach, which may address the issue of rising dimensionality due to flexible scatter partitioning, was used to construct the neuro-fuzzy classifier. In order to achieve this, the movement of a rider’s hip was employed as representative data for categorizing horse gait using data gathered by inertial sensors. Additionally, a training system that can be used in both real-world and virtual riding environments was created and a technique for examining rider movements was suggested. It was able to teach the right movement matching to a classed gait using the findings of rider analysis. The motion database was produced using information gathered from 17 inertial sensors connected to a motion capture suit worn by one of the top equestrian athletes in the nation. A variety of classifiers were tested in experiments using both raw and processed motion data to assess classification ability. The proposed approach outperformed a neural network classifier, a straightforward Bayesian classifier, and a network classifier using a radial basis function in terms of accuracy (97.5%) for the modified motion data.
Owing to the relevance of determining estrus for reproductive function, an algorithm was developed by Susana et al. [
11] using fuzzy sets to predict estrus in dairy cows. Three input variables were used: (1) behaviors of dairy cows (raw, genital discharge, genital edema, frequent urination, and restlessness), (2) trying to sit on other cows, and (3) time since the last heat. The estrus detection rate, which is the percentage of correct estrus detection, was used as the output variable. The analysis was performed using various MATLAB 6.5 FL tools. The results showed that FL is a promising technique to predict estrus in dairy cows and can help in the decision-making process related to animal insemination.
Ferreira et al. [
12] investigated how the effective detection of estrus in cows and heifers profoundly affects the reproductive performance of animals and profitability of livestock farms. Failure to detect estrus creates economic problems for farmers, mainly when artificial or controlled insemination is used. Even if a cow is in good breeding conditions, it is essential to correctly identify estrus to avoid the excessive use of hormones because herd productivity is considered adequate if dairy cows are farrowed once a year. Moreover, effective estrus detection is directly related to reproductive efficiency. To adequately determine estrus, it is necessary to evaluate the behavior of an animal, using the reproductive cycle of the animal as a starting point. Estrus is defined as the period when dry cows or heifers increase their reproductive hormone levels, which occurs every 18–24 days. The main characteristic of estrus is when a female agrees to the set, followed by other signals to help identify estrus, called secondary signals. Sexual behaviors comprise recognition (smell of the vulva, flehmen reflexes, accommodation-accompanying, and stalking), prematting (pressing the chin to the croup, headbutting, licking other parts of the body, and attempting to sit down), matting (attempt to mount, attempt to expose, attempt to mount with positive immobility, and maintenance or full mount), and a rest period.
Expert systems are computer programs that emulate the decision-making abilities of a human expert. They are designed to solve complex problems or make decisions in specific domains, such as medical diagnosis or financial planning. Pfeifer et al. [
13] argue that expert systems and decision support systems (DSS) can complement each other in various ways.
One way is that a DSS can provide an expert system with a user-friendly interface, causing it to be more accessible to non-experts. Additionally, DSS can provide expert systems with additional data and analytical tools that can help the expert system make better decisions.
Another way is that expert systems can provide DSS with more accurate and reliable information, as they are able to process large amounts of data and make decisions based on specific knowledge and expertise. Pfeifer et al. [
13] suggest that combining the strengths of expert systems and DSS can lead to more effective decision making.
To date, the issue remains of bridging the gap between the reasoning mechanism of a highly qualified doctor and the display of this process in the knowledge base and inference system in veterinary medicine. Further development requires the transition from formalisms that reflect the solution option that corresponds to the doctor’s logic in the educational version to the ability to extract and formalize difficult-to-verbalize representations, for example, intuitive or fuzzy for the expert in this field. The analysis of medical practice allows us to conclude that the incomplete and fuzzy presentation of the initial data characterizes the tasks of forecasting early differential diagnosis. There is also a high complexity of data formalization and the absence of a clear boundary for the values of diagnostic parameters. Considering the apparent fuzziness and inconsistency of medical information, it is evident that information technology is associated with great difficulties. One of the ways to formalize uncertainties and provide correct and adequate results is performing the methods of fuzzy mathematics. The use of the apparatus of fuzzy logic in solving these problems has great potential, which is confirmed in many studies reviewed.
A neutrosophic fuzzy set (NFS) is a mathematical construct that can be used to model the uncertainty and indeterminacy that often arises in real-world systems. It can provide a more accurate representation of reality by taking into account the fact that information is often incomplete or uncertain.
Recently, many works have proposed various algorithms and methods for single-valued neutrosophic fuzzy sets and interval neutrosophic fuzzy sets. In these works, some basic operations are introduced on single-valued and interval neutrosophic fuzzy sets, such as addition and multiplication, as well as some corresponding aggregation operators. Some basic operational laws of elementary neutrosophic fuzzy sets are defined, which include single-valued neutrosophic fuzzy sets and interval neutrosophic fuzzy sets [
12].
Currently, FL is used in control and decision support systems, where the problem description approach cannot be accurate. A fuzzy inference system comprises output and input variables. For each variable, fuzzy sets that characterize it are expressed and a membership function is constructed for each fuzzy set. Afterward, rules that connect the output and input variables with the corresponding fuzzy sets are defined. The computational evaluation of a fuzzy inference system comprises fuzzification (building output variables that define a study), inferencing (applying fuzzy reasoning to fuzzy output data), and defuzzification (translating a linguistic value into a numerical value). Fuzzy reasoning can be obtained directly or indirectly.
In the listed works, we did not find the development of fuzzy logical algorithms for diagnosing diseases in cattle. In our research, we studied the prediction of the state of diseases of osteodystrophy, secondary acute dystrophy, ketosis, and hypomicroelementosis and built a model for predicting these diseases in cattle using fuzzy set theory and a new theory of neutrosophic fuzzy sets.
In this article, based on 17 traits of cattle, membership functions will be built to diagnose the state of the diseases.
Based on laboratory data, the algorithm for constructing a fuzzy Sugeno model was improved for diagnosing diseases in cattle. In our proposed models, each input variable was calculated with its own membership functions with a fuzzy term (H, C, and B) used in the fuzzy inference equations of the Sugeno model. This will allow for determining the type of disease in cattle and performing an accurate diagnosis.
The paper is structured as follows. In
Section 2, the materials and methods were analyzed. In
Section 3, the informative features have been developed in the prediction of cattle diseases, whereas
Section 4 introduced an Algorithm for constructing a fuzzy Sugeno model. The obtained results are described in
Section 5. In
Section 6, a discussion of the results is reported, as well as a comparison of the proposed solution with similar ones. Finally, conclusions are drawn in
Section 7.
2. Materials and Methods
Our main tasks are to solve the problems of assessing the state of diagnostic models and highlighting which classification class the set of features belongs to. Such tasks are considered actual qualifying tasks of diagnostics.
The methods of fuzzy set theory and fuzzy logic are considered as an approach to the creation of an expert system that is capable of performing diagnostics taking into account data fuzziness. To date, there are a number of studies on medical systems that use fuzzy inferences. In most expert systems, confidence coefficients are used to represent the unreliability of information and are presented in the same way as in the system for diagnosing infectious diseases. This system contains about 450 rules that were developed with the help of the infectious disease group from Stanford University.
The complexity of a class structure, the vagueness of defined boundaries, and the significant overlapping areas cause doubt in the analysis of expert data in the field of veterinary medicine. The insufficiency of laboratory data significantly complicates the solution to the problem of complex systems for diagnosing cattle.
Scholars have shown that inference decision-making technologies of fuzzy sets have proven themselves well in diagnostic problems [
14,
15,
16,
17,
18,
19,
20,
21].
The difficulty in selecting the structural type and parameters of fuzzy decision rules is the main problem in the practical application of the task of the model of diagnosing cattle. The main part of this problem can be solved using a Sugeno fuzzy inference system [
16,
17,
18]. Some fuzzy inference algorithms are the Mamdani algorithm, Sugeno algorithm, and ANFIS—adaptive fuzzy inference system (Adaptive-Network-Based Fuzzy Inference System).
When solving practical problems, the Mamdani algorithm is the most popular. Its popularity is due to its greater simplicity compared to other models.
A comparison of Sugeno and Mamdani fuzzy inference models shows that their difference lies in the knowledge base format and the defuzzification stage.
The main difference between such systems is that the Sugeno system produces a clear (quantitative) result in the form of a linear function value, while the Mamdani system produces a qualitative result (a fuzzy variable) [
19,
20]. If the Sugeno system is used as a mechanism for calculating a clear value, then the Mamdani algorithm can be used for linguistic analysis of the result [
21].
The ANFIS network is a five-layer artificial neural network of direct signal propagation that uses the implementation algorithm.
The evaluation of a model using the theory of fuzzy sets is performed by polling an expert system and by developing a fuzzy rule “if… then….”. In this case, an expert is provided with sets of known values of input linguistic parameters suitable for diagnosis in some cases [
22,
23].
The following conditions must be met:
1. There is at least one rule for every linguistic term of the outgoing variable;
2. For any term unwanted variable, there is at least one rule that uses that term as a precondition (left side of the rule).
Otherwise, there will be an incomplete database of undefined rules. Suppose there are m rules in the database that look similar to this:
R1: IF x1, is A11… AND… xn is A1n, THEN Y is B1
…
Ri: IF x1, is Ai1… AND… xn is Ain, THEN Y is Bi
…
Rm: IF x1, is Ai1… AND… xn is Amn, THEN Y is Bm,
Here, xk, k = 1…n are input variables; y—output variables; and Aik—fuzzy sets with membership function.
The construction of fuzzy logical inference is intended for the transition of input variables to output variables using a fuzzy knowledge base according to the following scheme, as shown in
Figure 1 [
23]:
The fuzzy inference mechanism used in various types of expert and control systems has a knowledge base formed by domain experts in the form of a set of fuzzy predicate rules of the following type:
1. Fuzziness (introduction of fuzziness, fuzzification). The membership functions defined for the input variables are applied to their true values to determine the truth level of each rule hypothesis.
2. Logical conclusion. The computed truth value for the assumptions of each rule is applied to the conclusion of each rule. This results in each summary variable for each rule are assigned to one fuzzy subset. Only min (minimum) or (multip) operations are usually used as inference rules. In the minimum logical conclusion, the inference relevance function is “cut off” at a height corresponding to the computed truth level of the rule’s assumptions (“AND” of fuzzy logic).
3. Composition. (In all rules), all fuzzy subsets assigned to each output variable are combined to form one fuzzy subset for each output variable. In such a combination, the max or sum operation is usually used. In the maximum composition, the combined output of a fuzzy subset is constructed as a point maximum over all fuzzy subsets (fuzzy logic “OR”).
4. In the conclusion (addition)—clarification (defuzzification) is used in cases where it is useful to change the form of a fuzzy set of conclusions to a clear figure. There are a large number of clarification methods, some of which are discussed below.
The Developed Steps for Diagnosing Diseases in Cattle
The developed functional diagram for diagnosing diseases in cattle is presented in
Figure 2.
In the first block, trait data for cattle diseases are entered, which are divided into classes.
In the second block, data with signs of cattle diseases are normalized and scaled.
On the third block, the fuzzy action of fuzzification and the construction of a knowledge base of fuzzy logic are carried out.
On the fourth block, the t-norm is calculated.
On the fifth block, the Sugeno matrix of the model for assessing the parameters of diagnosing diseases in cattle was calculated.
On the sixth block, the intermediate values of the Sugeno model for diagnosing diseases in cattle was calculated.
On the seventh block of building, the Sugeno model for diagnosing diseases in cattle was calculated.
On the last block, there is a classification cycle to which class the objects belong.
Based on the capabilities of veterinary diagnostic and prognostic tasks, it is appropriate to create decision rules as standard decision modules that are available in the nodes of the network system. The size of tasks solved by one mechanism is good if they are associated with the technological process of a single solution. For example, this applies for the processes of performing an inaccurate diagnosis according to the examination of a veterinarian; the process of determining the diagnosis with the evaluation of standard studies; the process of determining the diagnosis with the evaluation of data from special computer studies; etc.
3. Formation of Informative Features in the Prediction of Cattle Diseases
Ketosis, osteodystrophy, secondary osteodystrophy, and hypomicroelementosis in cattle were used as clinical indications (morphochemical and rumen contents) of non-communicable diseases in the creation of the membership function. The parameters used to evaluate the prevalence of non-contagious illnesses in cattle have been built into membership functions.
On the basis of these 17 traits of cattle, the duties of evaluating, categorizing, and predicting the sickness are resolved in this instance. The outcomes of a cow diagnosis can be categorized in the following ways, per established veterinary clinical practice:
One minute pulse in cattle. We determine the membership function in the form of a triangle: the change in pulse per minute in cattle.
The membership function is determined by the above formula; it is from 50 to 65 times per minute, from 65 to 80 times per minute, and 0 for up to 50 times per minute and more than 80 times per minute. An increase in the pulse per minute in cattle is the diagnosis of secondary osteodystrophy.
Breath in one minute. We determine the membership function using the breathing per minute in cattle.
The membership function is determined by the above formula; it is from 12 to 18.5 times per minute, from 18.5 to 25 times per minute, and 0 for up to 12 times per minute and above 25 times per minute. A sign of an increase in breathing per minute is the diagnosis of ketosis and secondary osteodystrophy.
Rumination in two minutes in cattle. We determine the membership function using the change in rumination for two minutes in cattle.
The membership function is determined by the above formula; it is from 3 to 4 times in two minutes, from 4 to 5 times in two minutes, and 0 for up to 3 times in two minutes and above 5 times in two minutes. An increase in rumination for two minutes in cattle is the diagnosis of secondary osteodystrophy and ketosis.
- (b)
Morphobiochemical factors
Erythrocyte. We determined the membership function using the blood analysis of the erythrocyte index in cattle.
The membership function is determined using the above formula; it is from 5 to 6.2 million/μL, from 6.2 to 7.5 million/µL, and 0 for up to 5 million/μL and above 7.5 million/μL. A decrease in the erythrocyte rate in the blood by 16%–33% in cattle is the diagnosis of osteodystrophy and hypomicroelementosis.
Hemoglobin method (Sali’s Hemometer). We determine the membership function using the hemoglobin method (Sali’s Hemometer) in cattle.
The membership function is determined by the above formula; it is from 99 to 114 g/L, from 114 to 129 g/L, and 0 for up to 99 g/L and above 129 g/L. A decrease in the hemoglobin concentration of cattle by 13–15% is the diagnosis of ketosis and secondary osteodystrophy.
Total protein (using the refractometry method). Total urine protein in cattle. We determine the membership function using the change in urine protein in cattle.
The membership function is determined by the above formula; it is from 68.8 to 73.4 g/L, from 73.4 to 78.6 g/L, and 0 for up to 68.3 g/L and above 78.6 g/L. A decrease in the total protein in cattle by 21–75% is the diagnosis of secondary osteodystrophy, whereas an increase in the total protein by 86% is the diagnosis of ketosis.
Total calcium (Vigev. Karakashov’s method). We determine the membership function using the changes in calcium in cattle.
The membership function is determined using the above formula; it is
from 2.5 to 2.8 mmol/L,
from 2.8 to 3.13 mmol/L, and 0 for up to 2.5 mmol/L and above 3.13 mmol/L. A decrease in the total calcium in the blood serum of cattle is the diagnosis of secondary osteodystrophy [
24,
25].
The organic phosphorus (pulse method by V.F. Kromyslov and modification by L.A. Kudryatsev). We determine the membership function using the organic phosphorus amount in cattle.
The membership function is determined using the above formula; it is from 1.45 to 1.60 mmol/L, from 1.60 to 1.94 mmol/L, and 0 for up to 1.45 mmol/L and above 1.94 mmol/L. A small amount of organic phosphorus in the blood serum of cattle is used to diagnose osteodystrophy and secondary osteodystrophy.
Glucose (color reaction with orthotoluidine). We determine the membership function using the blood glucose amount in cattle.
The membership function is determined using the above formula; it is from 2.5 to 2.7 mmol/L, from 2.7 to 3.3 mmol/L, and 0 for up to 2.2 mmol/L and above 3.3 mmol/L. A low amount of glucose in the blood of cattle is low is used in the diagnosis of ketosis.
Reserve alkali (I.P. Kondrakhin’s method). We determine the membership function using the type of triangle: a change in the reserve alkali in cattle.
The membership function is determined using the above formula; it is from 44 to 55, from 55 to 66, and 0 for up to 44 and above 66. A significantly low amount of alkaline reserve in the blood serum of cattle is used in the diagnosis of secondary osteodystrophy and ketosis.
Copper. We determine the membership function using the change in the amount of copper in the blood of cattle.
The membership function is determined using the above formula; it is from 14.1 to 15.7 mmol/L, from 15.7 to 17.3 mmol/L, and 0 for up to 14.1 mmol/L and above 17.3 mmol/L. A decrease in the amount of copper in the blood of cattle is used in the diagnosis of osteodystrophy and hypomicroelementosis.
Cobalt. We determine the membership function using the change in cobalt in the blood of cattle.
The membership function is determined using the above formula; it is from 0.51 to 0.68 mmol/L, from 0.68 to 0.85 mmol/L, and 0 for up to 0.51 mmol/L and above 0.85 mmol/L. A decrease in the amount of cobalt in the blood of cattle by 12% is used in the diagnosis of osteodystrophy and hypomicroelementosis.
Manganese. We determined the membership function using the change in the amount of manganese in the blood of cattle.
The membership function is determined using the above formula; it is from 2.73 to 3.64 mmol/L, from 3.64 to 4.55 mmol/L, and 0 for up to 2.73 mmol/L and above 4.55 mmol/L. A decrease in the amount of manganese in the blood of cattle is used in the diagnosis of osteodystrophy and hypomicroelementosis.
Zinc. We determine the membership function using the change in zinc in the blood of cattle.
The membership function is determined using the above formula; it is from 46.2 to 61.6 mmol/L, from 61.6 to 77.0 mmol/L, and 0 for up to 46.2 mmol/L and above 77.0 mmol/L. A decrease in the amount of zinc in the blood of cattle by 25–33% is used in the diagnosis of osteodystrophy and hypomicroelementosis.
- (c)
The scope of the scar
The number of ciliates in the rumen 1000/mL. The number of ciliates in the rumen 1000/mL cattle.
The membership function is determined using the above formula; it is from 552 to 595, from 595 to 638, and 0 for up to 552 and above 638. A decrease in the number of ciliates in the rumen by 300 ± 45 is used in the diagnosis of ketosis and hypomicroelementosis.
Rumen fluid medium (Rameter). We determine the membership function using the state of ruminal fluid in cattle.
The membership function is determined using the above formula; it is from 6.5 to 7, from 7 to 7.5 mmol/L, and 0 for up to 6.5 and above 7.5. A decrease in the ruminal fluid status is used in the diagnosis of ketosis and secondary osteodystrophy.
4. Algorithm for Constructing a Fuzzy Sugeno Model
The etiology of secondary osteodystrophy, osteodystrophy, ketosis, and hypomicroelementosis using a prognostic model in veterinary practice causes it to be possible to optimize veterinary and sanitary work in the Samarkand region. The knowledge of existing experimental data causes it to be possible to increase the adequacy of a fuzzy expert system by considering the development of an algorithm for constructing the Sugeno fuzzy model.
This algorithm differs from other algorithms in that the confirming part of the rules does not use linguistic variables but linear expressions. Because of this, not all defuzzification methods are suitable for the algorithm. Sugeno’s [
18] algorithm is more precise than Mamdani’s [
24,
25,
26,
27], which is sometimes difficult to implement.
The application of the Sugeno algorithm in constructing a fuzzy logical model for diagnosing diseases in cattle is used when linear expressions are known rather than the form of the output parameter correspondence function, each coefficient of the linear expression represents how each symptom of the disease affects when performing a diagnosis.
Unlike Mamdani’s algorithm, the rules containing disjunctions in the left parts of implications are not used. The advantages of the Sugeno algorithm lie in the lower labor intensity of calculations based on it, as well as in the ability to model very complex systems, the adequate description of which using the Mamdani scheme is almost impossible due to the extremely large number of emerging relationships between fuzzy parameters.
An algorithm for constructing a fuzzy Sugeno model is proposed (
Figure 3).
Step 1. The selection of experimental data, , where –input vector in pair, and is the advisory output.
Step 2. Normalization and scaling
where
is the number of terms.
Step 3. Fuzzification,
, where
,
,
.
where
is the number of rows and
is the number of columns,
.
Step 4. Calculation of -norm , where is the number of rows and is the number of columns, .
Step 5. Calculation of -conorm, , where is the number of rows and is the number of diseases, .
Step 6. Matrix calculation
Step 7. Compilation of the matrix
,
Step 8. Matrix transposition .
Step 9. Calculation of .
Step 10. Inverse matrix calculation .
Step 11. Vector calculations
.
Step 12. Building the Sugeno model.
Step 13. Checking the adequacy of the model.
Step 14. The end.
The membership functions of fuzzy terms used in this knowledge base were chosen by an expert.
Based on the proposed Sugeno fuzzy algorithm, a diagnostic program was created and a model for diagnosing diseases in cattle was developed [
28,
29,
30].
5. Results
The application of signs or confidence levels can be shown using the following FL knowledge base for diagnosing diseases in cattle [
31,
32].
In the constructed fuzzy logical model for diagnosing diseases in cattle, a fuzzy classifier is used, which is a base of fuzzy rules.
The interpretability index characterizes the legibility and comprehensibility of terms, such as, for example, “if temperature is average, Pulse in one minute is high, Respiration in one minute is average, Rumination in two minutes is low, Red blood cell count is average, Hemoglobin is low, Total protein—medium, Total calcium—medium, Organic phosphorus—medium, Glucose—high, Reserve alkali—high, copper—medium, Cobalt—medium, Manganese—low, Zinc—low, The amount of ciliates in the rumen—medium, Condition of the scar fluid—low then cattle suffer from disease Etiology of secondary osteodystrophy”. The certifying part of the rules does not use linguistic variables but linear expressions, with each coefficient of the linear expression representing how each symptom of the disease affects the diagnosis.
To evaluate the linguistic values of the input parameters, the H-low level, B-high level, and C-medium level quantifiers were used.
The Sugeno FL model was built for diagnosing diseases in cattle from 17 main factors.
: Temperature, °C;
: Pulse, per minute;
: Breath, per minute;
: Rumination, per two minutes;
: Number of erythrocytes mln/µL;
: Hemoglobin, g/L (Sali’s Hemometer);
: Total protein, g/L (by refractometry);
: Total calcium, mmol/L (Vigev Karakashov’s method);
: Organic phosphorous, mmol/L (pulse method by V.F. Kromyslov and modified by L.A. Kudryatsev);
: Glucose, mmol/L (color reaction with orthotoluidine);
: Reserve alkali (), % (I.P. Kondrakhin’s method);
: Copper, mmol/L;
: Cobalt, mmol/L;
: Manganese, mmol/L;
: Zinc, mmol/L;
: The number of ciliates in the rumen 1000/mL;
: Condition of cicatricial fluid (Rameter).
The FL model for diagnosing diseases in cattle is as follows [
30].
Similar certainties are expressed in term sets, that is, in the form of linguistic truth values, among which one can single out the H-low level, B-high level, C-middle level, etc.
If the following conditions are true, then is calculated as follows:
IF ( = C and = B and = C and = H and = C and = H and = C and = C = C and = B and = B and = C and = C and = H and = H and = C and = H);
Or IF ( = H and = C and = C and = H and = C and = B and = C and = C and = B and = C and = C and = C and = C and = B and = C and = B and = C);
Or IF ( = B and = C and = C and = H and = B and = C and = B and = B and = H and = C and = C and = B and = B and = H and = B and = B and = C);
Or IF ( = B and = C and = B and = C and = B and = H and = H and = B and = C and = C and = H and = B and = B and = H and = C and = H and = C);
Or IF ( = C and = C and = C and = C and = B and = C and = B and = H and = B and = C and = H and = B and = C and = C and = B and = C and = B)
Here, is output, which means the disease osteodystrophy.
is determined as follows if the following statements are true:
IF ( = H and = B and = C and = H and = C and = H and = C and = H and = C and = H and = C and = C and = H and = C and = C and = B);
Or IF ( = B and = C and = C and = B and = B and = B and = C and = C and = C and = C and = H and = B and = B and = H and = C and = B and = C);
Or IF ( = B and = C and = H and = C and = C and = H and = B and = C and = C and = C and = C and = B and = C and = B and = B and = C and = H);
Or IF ( = C and = H and = B and = C and = C and = H and = B and = C and = C and = C and = C and = B and = C and = B and = B and = C and = H);
Or IF ( = B and = C and = C and = C and = H and = C and = H and = C and = B and = C and = B and = C and = B and = B and = B and = C and = B)
Here, means secondary osteodystrophy.
The presented methodology for constructing a Sugeno FL model and the use of neutrosophic fuzzy sets in solving problems of diagnosing diseases in cattle is one of the modern specializations in the field of AI and is aimed at creating methods for solving problems in many fields of knowledge, bringing computational solutions closer to human solutions.
An algorithm for fuzzy inference is developed and the dependence of parameters is considered. To fully introduce fuzzy information, we developed a fuzzy algorithm that uses fuzzy arithmetic in fuzzy inference, which will yield the least loss of information comprising uncertainties in a computational experiment [
33,
34,
35,
36].
The results of a computational experiment using our developed diagnostic program based on a fuzzy rule for classifying, evaluating, and predicting the states of weakly formalized processes are presented.
The problems of classification and evaluation are solved with the help of the developed program; a comparative analysis is performed between the results of the proposed algorithm and some existing algorithms.
6. Discussion
As a result, the classification errors from 2% to 14% were observed during the classification process. When this issue was resolved based on the Sugeno FL model, the level of error in it became much larger.
Table 1 shows the results obtained at different levels based on the proposed Sugeno model and the method of group accounting for arguments and the mathematical model of E. Shortleaf. The results show the high efficiency of decision-making algorithms for predicting, classifying, and measuring weakly formalized processes described using fuzzy models [
28,
29].
For comparative analysis, well-known model problems are used, located at the electronic address:
http://www.ics.uci.edu/~mlearn/databases/. These include the following tasks: Ecoli Data Set, Hepatitis C Virus (HCV) for Egyptian patients, and Breast Cancer Coimbra task.
Table 2 shows the parameters of the listed tasks and the proposed task below.
Table 3 shows comparative analysis of the proposed model with other databases.
The membership functions of fuzzy terms used in the fuzzy knowledge base chosen by experts are shown in
Figure 4.
The membership functions of fuzzy terms after training are shown in
Figure 4.
From
Figure 5, as a result of training the neuro-fuzzy network, the parameters with the membership function have undergone the greatest changes:
whereas other parameters remained virtually unchanged. This is explained by the fact that, when forming the fuzzy knowledge base, the expert quite accurately indicated the positions of the maxima of the membership functions (parameters b). The expert’s choice of large values of parameter c indicates significant uncertainty in the evaluation of fuzzy terms. Decreasing the values of parameter c while learning caused a “concentration” (compression) of membership functions, which indicates the removal of uncertainty in the estimates of fuzzy terms.
Thus, a method for representing linguistic knowledge about the object of identification is considered.
The obtained results show that our program can be used in forecasting, diagnostics, situational management, multivariate analysis, automatic classification, and other tasks of expert information processing.
7. Conclusions
The following conclusions were drawn from the conducted research:
The membership functions of the parameters for diagnosing the state of disease in cattle were built based on 17 signs.
The algorithm for creating a fuzzy Sugeno model for diagnosing diseases in cattle, based on laboratory data, is developed. Each input variable in our suggested models was computed using its own membership functions together with a fuzzy term (H, C, or B) employed in the Sugeno model’s fuzzy inference equations. This will enable identifying the disease’s type in cattle and providing a precise diagnosis.
As a result of our analysis, a fuzzy inference decision rule for diagnosing diseases in cattle was developed. This caused it to be possible to develop algorithms for constructing an FL model using the results of the experimental tests performed on cattle.
Based on the expert system, a Sugeno fuzzy logical model was built for diagnosing diseases in cattle. The analysis of the adequacy of the results obtained using the fuzzy Sugeno model was carried out. The analysis showed that the result obtained using the Sugeno model provides a diagnosis error of 2%.
Some limitations were noted during the study. When solving the problems of building a model for diagnosing diseases in cattle, the number of adjustable parameters is less than the volume of the data sample , so the equation does not have an exact solution. In this case, the solution can be found using the pseudo-inversion of the matrix However, the problems of finding a solution to this are related to the possible singularity of the matrix . In future studies, we will continue to solve this problem.
Future tasks include increasing the accuracy of the method and developing a small real-time model with reliable cattle disease detection performance using AI-based [
37,
38,
39,
40,
41,
42] and computer vision approaches [
43,
44,
45,
46,
47,
48,
49].