--feat_labelmap_lex
Switch
--feat_labelmap_lex LEXICON
Description
Name of a topic lexicon to derive feature labels from (e.g. showing each LDA topic's top words instead of its raw numeric id), used when displaying results.
Argument and Default Value
A lexicon table name. Default: ''.
Details
Can be supplied directly, or built automatically: when --make_topic_labelmap_lex is used, FeatureRefiner.makeTopicLabelMap(topiclexicon, numtopicwords, weightedlexicon) is called and its result is written into args.featlabelmaplex for you, using --num_topic_words top words per topic. See --feat_labelmap_table for the alternative, hand-built mapping table.
Other Switches
Optional Switches:
--make_topic_labelmap_lex (builds this automatically from --topic_lexicon)
--feat_labelmap_table (alternative source of labels)
--bracket_labels (currently non-functional — see that page)
Example Commands
dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$cat_2000topics$msgs$user_id' \
--outcome_table blog_outcomes --outcomes age --topic_lexicon met_a30_2000_freq_t50ll \
--make_topic_labelmap_lex --correlate