Hi,
I have implemented the code like that in the sentiment analysis problem using keras. I have two dense layers and since the features are only 2, i have specified the input_size=(2, ) when adding the first layer of the model. However, I am getting some error with the input size. Here is the link to my code: https://ide.codingblocks.com/s/331165
Here is the screenshot of the error: