Table 2 Resubstitution and cross-validation results based on random forest models

From: Simple and accurate genomic classification model for distinguishing between human and pig Staphylococcus aureus

Evaluation indicators

24,761 k-mer predictors

Six k-mer predictors

One k-mer predictor

Resubstitution estimate

Ten-fold cross-validation

Resubstitution estimate

Ten-fold cross-validation

Resubstitution estimate

Ten-fold cross-validation

Accuracy

0.9900

0.9887

0.9912

0.9858

0.9812

0.9812

Sensitivity

0.9858

0.9862

0.9918

0.9844

0.9836

0.9836

Specificity

0.9967

0.9935

0.9903

0.9880

0.9773

0.9772

PPV

0.9980

0.9959

0.9939

0.9925

0.9857

0.9857

NPV

0.9773

0.9771

0.9871

0.9752

0.9741

0.9741

Kappa

0.9788

0.9759

0.9815

0.9700

0.9603

0.9603

  1. PPV positive predictive value, NPV negative predictive value.