variable_select: Variable selector (best tfidf rank)

View source: R/variable_select.R

variable_selectR Documentation

Variable selector (best tfidf rank)

Description

Variable selector (best tfidf rank)

Usage

variable_select(original_train, max_retained = min(1000L,
  as.integer(ncol(original_train) * 10/100)))

Arguments

original_train

original (simple_triplet_matrix) with overall variables

max_retained

the maximum number of variable to retain (default is min(1000L, as.integer(ncol(original) * 10/100)))

Value

an object of the same class of original with only the top tifidf max_retained token in the sum of relative tfidf

Examples

data(liu_dtm)
variable_select(liu_dtm)

UBESP-DCTV/costumer documentation built on Feb. 1, 2023, 4:52 a.m.