SlideShare a Scribd company logo
1 of 19
Download to read offline
© 2018 KNIME AG. All rights reserved.
Sentiment Analysis with
Deep Learning, Machine Learning or
Lexicon Based
© 2018 KNIME AG. All rights reserved. 2
Sentiment Analysis – An Example
© 2018 KNIME AG. All rights reserved. 3
Sentiment Analysis
Task: Determine the expressed opinion in a document/text, e.g.
positive, negative
Sentiment Analysis = Opinion Mining = Emotion AI
Lexicon Based Machine Learning Deep Learning
© 2018 KNIME AG. All rights reserved. 4
Philosophy
… perhaps your
name is
Rumpelstiltskin[Pers
on] ? …
… perhaps your
name is
Rumpelstiltskin[Per
son] ? …
Visualizatio
n
Cluster
-ing
Classifi-
cation
Reading/Parsing Data Enrichment Preprocessing
… perhaps your
name is
Rumpelstiltskin[Per
son] ? …
Transformations / Frequencies Classification/Clustering/Visualization
© 2018 KNIME AG. All rights reserved. 5
Additional Data Types
• Document Cell
– Encapsulates a document
• Title, sentences, terms, words
• Authors, categories, sources
• Generic meta data (key, value pairs)
• Term Cell
– Encapsulates a term
• Words, tags
© 2018 KNIME AG. All rights reserved. 6
What is KNIME Analytics Platform?
• A tool for data analysis, manipulation, visualization, and reporting
• Based on the graphical programming paradigm
• Provides a diverse array of extensions:
• Text Mining
• Network Mining
• Cheminformatics
• Many integrations
such as Java, R, Python,
Weka, H2O, etc.
6
© 2018 KNIME AG. All rights reserved. 10
Part 1: Reading and Parsing Data
Read/Parse textual data
Other Reader nodes
© 2018 KNIME AG. All rights reserved. 11
Part 2: Enrichment
Enrich documents with semantic information
© 2018 KNIME AG. All rights reserved. 13
Part 3: Preprocessing
Preprocess documents and filter words
© 2018 KNIME AG. All rights reserved. 14
Bag of Words
• A so-called ‘Bag of Words’ represents each document as the bag
(multiset) of its words
• Grammar and word order aren’t taken into account
© 2018 KNIME AG. All rights reserved. 15
Frequency Nodes
• Node Repository:
Other Data Types /Text Processing /Frequencies
• Available Frequency Nodes
– TF
– IDF
– Ngram creator
– …
© 2018 KNIME AG. All rights reserved. 16
Document Vector
• Transforms a bag of words into a sequence
– of 0/1 (“one-hot encoding”)
– or frequency numbers
16
BoW with Frequency
Column
Document
Vector
© 2018 KNIME AG. All rights reserved. 17
Part 4: Transformation and Frequencies’ Computation
Preprocess documents
© 2018 KNIME AG. All rights reserved. 18
Part 5: Classification
Lexicon based Machine learning
v
© 2018 KNIME AG. All rights reserved. 19
Transformation for Deep Learning
Expected input of a network:
• Numerical representation of each document encoding the words and their order
• Equivalent input shape of each document
– Truncate too long documents
– Zero pad too short documents
© 2018 KNIME AG. All rights reserved. 20
Approach 3: Deep Learning
© 2018 KNIME AG. All rights reserved. 21
The Workflows
© 2018 KNIME AG. All rights reserved. 23
From Words to Wisdom Book
Free Copy of “From Words to Wisdom” Book from KNIME Press
https://www.knime.com/knimepress
with code: USMEETUPS-0918
26© 2018 KNIME AG. All rights reserved.
The KNIME® trademark and logo and OPEN FOR INNOVATION® trademark are used by
KNIME.com AG under license from KNIME GmbH, and are registered in the United States.
KNIME® is also registered in Germany.

More Related Content

What's hot

Knime & bioinformatics
Knime & bioinformaticsKnime & bioinformatics
Knime & bioinformatics
BioinformaticsInstitute
 
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
Flink Forward
 

What's hot (20)

What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
What's New in KNIME Analytics Platform 4.0 and KNIME Server 4.9
 
