dmlc / MXNet.jl

MXNet Julia Package - flexible and efficient deep learning in Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lstm mxnet charRNN

aarthireddy opened this issue · comments

Hello,

I am using Mxnet R package and walking through the following tutorial:
http://mxnet.io/tutorials/r/charRnnModel.html

I see that the lstm that was trained is used to generate text. However, is there a way to use the lstm model to evaluate test text?

When using language models, we can use perplexity to evaluate test data. Lower the perplexity, closer the language model to test data. Higher the perplexity, the farther away the language model is to test data.

Is there an equivalent score that can be generated using LSTM?

Thanks,
Aarthi

I'm not very sure if the R API already ported the Module interface. With a Module, you can run the score function to evaluate on a dataset.