Algorithm 1 Bag Generation for Multiple Activity Instances |
-
1:
function Bag generation for multiple activity instances
-
2:
Input: Instance of different activities
-
3:
Output: Bag vector
-
4:
-
5:
for
to
do
-
6:
for instance
in
do
-
7:
=
-
8:
end for
-
9:
Create Document Feature
-
10:
Create LDA Feature
-
11:
Horizontal binding vector
-
12:
end for
-
13:
-
14:
Return
-
15:
end function
|