160 likes | 268 Views
M12 scenario: Early prototype demo. Miha Gr čar ( Dep artment of Knowledge Technologies, Jožef Stefan Institute ) & FIRST Consortium. Outline. We will show two integrated prototypes Twitter sentiment analysis prototype Sentiment extraction prototype The aim is to…
E N D
M12 scenario: Early prototype demo Miha Grčar(DepartmentofKnowledge Technologies, Jožef Stefan Institute) & FIRST Consortium Luxembourg, Nov 2011
Outline • We will show two integrated prototypes • Twitter sentiment analysis prototype • Sentiment extraction prototype • The aim is to… • Give a better idea of the overall FIRST process • Give a hint of the final “product” from the technological perspective • Demonstrate the collaboration between partners (integration efforts) FIRST Y1 Review Meeting
Twitter Sentiment Demo WP1 & WP8 Architecture, Integration & Scaling Strategy WP2 & WP7 Web-based Infrastructure UC#1 Market Surveillance UC#2 Reputational Risk management UC#3 Online Retail Brokerage Domain-independent GUI (Open Source) Domain-independent GUI (Open Source) Acquisition of Tweets SentimentClassification WP3 WP4 WP6 Management Dissemination & Exploitation Decision Support Infrastructure Sentiment Analysis Data Acquisition Data Acquisition Ontology Infrastructure Information Extraction Sentiment Analysis Decision Support Infrastructure Active Learning & Visualization Database of Tweets WP5 Information Integration Information Integration Data, Information & Knowledge Base WP9 WP10 FIRST Y1 Review Meeting
Basic Concepts • Sentiment classification • Active learning FIRST Y1 Review Meeting
Sentiment Classification • Labeled examples • Build model (train classifier) • Classify unlabeled examples POS Financial markets are now officially open :) POS market intelligence GMI Interactive and Mintel Win ARF Great Minds Award for Quality in Research POS $AAPL : trust me -- AAPL will soar tomorrow NEG Oh how I miss the days with GBP was at least 2 times the AUD. Sterling forecast to hit all-time lows soon NEG omg! did you know BORDERS closed?! they went bankrupt last month and closed!! awww, too bad! i love borders!! NEG @aekinsthat's just too bad Labeled Examples • Training • Algorithm • Classification • Model Unlabeled Examples • Classification • Algorithm • Predictions • (Labels) So Nickelodeon filed for bankruptcy and announced that the next Kids Choice Awards will be it's last. NEG • Classification • Model FIRST Y1 Review Meeting
Active Learning • Labeling examples manually is expensive • Active learning reduces this cost • Experts provide labels only for a (small) subset of examples • Examples in this subset are carefully chosen to produce a classifier that is “as accurate as possible” FIRST Y1 Review Meeting
Active Learning Document space (tweets) FIRST Y1 Review Meeting
Active Learning Document space (reality) Negative sentiment Positive sentiment Optimal hyperplane FIRST Y1 Review Meeting
Active Learning Document space (initial guess) FIRST Y1 Review Meeting
Active Learning Document space (refinement) FIRST Y1 Review Meeting
Active Learning Document space (refinement) FIRST Y1 Review Meeting
Active Learning Document space (almost there…) FIRST Y1 Review Meeting
Active Learning Workflow Client Client Client Twitter API LanguageDetector Near-Duplicate Remover Part of Speech Tagger Active Learning Training Algorithm Classification Model Demo video (3:00) LabeledDataset Tweets Acquired Tweets Classifier UserQuery Twitter API Preprocessing Twitter Sentiment Results Classification Model FIRST Y1 Review Meeting
Early Integrated Prototype Web-based Infrastructure WP1 & WP8 Architecture, Integration & Scaling Strategy WP2 & WP7 UC#1 Market Surveillance UC#2 Reputational Risk management UC#3 Online Retail Brokerage Domain-independent GUI (Open Source) Domain-independent GUI (Open Source) Stream Simulator ZeroMQChannel Visualization WP3 WP4 WP6 Management Dissemination & Exploitation Ontology Infrastructure Sentiment Analysis Data Acquisition Data Acquisition Ontology Infrastructure Information Extraction Sentiment Analysis Decision Support Infrastructure Information Extraction Decision Support Infrastructure Historical Data WP5 Information Integration Information Integration Data, Information & Knowledge Base WP9 WP10 FIRST Y1 Review Meeting
Early Integrated Prototype JavaScript WP6 Client (Browser) WP3 Java WP4 Java WP2/7 C# • Documents • (XML) • Sentiment Index • (Numbers) Demo video (1:00) Web Server Data Stream Simulator Sentiment Extractor ZeroMQ Channel ZeroMQ Channel • HTTPPush Client (Browser) WP2/7 Client (Browser) Historical Data (Documents) WP5 FIRST Y1 Review Meeting
Concluding Remarks • Effortless integration of data acquisition, sentiment extraction, and Web-based interface • First “signs of usefulness” for the financial domain • Relationship to UC#2 (reputation) and UC#3 (retail brokerage) FIRST Y1 Review Meeting