--no_lang

Switch

--no_lang

Description

Runs --combo_test_regression or --combo_test_classifiers without language features.

Argument and Default Value

No argument. Boolean switch, default: False.

Details

Drops the language (n-gram/lexicon) feature table from the model, leaving only the outcome controls, so --nfold_test_regression/--nfold_test_classifiers can report how well controls alone predict the outcome as a baseline against the language-inclusive models.

Other Switches

Required Switches: --nfold_test_regression OR --nfold_test_classifiers Optional Switches: None

Example Commands

Using the packaged dla_tutorial dataset (see Differential Language Analysis (DLA) Tutorial):

dlatkInterface.py -d dla_tutorial -t msgs -c user_id -f 'feat$1gram$msgs$user_id$16to16$0_01' \
--outcome_table blog_outcomes --outcomes age --combo_test_regression --model ridgecv --folds 10 \
--no_lang