My understanding of the Text Mining node in DMML is that it just assigns SVD scores to each observation (document). So technically, a particular document is not assigned to a topic, it will receive a score for each topic.
Example:
Let's say the TM node identified 3 topics - 3 new variables will be added (COL1, COL2, COL3 with labels identifying the topic) & each observation will receive a score for each topic - so it is possible for a document to get scores like:
COL1 = .33 COL2 = .33 COL3 = .33
You could write some SAS code to "Assign" the document to the topic that has the highest score:
if COL1 > COL2 and COL1 > COL3 then Topic = 1;
else if COL2 > COL1 and COL2 > COL3 then Topic = 2;
else if COL3 > COL1 and COL3 >COL2 then Topic = 3;
else Topic = .;
(probably a slicker way to do this)
Maybe this is no help.
... View more