0 ×

08_​Streaming_​Sentiment_​Classification

Workflow

Sentiment Analysis Classification of Documents (Streaming Enabled)
NLPNatural Language Processing
Sentiment Analysis (Classification) of Documents (Streaming Enabled) This workflow is an alternative implementation of 08_Other_Analytics_Types/01_Text_Processing/03_Sentiment_ClassificationWe use the KNIME Simple Streaming nodes to do the first part of the text processing. See the first wrapped metanode. To enablestreaming (for streaming enabled nodes) right-click 'configure' then switch to the 'Job Manager Selection' tab, and select 'SimpleStreaming'. In this case the first wrapped metanode is already configured for streaming, and the second is not (the secondcontains 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 thePreprocessing meta node. After the document vectors have been created the sentiment class is extracted and a predictive modelis built and scored. 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 wrapped metanodeStreaming notenabled, since all nodes contained in thiswrapped metanode arenot streamable Color Manager Partitioning Decision TreePredictor Scorer ROC Curve DecisionTree Learner Streaming TextPre-processing Non-streamingtext-preprocessing Sentiment Analysis (Classification) of Documents (Streaming Enabled) This workflow is an alternative implementation of 08_Other_Analytics_Types/01_Text_Processing/03_Sentiment_ClassificationWe use the KNIME Simple Streaming nodes to do the first part of the text processing. See the first wrapped metanode. To enablestreaming (for streaming enabled nodes) right-click 'configure' then switch to the 'Job Manager Selection' tab, and select 'SimpleStreaming'. In this case the first wrapped metanode is already configured for streaming, and the second is not (the secondcontains 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 thePreprocessing meta node. After the document vectors have been created the sentiment class is extracted and a predictive modelis built and scored. 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 wrapped metanodeStreaming notenabled, since all nodes contained in thiswrapped metanode arenot streamableColor Manager Partitioning Decision TreePredictor Scorer ROC Curve DecisionTree Learner Streaming TextPre-processing Non-streamingtext-preprocessing

Download

Get this workflow from the following link: Download

Nodes

08_​Streaming_​Sentiment_​Classification consists of the following 31 nodes(s):

Plugins

08_​Streaming_​Sentiment_​Classification contains nodes provided by the following 3 plugin(s):