Transforming KNIME Consumer Data into Actionable Insights
Transforming KNIME Consumer Data into Actionable InsightsTransforming KNIME Consumer Data into Actionable Insights
Transforming KNIME Consumer Data into Actionable Insights
 
What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1What's New in KNIME Analytics Platform 4.1
What's New in KNIME Analytics Platform 4.1
 
Knime & bioinformatics
Knime & bioinformaticsKnime & bioinformatics
Knime & bioinformatics
 
Twitter analytics in Bluemix
Twitter analytics in BluemixTwitter analytics in Bluemix
Twitter analytics in Bluemix
 
On demand cloud services
On demand cloud servicesOn demand cloud services
On demand cloud services
 
Is it harder to find a taxi when it is raining?
Is it harder to find a taxi when it is raining? Is it harder to find a taxi when it is raining?
Is it harder to find a taxi when it is raining?
 
Codeless Deep Learning for Language Modeling and Image Classification
Codeless Deep Learning for Language Modeling and Image ClassificationCodeless Deep Learning for Language Modeling and Image Classification
Codeless Deep Learning for Language Modeling and Image Classification
 
Better Together: How Graph database enables easy data integration with Spark ...
Better Together: How Graph database enables easy data integration with Spark ...Better Together: How Graph database enables easy data integration with Spark ...
Better Together: How Graph database enables easy data integration with Spark ...
 
Javantura v3 - Husky – (y)our tool for tracking value in data – Mladen Marovi...
Javantura v3 - Husky – (y)our tool for tracking value in data – Mladen Marovi...Javantura v3 - Husky – (y)our tool for tracking value in data – Mladen Marovi...
Javantura v3 - Husky – (y)our tool for tracking value in data – Mladen Marovi...
 
Flink London meetup 3 March 2016 - Flink basics
Flink London meetup 3 March 2016 - Flink basicsFlink London meetup 3 March 2016 - Flink basics
Flink London meetup 3 March 2016 - Flink basics
 
The Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AGThe Race To Better Datacenters - Tailormade Colocation by Globalways AG
The Race To Better Datacenters - Tailormade Colocation by Globalways AG
 
II-SDV 2017: Search Technologies
II-SDV 2017: Search TechnologiesII-SDV 2017: Search Technologies
II-SDV 2017: Search Technologies
 
Worldwide LHC Computing Grid - Ian Bird -HNSciCloud Prototype Phase kickoff M...
Worldwide LHC Computing Grid - Ian Bird -HNSciCloud Prototype Phase kickoff M...Worldwide LHC Computing Grid - Ian Bird -HNSciCloud Prototype Phase kickoff M...
Worldwide LHC Computing Grid - Ian Bird -HNSciCloud Prototype Phase kickoff M...
 
Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...
Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...
Steve Litras [Cribl] | The Power of Infinite Choice | InfluxDays Virtual Expe...
 
Javantura v3 - FIWARE – from ideas to real projects – Krunoslav Hrnjak
Javantura v3 - FIWARE – from ideas to real projects – Krunoslav HrnjakJavantura v3 - FIWARE – from ideas to real projects – Krunoslav Hrnjak
Javantura v3 - FIWARE – from ideas to real projects – Krunoslav Hrnjak
 
Reach New Heights with Amazon Redshift
Reach New Heights with Amazon RedshiftReach New Heights with Amazon Redshift
Reach New Heights with Amazon Redshift
 
Pick a Winner: How to Choose a Data Warehouse
Pick a Winner: How to Choose a Data WarehousePick a Winner: How to Choose a Data Warehouse
Pick a Winner: How to Choose a Data Warehouse
 
Upgrading Made Easy: Moving to InfluxDB 2.x or InfluxDB Cloud with Cribl LogS...
Upgrading Made Easy: Moving to InfluxDB 2.x or InfluxDB Cloud with Cribl LogS...Upgrading Made Easy: Moving to InfluxDB 2.x or InfluxDB Cloud with Cribl LogS...
Upgrading Made Easy: Moving to InfluxDB 2.x or InfluxDB Cloud with Cribl LogS...
 
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
Flink for Everyone: Self Service Data Analytics with StreamPipes - Philipp Ze...
 

