{'fraction_non_alphanumeric': 0.02565668906536347, 'fraction_numerical': 0.002443494196701283, 'mean_word_length': 5.448818897637795, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Human Defecation Prediction Method Based on Multi-Domain Features and Improved Support Vector Machine

The difficulty of defecation seriously affects the quality of life of the bedridden elderly. To solve the problem that it is difficult to know the defecation time of the bedridden elderly, this paper proposed a human pre-defecation prediction method based on multi-domain features and improved support vector machine (SVM) using bowel sound as the original signal. The method includes three stages: multi-domain features extraction, feature optimization, and defecation prediction. In the stage of multi-domain features extraction, statistical analysis, fast Fourier transform (FFT), and wavelet packet transform are used to extract feature information in the time domain, frequency domain, and time-frequency domain. The symmetry of the bowel sound signal in the time domain, frequency domain, and time-frequency domain will change when the human has the urge to defecate. In the feature optimization stage, the Fisher Score (FS) algorithm is introduced to select meaningful and sensitive features according to the importance of each feature, aiming to remove redundant information and improve computational efficiency. In the stage of defecation prediction, SVM is optimized by the gray wolf optimization (GWO) algorithm to realize human defecation prediction. Finally, experimental analysis of the bowel sound data collected during the study is carried out. The experimental result shows that the proposed method could achieve an accuracy of 92.86% in defecation prediction, which proves the effectiveness of the proposed method.