Low-memory Multinomial Logistic Regression with Support for Text Classification


[Up] [Top]

Documentation for package ‘maxent’ version 1.3.3.1

Help Pages

maxent-package Low-memory Multinomial Logistic Regression with Support for Text Classification
as.compressed.matrix converts a tm DocumentTermMatrix or TermDocumentMatrix into a matrix.csr representation.
load.model loads a maximum entropy model from a file.
maxent trains a maximum entropy model given a training matrix and a vector or factor of labels.
maxent-class an S4 class containing the trained maximum entropy model.
NYTimes a sample dataset containing labeled headlines from The New York Times.
predict.maxent predicts the expected label of a document given a trained model.
save.model saves a maximum entropy model to a file.
tune.maxent fits a maximum entropy model given a training matrix and a vector or factor of labels.
USCongress a sample dataset containing labeled bills from the United State Congress.