Research Article
A Novel Stress State Assessment Method for College Students Based on EEG
| Input: Training set X, test set X’ | | Output: Classification evaluation index value | | Step 1: Initialize the weight W1 using equations (9)-(10) | | Step 2: For i = 1 : M | | Step 3: Train base classifier on Wi | | Step 4: Calculate the overall error rate for all markers using equation (11) | | Step 5: When the weighted error is greater than 0.5, update all sample weights using equation (13), otherwise the loop stops | | Step 6: Calculate the weights of the base classifier using equation (14) | | Step 7: Calculate the class label of the test sample | | Step 8: Calculate the evaluation index value according to the evaluation index calculation formula |
|