當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


R dials weight_scheme 詞頻加權方法

詞頻加權方法

用法

weight_scheme(values = values_weight_scheme)

values_weight_scheme

格式

長度為 5 的 character 類的對象。

參數

values

可能值的字符串。請參閱下麵示例中的values_weight_scheme

細節

該參數用在 textrecipes::step_tf() 中。

例子

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... 

相關用法


注:本文由純淨天空篩選整理自Max Kuhn等大神的英文原創作品 Term frequency weighting methods。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。