Similar to Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based

Aeren -Company Collateral - 2015
Aeren -Company Collateral - 2015Aeren -Company Collateral - 2015
Aeren -Company Collateral - 2015
Aeren IP
 
NLP and Machine Learning for non-experts
NLP and Machine Learning for non-expertsNLP and Machine Learning for non-experts
NLP and Machine Learning for non-experts
Sanghamitra Deb
 
DSAConclave Presentation based on introduction
DSAConclave Presentation based on introductionDSAConclave Presentation based on introduction
DSAConclave Presentation based on introduction
chmeghana1
 

Similar to Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based (20)

Semi-Automatic Text Classification with Deep Neural Networks
Semi-Automatic Text Classification with Deep Neural NetworksSemi-Automatic Text Classification with Deep Neural Networks
Semi-Automatic Text Classification with Deep Neural Networks
 
Apache Arrow: In Theory, In Practice
Apache Arrow: In Theory, In PracticeApache Arrow: In Theory, In Practice
Apache Arrow: In Theory, In Practice
 
Deep learning for text analytics
Deep learning for text analyticsDeep learning for text analytics
Deep learning for text analytics
 
Structured writing presentation to London Content Strategy Meetup
Structured writing presentation to London Content Strategy MeetupStructured writing presentation to London Content Strategy Meetup
Structured writing presentation to London Content Strategy Meetup
 
Aeren -Company Collateral - 2015
Aeren -Company Collateral - 2015Aeren -Company Collateral - 2015
Aeren -Company Collateral - 2015
 
Roy "Accelerating ML/AI Based R&D through Text & Data Mining"
Roy "Accelerating ML/AI Based R&D through Text & Data Mining"Roy "Accelerating ML/AI Based R&D through Text & Data Mining"
Roy "Accelerating ML/AI Based R&D through Text & Data Mining"
 
textTOvec: DEEP CONTEXTUALIZED NEURAL AUTOREGRESSIVE TOPIC MODELS OF LANGUAGE...
textTOvec: DEEP CONTEXTUALIZED NEURAL AUTOREGRESSIVE TOPIC MODELS OF LANGUAGE...textTOvec: DEEP CONTEXTUALIZED NEURAL AUTOREGRESSIVE TOPIC MODELS OF LANGUAGE...
textTOvec: DEEP CONTEXTUALIZED NEURAL AUTOREGRESSIVE TOPIC MODELS OF LANGUAGE...
 
Commercializing Alternative Data
Commercializing Alternative DataCommercializing Alternative Data
Commercializing Alternative Data
 
Lynx Webinar #4: Lynx Services Platform (LySP) - Part 2 - The Services
Lynx Webinar #4: Lynx Services Platform (LySP) - Part 2 - The ServicesLynx Webinar #4: Lynx Services Platform (LySP) - Part 2 - The Services
Lynx Webinar #4: Lynx Services Platform (LySP) - Part 2 - The Services
 
Compiler design
Compiler designCompiler design
Compiler design
 
II-PIC 2017: To err is human – growing in experience as a patent information ...
II-PIC 2017: To err is human – growing in experience as a patent information ...II-PIC 2017: To err is human – growing in experience as a patent information ...
II-PIC 2017: To err is human – growing in experience as a patent information ...
 
IBM Watson & PHP, A Practical Demonstration
IBM Watson & PHP, A Practical DemonstrationIBM Watson & PHP, A Practical Demonstration
IBM Watson & PHP, A Practical Demonstration
 
State of the Domain-Adaptive Machine Translation by Intento (November 2018)
State of the Domain-Adaptive Machine Translation by Intento (November 2018)State of the Domain-Adaptive Machine Translation by Intento (November 2018)
State of the Domain-Adaptive Machine Translation by Intento (November 2018)
 
ICIC 2017: Technology Scouting: Decision Support in Strategic Analyses for Te...
ICIC 2017: Technology Scouting: Decision Support in Strategic Analyses for Te...ICIC 2017: Technology Scouting: Decision Support in Strategic Analyses for Te...
ICIC 2017: Technology Scouting: Decision Support in Strategic Analyses for Te...
 
