Icon

08_​Streaming_​Sentiment_​Classification

Sentiment Analysis Classification of Documents (Streaming Enabled)

We use the KNIME Simple Streaming nodes to do the first part of the text processing. See the first wrapped metanode. To enable streaming (for streaming enabled nodes) right-click 'configure' then switch to the 'Job Manager Selection' tab, and select 'Simple Streaming'. In this case the first wrapped metanode is already configured for streaming, and the second is not (the second contains no streamable nodes).

The workflow reads textual data from a csv file and converts the strings into documents. The documents are then preprocessed, i.e. filtered and stemmed and transformed into numerical document vectors. All the preprocessing magic takes place in the Preprocessing meta node. After the document vectors have been created the sentiment class is extracted and a predictive model is built and scored.

This workflow is an alternative implementation of 08_Other_Analytics_Types/01_Text_Processing/03_Sentiment_Classification, which uses simple streaming Color by sentimentlabelTraining / test setApply decisiontree modelScore decisiontree modelScore decisiontree modelBuild predictive modelTo enable streaming Right-click 'configure'then switch to the 'Job Manager Selection'and select 'Simple Streaming'.We already did this here,see the arrow on thebottom right of the componentStreaming notenabled, since all nodes contained in thiscomponent arenot streamable Color Manager Partitioning Decision TreePredictor Scorer ROC Curve (local) DecisionTree Learner Streaming TextPre-processing Non-streamingtext-preprocessing This workflow is an alternative implementation of 08_Other_Analytics_Types/01_Text_Processing/03_Sentiment_Classification, which uses simple streaming Color by sentimentlabelTraining / test setApply decisiontree modelScore decisiontree modelScore decisiontree modelBuild predictive modelTo enable streaming Right-click 'configure'then switch to the 'Job Manager Selection'and select 'Simple Streaming'.We already did this here,see the arrow on thebottom right of the componentStreaming notenabled, since all nodes contained in thiscomponent arenot streamableColor Manager Partitioning Decision TreePredictor Scorer ROC Curve (local) DecisionTree Learner Streaming TextPre-processing Non-streamingtext-preprocessing

Nodes

Extensions

Links