CRAN

TextRegression 0.1-3

Predict continuous valued outputs associated with text documents.

Released May 13, 2012 by John Myles White

This package can be loaded by Renjin but all tests failed.

Dependencies

plyr 1.8.4 tm 0.7-3 glmnet 2.0-16 Matrix 1.2-13

Predict continuous valued outputs associated with text documents. The input corpus of text documents is transformed into a document-term matrix (DTM) and then a regularized linear regression is fit that uses this matrix as predictors to predict the continuous valued output. The corpus's terms, coefficients for all terms and an estimate of the model's predictive power are returned in a list.

Installation

Maven

This package can be included as a dependency from a Java or Scala project by including the following your project's pom.xml file. Read more about embedding Renjin in JVM-based projects.

<dependencies>
  <dependency>
    <groupId>org.renjin.cran</groupId>
    <artifactId>TextRegression</artifactId>
    <version>0.1-3-b37</version>
  </dependency>
</dependencies>
<repositories>
  <repository>
    <id>bedatadriven</id>
    <name>bedatadriven public repo</name>
    <url>https://nexus.bedatadriven.com/content/groups/public/</url>
  </repository>
</repositories>

View build log

Renjin CLI

If you're using Renjin from the command line, you load this library by invoking:

library('org.renjin.cran:TextRegression')

Test Results

This package was last tested against Renjin 0.9.2625 on Apr 9, 2018.

Source

R

View GitHub Mirror

Release History