|
Algorithm 1.
Algorithm for inserting and deleting processes of universal incremental LS-SVM. |
| Inserting |
Deleting |
|
Input: , , , , C
|
Input: , ,
|
|
Output:
, ,
|
Output:
, ,
|
| 1 |
|
1 |
|
| 2 |
|
//divide at
pth row and clomn |
2 |
|
//divide at
pth, p + 1st row and clomn |
| 3 |
|
3 |
|
| 4 |
|
4 |
//low-rank update |
| 5 |
|
5 |
|
| 6 |
|
6 |
|
| 7 |
//forward substitution |
7 |
|
| 8 |
|
8 |
|
| 9 |
//low-rank downdate |
|
|
| 10 |
|
|
|
| 11 |
|
//forward substitution |
|
|
| 12 |
|
//forward substitution |
|
|
| 13 |
|
|
|