Research Article

Ensemble-Based Machine Learning for Predicting Sudden Human Fall Using Health Data

Algorithm 1

Majority Voting Ensemble Algorithm.
Output: Predicted Syncope Value
Initialise:
  MLModels = [LR, DTC, RFC, KNN, SVC, NBC];
  AlgoWeights = [1, 1, 1, 1, 1, 1];
  count = 0;
For data in preProcessedDB:
  outputs = [ ];
  For model in MLModels:
   predictedValue = model.predict(data)
   outputs.append(AlgoWeights[count] ∗ predictedValue)
  SyncopeValue = sum(outputs)/count(MLModels) ∗ 100
  Return SyncopeValue