Research Article
Human Activity Recognition in AAL Environments Using Random Projections
Pseudocode 1
Pseudocode of FindBestProjection.
ALGORITHM: FindBestProjection | INPUT: data1, data2 – data for class1 and class2 [nxm matrices] | threshold – iterating parameter | OUTPUT: bestProjection | BEGIN | Jaccard = MAXINT; | WHILE (Jaccard > threshold) | generate Random Projection matrix projection | project m-dimensional data1 & data2 into 2D pdata1 & pdata2 | FOREACH dimension of pdata1 & pdata2 | calculate kernel density distributions | calculate Jaccard intersection of pdata1 & pdata2 | END FOREACH | Memorize bestProjection with smallest Jaccard | END | RETURN bestProjection | END |
|