Sentiment Classification using Word Vectors

This example shows how to perform sentiment classification using word vectors. In this example, we use IMDb reviews which have either a positive or negative sentiment. First, we transform the raw Strings to documents and assign a unique label to each of them so we can perform Doc2Vec learning which results in one vector per document. In order get an idea about the quality of the document vectors we use a PCA to reduce our 200 dimensional vector space to two dimensions so we can plot the vector representation of each document in a scatter plot. In the View of the JavaScript Scatter Plot one can easily see that the document vectors are divided into two clusters for the two sentiments. Next, we partition our dataset and train a predictive model on the created document vectors to perform classification. Workflow Requirements KNIME Analytics Platform 3.3.0 KNIME Deeplearning4J Integration KNIME Deeplearning4J Integration Text Processing Extension

This is a companion discussion topic for the original entry at