View full-text article in PMC Sensors (Basel). 2024 Jun 9;24(12):3754. doi: 10.3390/s24123754 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 RF-MLP Algorithm for Drowsiness Prediction Require: CSFE Features, TrainedRF, TrainedMLP Ensure: Drowsy, Fresh 1:TRF←TrainedRF 2:TMLP←TrainedMLP 3:for i in Dataset do 4: RFPrediction←TRF(i) 5: MLPPrediction←TMLP(i) 6: HVPred[i]←argmax{RFPrediction,MLPPrediction} 7:end for 8:Output: Drowsy | Fresh ←HVPred