Research Article

An Automatic Epilepsy Detection Method Based on Improved Inductive Transfer Learning

Algorithm 1

The description of the DLSR algorithm.
The description of DLSR
Input:
The training samples , and their corresponding class labels , where . The maximum number of iterations is .
Output:
The mapping matrix and the translation vector .
Training:
Step 1: Construct the label matrix and the indicator matrix , respectively.
Step 2: Get the value of by grid searching in the set of {10-4, 10-3, 10-2, 10-1, 100, 10, 102}.
Step 3: Initialize . Set .
Step 4: Update Q by .
Repeat
Step 5: Update the label matrix by .
Step 6: Update and by Eqs. (8) and (10).
Step 7: Update the regression error matrix by .
Step 8: Update the label shift matrix by Eq. (14).
Step 9: Let and
Until .
Step 10: Output and .