RNN for binary classification of sequence

G_Zak picture G_Zak · Nov 9, 2016 · Viewed 7.6k times · Source

I wondering if someone can suggest a good library or reference (tutorial or article) to implement a Recurrent Neural Network (RNN).

I tried to use the rnnlib by Alex Graves, but I had some troubles in changing the architecture to adapt the network to my needs.

In particular, I'm trying to recognize strings coming from a regular language, using positive and negative samples.

This is an example of my training set:

str1: w1 w2 ... wn --> label 1 (it is a valid string for the language)

str2: w1 w2 ... wi --> label 0 (it does not belong to the language)

where wi are drawn from the alphabet of the unknown language.

Thanks in advance.

Answer

greeness picture greeness · Nov 9, 2016

For tools, I would highly recommend TensforFlow.