Learn R Programming

textreg (version 0.1.5)

make.path.matrix: Generate matrix describing gradient descent path of textreg.

Description

Generate a matrix of the sequence of features as they are introduced with the textreg gradient descent program along with their coefficients with each step of the descent.

Usage

make.path.matrix(res)

Arguments

res

A textreg.result object.

See Also

Other plot.path.matrix: path.matrix.chart, plot.textreg.result

Examples

Run this code
# NOT RUN {
data( testCorpora )
testI = testCorpora$testI
res = textreg( testI$corpus, testI$labelI, c("frog","goat","bat"), C=2, verbosity=0 )	
make.path.matrix( res )
# }

Run the code above in your browser using DataLab