Skip to main content
. 2021 May 6;9(5):e22591. doi: 10.2196/22591

Table 1.

Hyperparameters of the machine-learning and deep-learning models.

Model and hyperparameters Value
Decision trees

min_samples_leaf 1

min_samples_split 2
AdaBoost: n_estimators 45
Random forests

min_samples_leaf 1

min_samples_split 2

n_estimators 100
k-nearest neighbor

n_neighbors 3

leaf_size 30

p 2
Deep neural network

fully connected layer 1 45

fully connected layer 2 45