--comparative_tagcloud
Switch
--comparative_tagcloud
Description
Produces a tagcloud comparing two samples of groups against each other directly, rather than correlating features against an outcome. Aliased as --comparative_wordcloud.
Argument and Default Value
No argument. Boolean switch, default: False.
Details
Requires both --sample1 and --sample2 to be given — the check is if args.compTagcloud and args.compTCsample1 and args.compTCsample2:, so this switch alone does nothing without both samples. Internally calls oa.IDPcomparison(fg, sample1, sample2, ...), the same Informative Dirichlet Prior machinery as --IDP, comparing word usage between the two group sets instead of against a numeric/binary outcome.
Other Switches
Required Switches:
Example Commands
dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1gram$msgs$user_id$16to16' \
--comparative_tagcloud --sample1 user123 user456 --sample2 user789 user321 --make_wordclouds