Table 6 Complexity analysis of model.

From: Optimizing brain stroke detection with a weighted voting ensemble machine learning model

Model

Time complexity

Space complexity

Training time (s)

Memory usage (Bytes)

Random forest

\(O(n.d.t)\)

\(O(n.d)\)

2

4848

XGBoost

\(O(n.d.t)\)

\(O(n.d)\)

2

96