| Literature DB >> 35741565 |
Abstract
Activity recognition methods often include some hyper-parameters based on experience, which greatly affects their effectiveness in activity recognition. However, the existing hyper-parameter optimization algorithms are mostly for continuous hyper-parameters, and rarely for the optimization of integer hyper-parameters and mixed hyper-parameters. To solve the problem, this paper improved the traditional cuckoo algorithm. The improved algorithm can optimize not only continuous hyper-parameters, but also integer hyper-parameters and mixed hyper-parameters. This paper validated the proposed method with the hyper-parameters in Least Squares Support Vector Machine (LS-SVM) and Long-Short-Term Memory (LSTM), and compared the activity recognition effects before and after optimization on the smart home activity recognition data set. The results show that the improved cuckoo algorithm can effectively improve the performance of the model in activity recognition.Entities:
Keywords: activity recognition; cuckoo optimization algorithm; hyper-parameter
Year: 2022 PMID: 35741565 PMCID: PMC9222960 DOI: 10.3390/e24060845
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.738
Figure 1The traditional CS algorithm flowchart.
Figure 2The prediction errors of the training position with iterates 10, 100 and 1000 times, respectively.
Figure 3Prediction errors at 33 positions before and after optimization, (o) the estimated error of the empirical parameter, (*) the estimated error of the optimized parameter.
Figure 4The schematic diagram of real coordinate position (+), prediction positions without CS optimization (*) and prediction positions with CS optimization (o).
Figure 5The accuracy score before and after continuous hyper-parameters optimization.
Figure 6The accuracy score before and after integer hyper-parameters optimization.
Figure 7The accuracy score before and after mixed hyper-parameters optimization.
The optimized hyper-parameter with different strategies.
| Hyper-Parameters of Adlnormal Dataset | Hyper-Parameters of Kasteren Dataset | |
|---|---|---|
|
| (0.001, 0.9, 128, 200) | (0.001, 0.9, 128, 200) |
|
| (0.00782101, 0.59629055, 128, 200) | (0.00381946, 0.56684786, 128, 200) |
|
| (0.001, 0.9, 253, 491) | (0.001, 0.9, 12, 931) |
|
| (0.00989974980, 0.765867432, 8, 78) | (0.00793324624, 0.758825652, 129, 129) |
|
| (0.00782101, 0.59629055, 253, 491) | (0.00381946, 0.56684786, 12, 931) |
|
| (0.00528674, 0.72591224, 253, 491) | (0.0095465, 0.78940525, 12, 931) |
|
| (0.00782101, 0.59629055, 187, 1) | (0.00381946, 0.56684786, 141, 73) |
|
| (0.00934384542, 0.634805436, 1, 64) | (0.00501521055, 0.97690847, 77, 44) |
Figure 8The activity recognition accuracy of different hyper-parameter optimization strategies for Adlnormal dataset.
Figure 9The activity recognition accuracy of different hyper-parameter optimization strategies for Kasteren Dataset.