Taras Fedorov "Evolution from ML to DL in NLP project"
Taras Fedorov "Evolution from ML to DL in NLP project"Taras Fedorov "Evolution from ML to DL in NLP project"
Taras Fedorov "Evolution from ML to DL in NLP project"
 
Deep learning for product title summarization
Deep learning for product title summarizationDeep learning for product title summarization
Deep learning for product title summarization
 
NLP and Machine Learning for non-experts
NLP and Machine Learning for non-expertsNLP and Machine Learning for non-experts
NLP and Machine Learning for non-experts
 
A Gentle Introduction to Big Data
A Gentle Introduction to Big DataA Gentle Introduction to Big Data
A Gentle Introduction to Big Data
 
DSAConclave Presentation based on introduction
DSAConclave Presentation based on introductionDSAConclave Presentation based on introduction
DSAConclave Presentation based on introduction
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 

More from KNIMESlides

Webinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided AnalyticsWebinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided Analytics
KNIMESlides
 

More from KNIMESlides (16)

Automating Inferences out of Financial Data
Automating Inferences out of Financial DataAutomating Inferences out of Financial Data
Automating Inferences out of Financial Data
 
Credit Card Fraud Detection Tutorial - KNIME Meetup Berlin 2020
Credit Card Fraud Detection Tutorial - KNIME Meetup Berlin 2020Credit Card Fraud Detection Tutorial - KNIME Meetup Berlin 2020
Credit Card Fraud Detection Tutorial - KNIME Meetup Berlin 2020
 
Credit Card Fraud Detection Tutorial
Credit Card Fraud Detection TutorialCredit Card Fraud Detection Tutorial
Credit Card Fraud Detection Tutorial
 
Practicing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case StudiesPracticing Data Science: A Collection of Case Studies
Practicing Data Science: A Collection of Case Studies
 
Webinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided AnalyticsWebinar: Behind the Scenes on Guided Analytics
Webinar: Behind the Scenes on Guided Analytics
 
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
KNIME Data Science Learnathon: From Raw Data To Deployment - Dublin - June 2019
 
Scoring Metrics for Classification Models
Scoring Metrics for Classification ModelsScoring Metrics for Classification Models
Scoring Metrics for Classification Models
 
Open Source Story and what’s new in KNIME Software
Open Source Story and what’s new in KNIME SoftwareOpen Source Story and what’s new in KNIME Software
Open Source Story and what’s new in KNIME Software
 
Anomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning
Anomaly Detection - Discover unknown Frauds and Anomalies using Machine LearningAnomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning
Anomaly Detection - Discover unknown Frauds and Anomalies using Machine Learning
 
Guided Automation- A Blueprint for Interactive Automated Machine Learning
Guided Automation- A Blueprint for Interactive Automated Machine LearningGuided Automation- A Blueprint for Interactive Automated Machine Learning
Guided Automation- A Blueprint for Interactive Automated Machine Learning
 
KNIME Data Science Learnathon: From Raw Data To Deployment - Paris - November...
KNIME Data Science Learnathon: From Raw Data To Deployment - Paris - November...KNIME Data Science Learnathon: From Raw Data To Deployment - Paris - November...
KNIME Data Science Learnathon: From Raw Data To Deployment - Paris - November...
 
From raw data to deployment
From raw data to deployment From raw data to deployment
From raw data to deployment
 
Just add Imagination
Just add ImaginationJust add Imagination
Just add Imagination
 
Advanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike StationsAdvanced analytics for the Internet of Things. Restocking Rental Bike Stations
Advanced analytics for the Internet of Things. Restocking Rental Bike Stations
 
Text Processing with KNIME
Text Processing with KNIMEText Processing with KNIME
Text Processing with KNIME
 
Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!Big Data with KNIME is as easy as 1, 2, 3, ...4!
Big Data with KNIME is as easy as 1, 2, 3, ...4!
 

Recently uploaded

Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptx
chadhar227
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
Health
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 

Recently uploaded (20)

Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Hapur [ 7014168258 ] Call Me For Genuine Models We ...
 
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptxRESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
RESEARCH-FINAL-DEFENSE-PPT-TEMPLATE.pptx
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptx
 
