Detect Text Sentiment With An LSTM Neural Network In C#

Mark Farragher
8 min readDec 3, 2019

In this article I’m going to build an app that can automatically detect the sentiment of an English text.

Three possible sentiment outcomes. You usually want the one on the right…

I actually tried this already in this article where I used a 1-dimensional convolutional neural network to analyze the movie review text. That approach worked quite well with a final accuracy of 86%, but unfortunately my solution started overfitting right away.