Research Article

Constructing Topic Models of Internet of Things for Information Processing

Algorithm 1

Record entity topic model (RETM).
(1) foreach topic-entity pair ( ) do
(2)  Draw topic-entity distribution
(3) endfor
(4) foreach record do
(5)  Draw entity distribution
(6)  Draw local topic distribution
(7)  Draw background distribution
(8) foreach word do
(9)   Draw
(10)     Draw
(11)  if     then
(12)      Draw
(13)      Draw
(14)  else  Draw
(15)      Draw
(16)  endif
(17) endfor
(18)endfor