When using PROC TEXTMINE for topic modeling with LDA (Latent Dirichlet Allocation) in SAS, which statement controls the number of topics to discover?
Select an answer to reveal the explanation.
Short Explanation
Here's the deal — you use the NTOPICS= option in the LDA statement to tell PROC TEXTMINE how many latent topics to discover. The other choices don't control the LDA topic count.
Full Explanation
The NTOPICS= option in the LDA statement is correct because, in PROC TEXTMINE, it specifies the number of latent topics the algorithm should discover from the document corpus. The TOPICS= option in the PROC TEXTMINE statement is wrong because TOPICS= is not a valid PROC TEXTMINE statement option. The K= option in the SVD statement is wrong because K= in the SVD step is used for the SVD step, not the LDA topic count. The TOPIC= option in the OUT= dataset specification is wrong because TOPIC= is not a dataset option that controls the number of LDA topics.