针对现有跌倒检测算法由于缺乏真实老人跌倒样本以及使用年轻人仿真跌倒样本规模较小导致的过拟合和适应性不足等问题,提出了基于随机森林的跌倒检测算法。该算法采用滑动窗口机制,对窗口内的加速度数据进行时间域和变换域处理,提取时间域和变换域特征参数后,在所有样本集中进行有放回的Bootstrap随机抽样和属性随机选择,构建多个基于最佳属性分割的支持向量机(SVM)基本分类器。在线跌倒检测阶段,对多个SVM基本分类器的分类结果采用少数服从多数的原则,给出最终判定结果。实验表明,随机森林跌倒检测算法可获得95.2%的准确率、90.6%的敏感度和93.5%的特异性,明显优于基于SVM和反向传播(BP)神经网络跌倒检测算法,反映出随机森林跌倒检测算法能更准确地检测跌倒行为,具有较强的泛化能力和鲁棒性。
To handle the over fitting and inadaptability problem of current fall detection algorithms caused by lack of real fall samples of elderly people and the use of small size of fall samples collected by young people, a fall detection algorithm based on random forest was proposed. By adopting sliding window mechanism, the sequentially collected acceleration data within the window were firstly processed to extract feature parameters of time domain and frequency domain, and then the Bootstrap approach was employed to randomly select partial samples with the same number from the whole training sample collection, after that random selection of features was performed to construct a collection of basic SVM (Support Vector Machine) classifiers with best feature partition. On the online fall detection stage, the final classification result was obtained with vote of results by multiple basic SVM classifiers according to the majority criteria. The experimental results demonstrate that the proposed algorithm outperforms the SVM and BP ( Back Propagation) neural network algorithms with 95.2% accuracy, 90.6% sensitivity and 93.5% specificity, and reflects that the fall detection algorithm based on random forest can accurately recognize the fall activity, and has strong generalization ability and robustness.