--factor_addition

Switch

--factor_addition

Description

Appends the selected adaptation factors to the language features, rather than only using them to adapt the language features.

Argument and Default Value

No argument. Boolean switch, default: False. Can be used alone (sets internal integrationMethod to "plus") or combined with --factor_adaptation/--res_factor_adaptation (appending "_plus" to their integration method instead).

Details

Verified: ran successfully combined with --res_factor_adaptation, --paired_factors, and --factor_selection_type pca. When given alone (without --factor_adaptation/--res_factor_adaptation) and no --adaptation_factors, falls back to using all of --outcome_controls as the factor pool.

Other Switches

Optional Switches:

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$1to3gram$msgs$user_id$0_05' \
--outcome_table blog_outcomes --outcomes age --outcome_controls gender is_student \
--combo_test_regression --factor_addition --adaptation_factors gender is_student