compare_tf_idf_scalings: A function that performs a bunch of different forms of TF-IDF...

Description Usage Arguments Value

View source: R/compare_tf_idf_scalings.R

Description

A function that performs a bunch of different forms of TF-IDF scaling to a document-term matrix.

Usage

1
compare_tf_idf_scalings(document_term_matrix)

Arguments

document_term_matrix

A document-term matrix as a dense or simple triplet matrix, with documents as rows, and vocabulary terms as columns. Note that internally, this function will turn the matrix into a dense matrix, so this function should only be used with moderately sized matrices.

Value

A list object containing a number of document-term matrices, each with a different form of TF-IDF scaling applied. Each list entry contains a list object with the rescaled doc-term matrix as the second entry, and a description of the method applied as the first entry.


matthewjdenny/SpeedReader documentation built on March 25, 2020, 5:32 p.m.