| Literature DB >> 35590819 |
Tiago S Ferreira1, Ewaldo E C Santana1, Antônio F L Jacob Junior1, Paulo F Silva Junior1, Luciana S Bastos2, Ana L A Silva2, Solange A Melo3, Carlos A M Cruz4, Vivianne S Aquino4, Luís S O Castro4, Guilherme O Lima5, Raimundo C S Freire6.
Abstract
Proposal techniques that reduce financial costs in the diagnosis and treatment of animal diseases are welcome. This work uses some machine learning techniques to classify whether or not cases of canine visceral leishmaniasis are present by physical examinations. For validation of the method, four machine learning models were chosen: K-nearest neighbor, Naïve Bayes, support vector machine and logistic regression models. The tests were performed on three hundred and forty dogs, using eighteen characteristics of the animal and the ELISA (enzyme-linked immunosorbent assay) serological test as validation. Logistic regression achieved the best metrics: Accuracy of 75%, sensitivity of 84%, specificity of 67%, a positive likelihood ratio of 2.53 and a negative likelihood ratio of 0.23, showing a positive relationship in the evaluation between the true positives and rejecting the cases of false negatives.Entities:
Keywords: canine visceral leishmaniasis; classification; logistic regression; machine learning
Mesh:
Year: 2022 PMID: 35590819 PMCID: PMC9105265 DOI: 10.3390/s22093128
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Descriptive statistics and univariable associations of features included in machine learning prediction of the canine visceral leishmaniasis (cases: n = 177; non-cases: n = 163).
| Variable | Category | Non-Cases | Cases | |
|---|---|---|---|---|
| Sex | Female | 74 | 74 | 0.505 |
| Male | 89 | 103 | ||
| Age (months) | Mean/standard deviation | 34.39/30.8 | 44.03/36.45 | 0.009 |
| Condition | Apathetic | 19 | 27 | 0.346 |
| Active | 144 | 150 | ||
| Presence of ectoparasites | No | 127 | 151 | 0.078 |
| Yes | 36 | 26 | ||
| Nutrition | Normal | 119 | 113 | 0.058 |
| Thin | 41 | 53 | ||
| Skinny | 3 | 11 | ||
| Lymph nodes | Normal | 25 | 27 | 0.983 |
| Enlarged | 138 | 150 | ||
| Mucosal color | Normal | 121 | 123 | 0.332 |
| Pale | 42 | 54 | ||
| Bleeding | No | 156 | 162 | 0.118 |
| Yes | 7 | 15 | ||
| Coat | Normal | 87 | 65 | 0.007 |
| Regular | 44 | 70 | ||
| Bad | 32 | 42 | ||
| Muzzle and/or ear injury | No | 133 | 118 | 0.002 |
| Yes | 30 | 177 | ||
| Nails | Augmented | 127 | 100 | <0.001 |
| onychogryphosis | 36 | 77 | ||
| Presence of skin lesion | No | 153 | 161 | 0.314 |
| Yes | 10 | 16 | ||
| Depigmentation | No | 162 | 177 | 0.479 |
| Yes | 1 | 0 | ||
| Alopecia | No | 116 | 89 | <0.001 |
| Yes | 47 | 88 | ||
| Eye secretion | No | 159 | 166 | 0.115 |
| Yes | 4 | 11 | ||
| Blepharitis | No | 145 | 157 | 0.94 |
| Yes | 18 | 20 | ||
| Proximity to the forest | No | 77 | 141 | <0.001 |
| Yes | 86 | 36 |
Figure 1Region of Maranhão, Brazil, where the data were collected.
Indications of the confusion matrix.
| Predicted as Negative | Predicted as Positive | |
|---|---|---|
| Labeled as Negative | True Negative (TN) | False Positive (FP) |
| Labeled as Positive | False Negative (FN) | True Positive (TP) |
Test Metrics of the models tested. One can see that LR got the best metrics.
| NB | KNN | SVM | LR | |
|---|---|---|---|---|
| Accuracy | 0.63 | 0.63 | 0.69 | 0.75 |
| Sensitivity (Recall) | 0.56 | 0.56 | 0.84 | 0.84 |
| Specificity | 0.69 | 0.69 | 0.56 | 0.67 |
| Positive Predictive Value | 0.62 | 0.62 | 0.63 | 0.69 |
| Negative Predictive Value | 0.64 | 0.64 | 0.80 | 0.83 |
| LR+ | 1.84 | 1.84 | 1.90 | 2.53 |
| LR− | 0.63 | 0.63 | 0.28 | 0.23 |
| AUROC | 0.71 | 0.71 | 0.70 | 0.77 |
Figure 2ROC curve for applying the LR model on the test set.
Confusion matrix.
| Predicted as Negative | Predicted as Positive | |
|---|---|---|
| Labeled as Negative | 24 | 12 |
| Labeled as Positive | 5 | 27 |
Frequency of the variables for the false negatives samples.
| Variable | Category | Frequency (%) |
|---|---|---|
| Sex | Female | 20 |
| Male | 80 | |
| Presence of ectoparasites | No | 80 |
| Yes | 20 | |
| Nutrition | Normal | 60 |
| Thin | 40 | |
| Skinny | 0 | |
| Lymph nodes | Normal | 20 |
| Enlarged | 80 | |
| Mucosal color | Normal | 100 |
| Pale | 0 | |
| Bleeding | No | 100 |
| Yes | 0 | |
| Coat | Normal | 20 |
| Regular | 60 | |
| Bad | 20 | |
| Muzzle and/or ear injury | No | 80 |
| Yes | 20 | |
| Nails | Augmented | 100 |
| onychogryphosis | 0 | |
| Presence of skin lesion | No | 100 |
| Yes | 0 | |
| Alopecia | No | 80 |
| Yes | 20 | |
| Eye secretion | No | 100 |
| Yes | 0 | |
| Blepharitis | No | 100 |
| Yes | 0 | |
| Proximity to the forest | No | 20 |
| Yes | 80 |
Frequency of the variables for the false positive samples.
| Variable | Category | Frequency (%) |
|---|---|---|
| Sex | Female | 58 |
| Male | 42 | |
| Presence of ectoparasites | No | 0.92 |
| Yes | 0.08 | |
| Nutrition | Normal | 83 |
| Thin | 17 | |
| Skinny | 0 | |
| Lymph nodes | Normal | 8 |
| Enlarged | 92 | |
| Mucosal color | Normal | 75 |
| Pale | 25 | |
| Bleeding | No | 100 |
| Yes | 0 | |
| Coat | Normal | 50 |
| Regular | 30 | |
| Bad | 20 | |
| Muzzle and/or ear injury | No | 83 |
| Yes | 17 | |
| Nails | Augmented | 58 |
| onychogryphosis | 42 | |
| Presence of skin lesion | No | 83 |
| Yes | 17 | |
| Alopecia | No | 42 |
| Yes | 58 | |
| Eye secretion | No | 100 |
| Yes | 0 | |
| Blepharitis | No | 92 |
| Yes | 8 | |
| Proximity to the forest | No | 92 |
| Yes | 8 |
Frequency of the variables for the true negatives samples.
| Variable | Category | Frequency (%) |
|---|---|---|
| Sex | Female | 42 |
| Male | 58 | |
| Presence of ectoparasites | No | 75 |
| Yes | 25 | |
| Nutrition | Normal | 83 |
| Thin | 17 | |
| Skinny | 0 | |
| Lymph nodes | Normal | 8 |
| Enlarged | 92 | |
| Mucosal color | Normal | 67 |
| Pale | 33 | |
| Bleeding | No | 92 |
| Yes | 8 | |
| Coat | Normal | 62 |
| Regular | 21 | |
| Bad | 17 | |
| Muzzle and/or ear injury | No | 96 |
| Yes | 4 | |
| Nails | Augmented | 96 |
| onychogryphosis | 4 | |
| Presence of skin lesion | No | 0 |
| Yes | 100 | |
| Alopecia | No | 92 |
| Yes | 8 | |
| Eye secretion | No | 100 |
| Yes | 0 | |
| Blepharitis | No | 96 |
| Yes | 4 | |
| Proximity to the forest | No | 21 |
| Yes | 79 |
Frequency of the variables for the true positive samples.
| Variable | Category | Frequency (%) |
|---|---|---|
| Sex | Female | 30 |
| Male | 70 | |
| Presence of ectoparasites | No | 93 |
| Yes | 7 | |
| Nutrition | Normal | 67 |
| Thin | 22 | |
| Skinny | 11 | |
| Lymph nodes | Normal | 12 |
| Enlarged | 88 | |
| Mucosal color | Normal | 63 |
| Pale | 37 | |
| Bleeding | No | 89 |
| Yes | 11 | |
| Coat | Normal | 26 |
| Regular | 37 | |
| Bad | 37 | |
| Muzzle and/or ear injury | No | 63 |
| Yes | 37 | |
| Nails | Augmented | 44 |
| onychogryphosis | 56 | |
| Presence of skin lesion | No | 85 |
| Yes | 15 | |
| Alopecia | No | 40 |
| Yes | 60 | |
| Eye secretion | No | 85 |
| Yes | 15 | |
| Blepharitis | No | 93 |
| Yes | 7 | |
| Proximity to the forest | No | 97 |
| Yes | 3 |