20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf20240412-SmartCityIndex-2024-Full-Report.pdf
20240412-SmartCityIndex-2024-Full-Report.pdf
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Kings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about themKings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about them
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 

Sentiment Analysis with Deep Learning, Machine Learning or Lexicon based

  • 1. © 2018 KNIME AG. All rights reserved. Sentiment Analysis with Deep Learning, Machine Learning or Lexicon Based
  • 2. © 2018 KNIME AG. All rights reserved. 2 Sentiment Analysis – An Example
  • 3. © 2018 KNIME AG. All rights reserved. 3 Sentiment Analysis Task: Determine the expressed opinion in a document/text, e.g. positive, negative Sentiment Analysis = Opinion Mining = Emotion AI Lexicon Based Machine Learning Deep Learning
  • 4. © 2018 KNIME AG. All rights reserved. 4 Philosophy … perhaps your name is Rumpelstiltskin[Pers on] ? … … perhaps your name is Rumpelstiltskin[Per son] ? … Visualizatio n Cluster -ing Classifi- cation Reading/Parsing Data Enrichment Preprocessing … perhaps your name is Rumpelstiltskin[Per son] ? … Transformations / Frequencies Classification/Clustering/Visualization
  • 5. © 2018 KNIME AG. All rights reserved. 5 Additional Data Types • Document Cell – Encapsulates a document • Title, sentences, terms, words • Authors, categories, sources • Generic meta data (key, value pairs) • Term Cell – Encapsulates a term • Words, tags
  • 6. © 2018 KNIME AG. All rights reserved. 6 What is KNIME Analytics Platform? • A tool for data analysis, manipulation, visualization, and reporting • Based on the graphical programming paradigm • Provides a diverse array of extensions: • Text Mining • Network Mining • Cheminformatics • Many integrations such as Java, R, Python, Weka, H2O, etc. 6
  • 7. © 2018 KNIME AG. All rights reserved. 10 Part 1: Reading and Parsing Data Read/Parse textual data Other Reader nodes
  • 8. © 2018 KNIME AG. All rights reserved. 11 Part 2: Enrichment Enrich documents with semantic information
  • 9. © 2018 KNIME AG. All rights reserved. 13 Part 3: Preprocessing Preprocess documents and filter words
  • 10. © 2018 KNIME AG. All rights reserved. 14 Bag of Words • A so-called ‘Bag of Words’ represents each document as the bag (multiset) of its words • Grammar and word order aren’t taken into account
  • 11. © 2018 KNIME AG. All rights reserved. 15 Frequency Nodes • Node Repository: Other Data Types /Text Processing /Frequencies • Available Frequency Nodes – TF – IDF – Ngram creator – …
  • 12. © 2018 KNIME AG. All rights reserved. 16 Document Vector • Transforms a bag of words into a sequence – of 0/1 (“one-hot encoding”) – or frequency numbers 16 BoW with Frequency Column Document Vector
  • 13. © 2018 KNIME AG. All rights reserved. 17 Part 4: Transformation and Frequencies’ Computation Preprocess documents
  • 14. © 2018 KNIME AG. All rights reserved. 18 Part 5: Classification Lexicon based Machine learning v
  • 15. © 2018 KNIME AG. All rights reserved. 19 Transformation for Deep Learning Expected input of a network: • Numerical representation of each document encoding the words and their order • Equivalent input shape of each document – Truncate too long documents – Zero pad too short documents
  • 16. © 2018 KNIME AG. All rights reserved. 20 Approach 3: Deep Learning
  • 17. © 2018 KNIME AG. All rights reserved. 21 The Workflows
  • 18. © 2018 KNIME AG. All rights reserved. 23 From Words to Wisdom Book Free Copy of “From Words to Wisdom” Book from KNIME Press https://www.knime.com/knimepress with code: USMEETUPS-0918
  • 19. 26© 2018 KNIME AG. All rights reserved. The KNIME® trademark and logo and OPEN FOR INNOVATION® trademark are used by KNIME.com AG under license from KNIME GmbH, and are registered in the United States. KNIME® is also registered in Germany.