Solved – Sequence classification via Neural Networks

machine learningneural networksrecurrent neural networksequence analysistheano

What exact kind of architecture of neural networks do I need for a sequence binary/multiclass classification? The sequences can be of different length and are to be discriminated by a certain occurrence of smaller subsequences in it.

It would be great if you can provide Lasagne/Keras layers setup and their parameters.

Thanks.

Best Answer

I recommend to use a combination of CNN layers and a RNN layer (e.g. long short-term layer LSTM or gated recurrent units).

It depends on your sequence classification problem, I tried to solve a typical application (e.g. in bioinformatics) and failed.

Then I used this network architecture - which I found by very experienced data scientist - and suddenly it worked very well.

Network architecture for sequence classification using CNN and RNN