--sqrt
Switch
--sqrt
Description
A square root transformation of the group norm frequency information.
Argument and Default Value
Normalizes the group norm frequency information using the following formula:
Details
Normalizes the group norm frequency information using the following formula:
Other Switches
Required Switches: -d, -g, -t The transformation switches are used during feature extraction and therefore need at least one feature extraction command: --add_ngrams, --add_lex_table, etc. Optional Switches: None
Example Commands
# General syntax — creates the table: feat$cat_LEX_TABLE$TABLE$GROUP_BY_FIELD$16to4
dlatkInterface.py -d DATABASE -t TABLE -c GROUP_BY_FIELD --add_lex_table -l LEX_TABLE --sqrt
# Example, using the packaged dla_tutorial dataset (see tut_dla)
# Creates the table: feat$cat_met_a30_2000_cp_w$msgs$user_id$16to4
dlatkInterface.py -d dla_tutorial -t msgs -c user_id --group_freq_thresh 500 \
--add_lex_table -l met_a30_2000_cp --weighted_lexicon --sqrt