Term frequency weighting methods

weight_scheme(values = values_weight_scheme)

values_weight_scheme

Arguments

values

A character string of possible values. See values_weight_scheme in examples below.

Format

An object of class character of length 5.

Details

This parameter is used in textrecipes::step_tf().

Examples

values_weight_scheme
#> [1] "raw count" "binary" "term frequency" #> [4] "log normalization" "double normalization"
weight_scheme()
#> Term Frequency Weight Method (qualitative) #> 5 possible value include: #> 'raw count', 'binary', 'term frequency', 'log normalization' and 'double norm...