Skip to main content


Figure 6 | BMC Medical Informatics and Decision Making

Figure 6

From: Decision tree-based learning to predict patient controlled analgesia consumption and readjustment

Figure 6

Control flow of data cleaning, sampling, training and prediction. This control flow shows only one run in a k-fold cross validation. One fold of the data is used for testing, and the remaining k-1 folds are used for training. To make prediction consistent with the real class distribution, maintain the original class distribution in the test data and only perform data cleaning on the training data. Repeat the same process on each fold of the data as the test data, and use the rest as the training data.

Back to article page