Skip to main content
. Author manuscript; available in PMC: 2022 Dec 19.
Published in final edited form as: Proc ACM Interact Mob Wearable Ubiquitous Technol. 2020 Mar 18;4(1):23. doi: 10.1145/3381001

Fig. 3.

Fig. 3.

Overview of nested cross validation. We set an inner 3-Fold CV to select the best combination of hyper-parameters for training a model in the outer fold. The outer 10-Fold CV is used to evaluate the generalizability of the model. The machine learning algorithm trains the classifier using 90% of data and predicts the rest 10% data for ten times, where each data becomes the validation data once.