Skip to content
Advertisement

Modeling Encoder-Decoder according to instructions from a paper [closed]

I am new to this field and I was reading a paper “Predicting citation counts based on deep neural network learning techniques”. There the authors describe the code that they implemented if someone wants to reproduce the results. I tried to do this but I am not sure if I succeeded.

Here is their description:

JavaScript

And here is my implementation. I am not sure if the model I created is sequence to sequence.

JavaScript

The summary of this model is:

JavaScript

Update: Is this maybe the correct way to formulate this?

JavaScript

This is the dataset that I am using.

JavaScript

I need to give as an input all the columns until c5, and try to predict the other c’s (which are citation count for the upcoming years). Is this the right way to go forward?

Advertisement

Answer

Your model is token classification model not sequence-to-sequence.

Seq-2-seq model comprise of encoder and decoder (the both are RNN in your case). It can not be created with Sequentional API because there are separate inputs for encoder and decoder.

The encoder should be created with argument return_sequences=False.

Dense layer should follow the decoder.

It should be something like that:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement