Skip to main content
. 2022 Aug 31;10:944137. doi: 10.3389/fpubh.2022.944137

Figure 2.

Figure 2

Selection of risk factors of infectious diseases using LASSO regression algorithm. A vertical line was plotted at the given lambda, selected by 10-fold cross-validation with minimum classification error and minimum classification error plus one standard error. For the optimal lambda that gives minimum classification error, 8 features with a non-0 coefficient were selected. (A) LASSO coefficient profiles of the candidate variables. (B) The binomial deviance with 95% CI (y-axis) was plotted against log (lambda) (bottom x-axis), when the number of included variables were changed (upper x-axis). (C) The AUCs with 95% CI (y-axis) were plotted against log (lambda) (bottom x-axis), when the number of included variables were changed (upper x-axis). LASSO, the Least Absolute Shrinkage and Selection Operator; CI, confidence interval; AUC, areas under the curve.