Data: Text vectorization matrix
, the number of topics (K) |
1 define
list (L) |
2 for each
do
|
3 text classification |
4 define diameter list (L1) |
5 for each
do
|
6 calculate
by Eq. (3)
|
7 L1 append
|
8 end
|
9 define diameter list (L2) |
10 for each
do
|
11 for each
do
|
12 calculate
by Eq. (3)
|
13 calculate
by Eq. (5)
|
14 L2 append
|
15 end
|
16 end
|
17 calculate
by Eq. (6)
|
18 L append
|
19 end
|
20 calculate
by Eq. (7)
|