Skip to main content

Table 5 Predictive capacity of algorithms fit using data undersampled to balance across classes in sampled data

From: Open-source carbon dioxide and volatile organic compound sensing and associations with defecation and urination events in horses

 

Random Forest

Support Vector Machine

Extreme Gradient

 

Other

Defa

Urinea

Other

Defa

Urinea

Other

Defa

Urinea

Predicted

 Other

1768

2

2

2449

14

2

1281

4

0

 Defa

2465

32

3

1748

16

3

3241

31

6

 Urinea

1739

6

2

1775

10

2

1450

5

1

Class Statistics

 Sensitivity

0.29

0.80

0.29

0.41

0.40

0.29

0.21

0.78

0.14

 Specificity

0.91

0.59

0.71

0.66

0.71

0.70

0.91

0.46

0.76

 PPVa

1.00

0.01

0.001

0.994

0.009

0.001

0.997

0.009

0.001

 NPVa

0.01

0.998

0.999

0.009

0.994

0.999

0.009

0.997

0.999

 Accuracy

0.61

0.69

0.50

0.53

0.55

0.49

0.56

0.62

0.45

Overall Statistics

 Accuracy

0.299

  

0.410

  

0218

  

 NIRa

0.992

  

0.992

  

0.992

  
  1. aDefecation (Def) and urination (Urine) events, positive predictive value (PPV), negative predictive value (NPV), and null information rate (NIR)