Term frequency weighting methods
Usage
weight_scheme(values = values_weight_scheme)
values_weight_scheme
An object of class character
of length 5.
Arguments
- values
A character string of possible values. See values_weight_scheme
in examples below.
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 values include:
#> 'raw count', 'binary', 'term frequency', 'log normalization' and 'doubl...