Prepare tweets and news data for IBM topic

Last modifed: 2017-10-24

Roadmap

  1. Prepare multiprocessing and MongoDB scripts available in ibm_tweets_analysis project
  2. Filter out tweets with keyword 'ibm' in tweet_text field from MongoDB db
  3. Check basic statistics of embedded URL link in tweet_text to external news article
  4. Manually collect external news articles
  5. Check ibm_news basic statistics
  6. Updated Objective: focus on "social_capital_ceo_palihapitiya_watson_joke" news and tweets

Steps


In [1]:
"""
Initialization
"""

'''
Standard modules
'''
import os
import pickle
import csv
import time
from pprint import pprint
import json
import pymongo
import multiprocessing
import logging
import collections

'''
Analysis modules
'''
%matplotlib inline
%config InlineBackend.figure_format = 'retina' # render double resolution plot output for Retina screens 
import matplotlib.pyplot as plt
import pandas as pd


'''
Custom modules
'''
import config
import utilities
import mongodb
import multiprocessing_workers

'''
R magic and packages
'''
# hide all RRuntimeWarnings
import warnings
warnings.filterwarnings('ignore')

# add home for R in anaconda on PATH sys env
os.environ['PATH'] += ':/opt/anaconda3/bin'

# load R magic
%load_ext rpy2.ipython

# load R packages
%R require(ggplot2)

'''
Misc
'''
nb_name = '20171024-daheng-prepare_ibm_tweets_news_data'

# all tweets with keywork 'ibm' in tweet_text field from ND IBM dataset
ibm_tweets_file = os.path.join(config.IBM_TWEETS_NEWS_DIR, 'ibm_tweets.json')

# based on ibm_tweets_file. Duplicate tweets with the same or similar tweet_text are removed
ibm_unique_tweets_file = os.path.join(config.IBM_TWEETS_NEWS_DIR, 'ibm_unique_tweets.json')

# manually selected news sources list by examing most common news sources of valid urls embedded in ibm unique tweets 
# selected_news_sources_lst = ['www.forbes.com', 'finance.yahoo.com', 'venturebeat.com', 
#                              'medium.com', 'www.engadget.com', 'alltheinternetofthings.com',
#                              'www.zdnet.com', 'www.wsj.com', 'www.cnbc.com']
selected_news_sources_lst = ['venturebeat', 'engadget', 'wsj', 'cnbc']

# manually collected ibm news data
ibm_news_file = os.path.join(config.HR_DIR, 'selected_ibm_news.csv')

# all tweets related to the 'social_capital_ceo_palihapitiya_watson_joke' news by cnbc
palihapitiya_watson_joke_tweets_file = os.path.join(config.HR_DIR, 'palihapitiya_watson_joke_tweets.csv')

# manually tag information of all tweets related to the 'social_capital_ceo_palihapitiya_watson_joke' news by cnbc
palihapitiya_watson_joke_tweets_tag_file = os.path.join(config.HR_DIR, 'palihapitiya_watson_joke_tweets_tag.csv')

Prepare multiprocessing and MongoDB scripts available in ibm_tweets_analysis project

Copy mongodb.py and multiprocessing_workers.py files to the project root dir.

  • mongodb.py can be used to get connection to local MongoDB database.
  • multiprocessing_workers.py can be used to query MongoDB database in multiple processes to save time (need modifications)

Native tweets are stored in tweets_ek-2 db and tw_nt table.

Filter out tweets with keyword 'ibm' in tweet_text field from MongoDB db

Query tweets from MongoDB db


In [2]:
%%time
"""
Register
    IBM_TWEETS_NEWS_DIR = os.path.join(DATA_DIR, 'ibm_tweets_news')
in config
"""
DB_NAME  = 'tweets_ek-2'
COL_NAME = 'tw_nt'

if 0 == 1:
    multiprocessing.log_to_stderr(logging.DEBUG)
    '''
    Use multiprocessing to parse tweet_text field for "ibm" keyword
    '''
    procedure_name = 'tag_native_tweets_text_ibm'
    
    # set processes number to CPU numbers minus 1
    process_num = multiprocessing.cpu_count() - 1
    process_file_names_lst = ['{}-{}.json'.format(process_ind, procedure_name)
                              for process_ind in range(process_num)]
    process_files_lst = [os.path.join(config.IBM_TWEETS_NEWS_DIR, process_file_name) 
                         for process_file_name in process_file_names_lst]
    
    jobs = []
    for process_ind in range(process_num):
        p = multiprocessing.Process(target=multiprocessing_workers.find_keywords_in_tweet_text,
                                    args=(DB_NAME, COL_NAME, process_ind, process_num, process_files_lst[process_ind], ['ibm']),
                                    name='Process-{}/{}'.format(process_ind, process_num))
        jobs.append(p)
    
    for job in jobs:
        job.start()
        
    for job in jobs:
        job.join()


[INFO/Process-0/11] child process calling self.run()
[INFO/Process-1/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
[INFO/Process-2/11] child process calling self.run()
[INFO/Process-4/11] child process calling self.run()
[INFO/Process-5/11] child process calling self.run()
[INFO/Process-3/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
[INFO/Process-6/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
Process-0/11 handling documents 0 to 528437...
[INFO/Process-7/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
[INFO/Process-8/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
[INFO/Process-9/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
[INFO/Process-10/11] child process calling self.run()
MongoDB on localhost:27017/tweets_ek-2.tw_nt connected successfully!
Process-1/11 handling documents 528438 to 1056875...
Process-2/11 handling documents 1056876 to 1585313...
Process-3/11 handling documents 1585314 to 2113751...
Process-4/11 handling documents 2113752 to 2642189...
Process-5/11 handling documents 2642190 to 3170627...
Process-6/11 handling documents 3170628 to 3699065...
Process-7/11 handling documents 3699066 to 4227503...
Process-8/11 handling documents 4227504 to 4755941...
Process-9/11 handling documents 4755942 to 5284379...
Process-10/11 handling documents 5284380 to 5812824...
[INFO/Process-0/11] process shutting down
[DEBUG/Process-0/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-0/11] running the remaining "atexit" finalizers
[INFO/Process-0/11] process exiting with exitcode 0
[INFO/Process-1/11] process shutting down
[DEBUG/Process-1/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-1/11] running the remaining "atexit" finalizers
[INFO/Process-1/11] process exiting with exitcode 0
[INFO/Process-2/11] process shutting down
[DEBUG/Process-2/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-2/11] running the remaining "atexit" finalizers
[INFO/Process-2/11] process exiting with exitcode 0
[INFO/Process-3/11] process shutting down
[DEBUG/Process-3/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-3/11] running the remaining "atexit" finalizers
[INFO/Process-3/11] process exiting with exitcode 0
[INFO/Process-4/11] process shutting down
[DEBUG/Process-4/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-4/11] running the remaining "atexit" finalizers
[INFO/Process-4/11] process exiting with exitcode 0
[INFO/Process-5/11] process shutting down
[DEBUG/Process-5/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-5/11] running the remaining "atexit" finalizers
[INFO/Process-5/11] process exiting with exitcode 0
[INFO/Process-6/11] process shutting down
[DEBUG/Process-6/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-6/11] running the remaining "atexit" finalizers
[INFO/Process-6/11] process exiting with exitcode 0
[INFO/Process-7/11] process shutting down
[DEBUG/Process-7/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-7/11] running the remaining "atexit" finalizers
[INFO/Process-7/11] process exiting with exitcode 0
[INFO/Process-8/11] process shutting down
[DEBUG/Process-8/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-8/11] running the remaining "atexit" finalizers
[INFO/Process-8/11] process exiting with exitcode 0
[INFO/Process-9/11] process shutting down
[DEBUG/Process-9/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-9/11] running the remaining "atexit" finalizers
[INFO/Process-9/11] process exiting with exitcode 0
[INFO/Process-10/11] process shutting down
[DEBUG/Process-10/11] running all "atexit" finalizers with priority >= 0
[DEBUG/Process-10/11] running the remaining "atexit" finalizers
[INFO/Process-10/11] process exiting with exitcode 0
CPU times: user 136 ms, sys: 152 ms, total: 288 ms
Wall time: 14min 45s

Merge process files


In [2]:
%%time
"""
Merger all process files into a single file

Register
    ibm_tweets_file = os.path.join(config.IBM_TWEETS_NEWS_DIR, 'ibm_tweets.json')
in Initialization section.
"""
if 0 == 1:
    '''
    Re-generate process file names
    '''
    procedure_name = 'tag_native_tweets_text_ibm'
    process_num = multiprocessing.cpu_count() - 1
    process_file_names_lst = ['{}-{}.json'.format(process_ind, procedure_name)
                              for process_ind in range(process_num)]
    process_files_lst = [os.path.join(config.IBM_TWEETS_NEWS_DIR, process_file_name) 
                         for process_file_name in process_file_names_lst]
    
    with open(ibm_tweets_file, 'w') as output_f:
        for process_file in process_files_lst:
            with open(process_file, 'r') as input_f:
                for line in input_f:
                    output_f.write(line)


CPU times: user 1.43 s, sys: 2.04 s, total: 3.47 s
Wall time: 3.5 s

Remove duplicate tweets


In [3]:
%%time
"""
Remove tweets with the same or silimar tweet_text field

Register
    ibm_unique_tweets_file = os.path.join(config.IBM_TWEETS_NEWS_DIR, 'ibm_unique_tweets.json')
in Initialization section.
"""
if 0 == 1:
    with open(ibm_unique_tweets_file, 'w') as output_f:
        with open(ibm_tweets_file, 'r') as input_f:
            uniqe_tweet_text_field = set()
            
            for line in input_f:
                tweet_json = json.loads(line)
                tweet_text = tweet_json['text']
                cleaned_tweet_text = utilities.clean_tweet_text(tweet_text)
                
                if cleaned_tweet_text not in uniqe_tweet_text_field:
                    uniqe_tweet_text_field.add(cleaned_tweet_text)
                    output_f.write(line)


CPU times: user 17.1 s, sys: 1.27 s, total: 18.4 s
Wall time: 18.7 s

Check basic statistics of embedded URL link in tweet_text to external news article


In [2]:
"""
Check number of ibm tweets and number of ibm unique tweets
"""
if 1 == 1:
    with open(ibm_tweets_file, 'r') as f:
        ibm_tweets_num = sum([1 for line in f])
    print('Number of ibm tweets: {}'.format(ibm_tweets_num))
        
    with open(ibm_unique_tweets_file, 'r') as f:
         ibm_unique_tweets_num = sum([1 for line in f])
    print('Number of unique ibm tweets: {}'.format(ibm_unique_tweets_num))


Number of ibm tweets: 152526
Number of unique ibm tweets: 84462

In [4]:
"""
Check number of ibm unique tweets with URL
"""
if 1 == 1:
    with open(ibm_unique_tweets_file, 'r') as f:
        
        # if entities.urls field is not empty
        ibm_unique_tweets_url_num = sum([1 for line in f 
                                         if json.loads(line)['entities']['urls']])
    print('Number of unique ibm tweets with URL: {}'.format(ibm_unique_tweets_url_num))


Number of unique ibm tweets with URL: 68338

In [6]:
%%time
"""
Check most popular domain names in URLs embedded in ibm unique tweets
"""
if 1 == 1:
    url_domain_names_counter = collections.Counter()
    with open(ibm_unique_tweets_file, 'r') as f:
        for line in f:
            tweet_json = json.loads(line)
            
            # if tweet contains at least one url, entities.urls is not empty
            entities_urls = tweet_json['entities']['urls']
            if entities_urls:
                for entities_url in entities_urls:
                    # expanded_url field may contain full unshortened url
                    expanded_url = entities_url['expanded_url']
                    
                    url_domain_name = expanded_url.split('/')[2]
                    url_domain_names_counter.update([url_domain_name])
    
    pprint(url_domain_names_counter.most_common(50))


[('twitter.com', 19499),
 ('bit.ly', 5717),
 ('ow.ly', 3380),
 ('ift.tt', 3110),
 ('ibm.co', 2618),
 ('buff.ly', 2214),
 ('paper.li', 2106),
 ('www.ibm.com', 1939),
 ('dlvr.it', 1605),
 ('lnkd.in', 1473),
 ('goo.gl', 1427),
 ('ibm.biz', 1425),
 ('youtu.be', 1316),
 ('fb.me', 1024),
 ('ln.is', 837),
 ('trap.it', 600),
 ('www.youtube.com', 597),
 ('www.forbes.com', 430),
 ('shar.es', 408),
 ('tweetedtimes.com', 353),
 ('klou.tt', 262),
 ('tek.io', 260),
 ('owler.us', 253),
 ('hubs.ly', 246),
 ('www.linkedin.com', 241),
 ('www.amazon.com', 238),
 ('finance.yahoo.com', 221),
 ('www.instagram.com', 219),
 ('crwd.fr', 204),
 ('venturebeat.com', 198),
 ('sco.lt', 193),
 ('xing.com', 193),
 ('zd.net', 192),
 ('tinyurl.com', 177),
 ('developer.ibm.com', 176),
 ('spr.ly', 164),
 ('flip.it', 161),
 ('eventbrite.com', 161),
 ('medium.com', 149),
 ('www-03.ibm.com', 144),
 ('www.lemonde.fr', 141),
 ('tcrn.ch', 137),
 ('www.engadget.com', 128),
 ('adweek.it', 121),
 ('www.zdnet.com', 118),
 ('www.geekwire.com', 116),
 ('alltheinternetofthings.com', 113),
 ('www.techrepublic.com', 109),
 ('cnb.cx', 104),
 ('www.wsj.com', 103)]
CPU times: user 9.26 s, sys: 120 ms, total: 9.38 s
Wall time: 9.38 s

In [7]:
%%time
"""
Re-compute most popular domain names in URLs embedded in ibm unique tweets
 - ignore misc irrelevant website domain names
 - ignore all shortened urls
 
Register
    selected_news_sources_lst
in Initialization section.
"""
misc_irrelevant_websites_lst = ['twitter', 'youtube', 'youtu.be', 'amazon', 'paper.li', 'linkedin', 'lnkd.in', 'instagram']

shortened_url_identifiers_lst = ['bit.ly', 'ift.tt', 'dlvr.it', 'ow.ly', 'buff.ly', 'oal.lu', 'goo.gl', 'ln.is', 'gag.gl', 'fb.me', 'trap.it', 'ibm.co',
                                 'ibm.biz', 'shar.es', 'crwd.fr', 'klou.tt', 'tek.io', 'owler.us', 'upflow.co', 'hubs.ly', 'zd.net', 'spr.ly', 'flip.it']
                                 
if 0 == 1:
    valid_url_domain_names_counter = collections.Counter()
    
    ignore_lst = misc_irrelevant_websites_lst + shortened_url_identifiers_lst
    with open(ibm_unique_tweets_file, 'r') as f:
        for line in f:
            tweet_json = json.loads(line)
            
            # if tweet contains at least one url, entities.urls is not empty
            entities_urls = tweet_json['entities']['urls']
            if entities_urls:
                for entities_url in entities_urls:
                    # expanded_url field may contain full unshortened url
                    expanded_url = entities_url['expanded_url']
                    
                    # ignore all urls with manually selected tokens
                    if not any(token in expanded_url for token in ignore_lst):
                        # ignore all shortned urls by HEURISTIC
                        if len(expanded_url.split('/')) > 4:
                            valid_url_domain_name = expanded_url.split('/')[2]
                            valid_url_domain_names_counter.update([valid_url_domain_name])

    pprint(valid_url_domain_names_counter.most_common(50))


[('www.forbes.com', 424),
 ('tweetedtimes.com', 294),
 ('finance.yahoo.com', 216),
 ('xing.com', 193),
 ('venturebeat.com', 192),
 ('eventbrite.com', 155),
 ('www.lemonde.fr', 140),
 ('medium.com', 136),
 ('www.engadget.com', 127),
 ('alltheinternetofthings.com', 113),
 ('www.zdnet.com', 105),
 ('www.wsj.com', 101),
 ('www.cnbc.com', 101),
 ('www.fool.com', 95),
 ('www.techrepublic.com', 94),
 ('www.fastcompany.com', 88),
 ('www.ibmbigdatahub.com', 81),
 ('www.siliconrepublic.com', 74),
 ('www.slideshare.net', 73),
 ('www.adweek.com', 73),
 ('www.journaldunet.com', 73),
 ('www.networkworld.com', 71),
 ('your-celebrity-match.mybluemix.net', 71),
 ('techcrunch.com', 60),
 ('www.prnewswire.com', 57),
 ('japan.zdnet.com', 54),
 ('www.meetup.com', 54),
 ('www.StockNewsWires.com', 54),
 ('www.cbronline.com', 52),
 ('www.cloudcomputing-news.net', 51),
 ('www.cio.com', 49),
 ('drumup.io', 48),
 ('www.facebook.com', 47),
 ('www.4-traders.com', 47),
 ('itpro.nikkeibp.co.jp', 47),
 ('twib.in', 47),
 ('siliconangle.com', 46),
 ('mashable.com', 46),
 ('www.silicon.co.uk', 46),
 ('www.bloomberg.com', 43),
 ('www.cetrixcloudservices.com', 43),
 ('abizy.com', 40),
 ('www.digitaltrends.com', 40),
 ('cio.economictimes.indiatimes.com', 39),
 ('www.inc.com', 39),
 ('feedproxy.google.com', 38),
 ('www.huffingtonpost.com', 38),
 ('www.thedrum.com', 38),
 ('www.swarmapp.com', 36),
 ('www.dub.io', 36)]
CPU times: user 8.95 s, sys: 132 ms, total: 9.08 s
Wall time: 9.08 s

In [2]:
%%time
"""
Check most common valid links
"""
misc_irrelevant_websites_lst = ['twitter', 'youtube', 'youtu.be', 'amazon', 'paper.li', 'linkedin', 'lnkd.in', 'instagram']

shortened_url_identifiers_lst = ['bit.ly', 'ift.tt', 'dlvr.it', 'ow.ly', 'buff.ly', 'oal.lu', 'goo.gl', 'ln.is', 'gag.gl', 'fb.me', 'trap.it', 'ibm.co',
                                 'ibm.biz', 'shar.es', 'crwd.fr', 'klou.tt', 'tek.io', 'owler.us', 'upflow.co', 'hubs.ly', 'zd.net', 'spr.ly', 'flip.it']

if 0 == 1:
    urls_counter = collections.Counter()
    
    ignore_lst = misc_irrelevant_websites_lst + shortened_url_identifiers_lst
    with open(ibm_unique_tweets_file, 'r') as f:
        for line in f:
            tweet_json = json.loads(line)
            
            # if tweet contains at least one url, entities.urls is not empty
            entities_urls = tweet_json['entities']['urls']
            if entities_urls:
                for entities_url in entities_urls:
                    # expanded_url field may contain full unshortened url
                    expanded_url = entities_url['expanded_url']
                    
                    # ignore all urls with manually selected tokens
                    if not any(token in expanded_url for token in ignore_lst):
                        # ignore all shortned urls by HEURISTIC
                        if len(expanded_url.split('/')) > 4:
                            urls_counter.update([expanded_url])
    
    pprint(urls_counter.most_common(50))


[('http://www.lemonde.fr/pixels/article/2017/03/12/a-la-rencontre-de-watson-l-intelligence-artificielle-star-d-ibm_5093342_4408996.html',
  104),
 ('http://tweetedtimes.com/v/13070?s=tnp', 67),
 ('http://www.cnbc.com/2017/05/08/ibms-watson-is-a-joke-says-social-capital-ceo-palihapitiya.html',
  52),
 ('http://www.journaldunet.com/economie/finance/1194465-ibm-watson-et-les-banques/',
  47),
 ('https://www.fastcompany.com/3068600/ibms-new-cmo-michelle-peluso-talks-watson-the-cloud-and-ethics-of-ai',
  42),
 ('http://tweetedtimes.com/v/442?s=tnp', 41),
 ('https://www.engadget.com/2017/04/07/ibm-watson-tech-support-round-the-clock/',
  38),
 ('https://www.siliconrepublic.com/companies/ibm-ix-marketing-transformation-watson',
  36),
 ('https://www.thestar.com/news/insight/2017/04/15/can-watson-the-jeopardy-champion-solve-parkinsons.html',
  30),
 ('https://www.theverge.com/2017/5/11/15621930/star-trek-bridge-crew-voice-commands-ibm-watson',
  29),
 ('https://www.wsj.com/articles/ibm-tests-watson-technology-to-keep-eye-on-traders-1493055558',
  28),
 ('https://www.engadget.com/2017/04/25/ibm-watson-cognitive-photo-booth/', 27),
 ('http://venturebeat.com/2017/03/10/10-ways-you-may-have-already-used-ibm-watson/',
  26),
 ('http://venturebeat.com/2017/03/19/playfab-taps-ibms-watson-ai-for-deeper-insights-into-gamer-behavior/',
  26),
 ('http://dx.doi.org/10.1017/S0890060416000524', 26),
 ('http://www.digitaltrends.com/music/ibm-watson-beat-ai-music-composer-phony-ppl/',
  25),
 ('https://www.inc.com/kevin-j-ryan/masters-golf-artificial-intelligence-ibm-watson.html',
  25),
 ('https://www.cetrixcloudservices.com/blog/startups-protect-and-maximize-your-roi-with-salesforce',
  24),
 ('https://venturebeat.com/2017/04/04/ibm-watson-ai-will-help-spot-great-shots-at-the-masters-golf-tournament/',
  23),
 ('https://venturebeat.com/2017/05/11/ibm-watson-enables-voice-commands-in-ubisofts-star-trek-bridge-crew-virtual-reality-game/',
  23),
 ('http://video.cnbc.com/gallery/?video=3000616728', 22),
 ('https://www.fool.com/investing/2017/03/19/ibms-watson-is-tackling-healthcare-with-artificial.aspx',
  21),
 ('https://www.fool.com/investing/2017/03/21/ibms-watson-is-tackling-medicines-most-complex-pro.aspx',
  21),
 ('https://venturebeat.com/2017/03/27/intel-just-painted-a-target-on-ibm-watsons-back/',
  20),
 ('https://iot-analytics.com/top-20-companies-enabling-predictive-maintenance/',
  20),
 ('https://www.edsurge.com/news/2017-04-06-ibm-watson-s-chief-architect-talks-democratizing-ai-starting-with-fifth-graders',
  20),
 ('http://wwd.com/business-news/technology/ibm-watson-fashion-week-analysis-10842213/',
  19),
 ('http://www.ioti.com/iot-trends-and-analysis/ibm-s-munich-monument-iot-aims-kickstart-revolution',
  19),
 ('http://pdwhomeautomation.blogspot.com/2017/03/using-ibm-bluemix-watson-apis-to.html',
  19),
 ('http://nymag.com/daily/intelligencer/2017/04/art-with-watson.html', 18),
 ('http://www.startrek.com/article/ibms-watson-to-power-bridge-crew-vr-interactive-speech-experience',
  18),
 ('https://gigaom.com/2017/03/13/unleashing-a-i-powered-conversation-with-ibm-watson/',
  17),
 ('http://www.networkworld.com/article/3182989/cloud-computing/ibm-red-hat-an-open-source-hybrid-cloud.html',
  17),
 ('http://www.techrepublic.com/article/the-future-of-ai-10-scenarios-ibm-is-already-working-on/',
  17),
 ('http://www.adweek.com/creativity/ibm-watsons-new-job-as-art-museum-guide-could-hint-at-lots-of-future-roles-with-brands/',
  17),
 ('http://www.lemonde.fr/entreprises/article/2017/04/20/le-credit-mutuel-deploie-le-robot-d-intelligence-artificielle-watson-dans-son-reseau_5114032_1656994.html',
  17),
 ('https://www.engadget.com/2017/05/03/147-teams-will-compete-for-5-million-in-the-ibm-watson-xprize/',
  17),
 ('http://www.afr.com/technology/ibms-watson-supercomputer-leading-charge-into-early-melanoma-detection-20170307-gut5j8',
  16),
 ('https://www.siliconrepublic.com/machines/ibm-cybersecurity-ai-watson', 16),
 ('http://www.zdnet.com/article/ibm-and-red-hat-aim-to-boost-hybrid-cloud-computing-openstack-usage/',
  16),
 ('https://blogs.wsj.com/cio/2017/05/08/staples-to-launch-ai-powered-office-assistant/',
  16),
 ('https://www.engadget.com/2017/05/11/ibm-watson-voice-commands-to-star-trek-bridge-crew/',
  16),
 ('http://www.golf.com/tour-news/2017/04/04/masters-highlights-getting-artificial-intelligence-treatment-ibms-watson-computer',
  15),
 ('http://eventbrite.com/e/deep-learning-of-pb-scale-ai-big-data-cloud-boot-camp-build-operate-data-pipeline-data-lake-tickets-33340514331',
  15),
 ('http://wired.jp/2017/04/30/open-the-pod-bay-doors-watson-ibm-introduces-cognitive-rooms/',
  15),
 ('https://venturebeat.com/2017/05/09/ibm-watson-to-help-pebble-beach-create-a-virtual-concierge-for-guests/',
  15),
 ('https://www.wsj.com/articles/ibm-salesforce-agree-to-partner-on-artificial-intelligence-1488834910',
  14),
 ('http://www.techrepublic.com/article/why-ibms-speech-recognition-breakthrough-matters-for-ai-and-iot/',
  14),
 ('http://www.infoworld.com/article/3182807/cloud-computing/ibm-chases-google-microsoft-with-kubernetes-in-the-cloud.html',
  14),
 ('http://www.journaldunet.com/solutions/cloud-computing/1193986-ibm-s-envole-vers-les-18-milliards-de-chiffre-d-affaires-dans-le-cloud/',
  14)]
CPU times: user 9.02 s, sys: 188 ms, total: 9.2 s
Wall time: 9.2 s

In [2]:
%%time
"""
Check most common links to selected news sources
"""
if 0 == 1:
    selected_news_sources_urls_counter = collections.Counter()
    
    with open(ibm_tweets_file, 'r') as f:
        for line in f:
            tweet_json = json.loads(line)
            
            # if tweet contains at least one url, entities.urls is not empty
            entities_urls = tweet_json['entities']['urls']
            if entities_urls:
                for entities_url in entities_urls:
                    # expanded_url field may contain full unshortened url
                    expanded_url = entities_url['expanded_url']
                    
                    # filter out only url links to selected news sources
                    if any(selected_news_source in expanded_url for selected_news_source in selected_news_sources_lst):
                        selected_news_sources_urls_counter.update([expanded_url])
    
    pprint(selected_news_sources_urls_counter.most_common(50))


[('https://www.engadget.com/2017/04/07/ibm-watson-tech-support-round-the-clock/',
  131),
 ('https://www.engadget.com/2017/04/25/ibm-watson-cognitive-photo-booth/', 93),
 ('http://www.cnbc.com/2017/05/08/ibms-watson-is-a-joke-says-social-capital-ceo-palihapitiya.html',
  77),
 ('http://venturebeat.com/2017/03/19/playfab-taps-ibms-watson-ai-for-deeper-insights-into-gamer-behavior/',
  61),
 ('https://www.wsj.com/articles/ibm-tests-watson-technology-to-keep-eye-on-traders-1493055558',
  60),
 ('https://venturebeat.com/2017/05/11/ibm-watson-enables-voice-commands-in-ubisofts-star-trek-bridge-crew-virtual-reality-game/',
  59),
 ('https://venturebeat.com/2017/04/04/ibm-watson-ai-will-help-spot-great-shots-at-the-masters-golf-tournament/',
  56),
 ('https://www.engadget.com/2017/05/11/ibm-watson-voice-commands-to-star-trek-bridge-crew/',
  52),
 ('http://venturebeat.com/2017/03/10/10-ways-you-may-have-already-used-ibm-watson/',
  51),
 ('https://www.engadget.com/2017/05/03/147-teams-will-compete-for-5-million-in-the-ibm-watson-xprize/',
  42),
 ('https://venturebeat.com/2017/03/27/intel-just-painted-a-target-on-ibm-watsons-back/',
  41),
 ('https://venturebeat.com/2017/05/09/ibm-watson-to-help-pebble-beach-create-a-virtual-concierge-for-guests/',
  39),
 ('https://www.wsj.com/articles/ibm-salesforce-agree-to-partner-on-artificial-intelligence-1488834910',
  34),
 ('http://video.cnbc.com/gallery/?video=3000616728', 31),
 ('http://on.wsj.com/2mn71xk', 27),
 ('http://www.cnbc.com/2017/05/17/ibm-powerful-supercomputer-watson-quantum-computer.html',
  24),
 ('http://www.cnbc.com/id/104454843', 21),
 ('http://on.wsj.com/2n0rczp', 19),
 ('https://www.wsj.com/articles/ibm-profit-falls-13-despite-gains-from-cloud-services-watson-1492547508',
  19),
 ('https://blogs.wsj.com/cio/2017/05/08/staples-to-launch-ai-powered-office-assistant/',
  19),
 ('http://on.wsj.com/2pXeXF4', 15),
 ('https://www.wsj.com/articles/hospital-stumbles-in-bid-to-teach-a-computer-to-treat-cancer-1488969011',
  14),
 ('https://venturebeat.com/2017/02/16/ibm-watson-opens-200-million-iot-headquarters-in-munich/',
  13),
 ('http://on.wsj.com/2qTqJnm', 13),
 ('https://www.engadget.com/2017/03/10/ibm-speech-recognition-accuracy-record/',
  11),
 ('https://www.engadget.com/2017/05/11/ibm-watson-voice-commands-to-star-trek-bridge-crew/?utm_source=dlvr.it&utm_medium=twitter',
  11),
 ('https://venturebeat.com/2017/03/19/playfab-taps-ibms-watson-ai-for-deeper-insights-into-gamer-behavior/',
  8),
 ('http://www.cnbc.com/2017/05/08/buffett-says-ibms-watson-will-have-greatest-value-when-it-replaces-human-labor.html',
  8),
 ('https://venturebeat.com/2017/05/09/ibm-watson-to-help-pebble-beach-create-a-virtual-concierge-for-guests/view-all/',
  8),
 ('http://video.cnbc.com/gallery/?video=3000598832', 7),
 ('http://www.cnbc.com/2017/03/06/ibm-and-salesforce-shake-hands-on-artificial-intelligence.html',
  7),
 ('http://on.wsj.com/2oIdot1', 7),
 ('https://www.wsj.com/articles/learning-to-love-intelligent-machines-1492174086',
  6),
 ('http://on.wsj.com/2oEe96s', 6),
 ('https://www.cnbc.com/amp/2017/05/08/ibms-watson-is-a-joke-says-social-capital-ceo-palihapitiya.html',
  6),
 ('https://www.google.com/amp/www.cnbc.com/amp/2017/05/08/ibms-watson-is-a-joke-says-social-capital-ceo-palihapitiya.html',
  6),
 ('http://venturebeat.com/2017/03/13/5-tech-firms-racing-to-invest-in-ai-startups/',
  5),
 ('http://venturebeat.stfi.re/2017/03/18/ai-is-going-to-kill-seat-based-saas-models/?sf=wxndpbo',
  5),
 ('http://venturebeat.stfi.re/2017/03/27/intel-just-painted-a-target-on-ibm-watsons-back/?sf=oebodkp',
  5),
 ('https://www.wsj.com/articles/ibm-profit-falls-13-despite-gains-from-cloud-services-watson-1492547508?mod=pls_whats_news_us_business_f',
  5),
 ('https://venturebeat.com/2017/04/18/chatbots-evolve-from-greeting-tool-to-customer-service-must-have/',
  5),
 ('http://venturebeat.stfi.re/2017/03/10/10-ways-you-may-have-already-used-ibm-watson/?sf=pgxlyxw',
  4),
 ('http://venturebeat.com/2017/03/10/10-ways-you-may-have-already-used-ibm-watson/?bt_ee=mP7FFHIJMYgapNwIpqzeY29ZmpJfLWFvLlHr1hkRk/IoMceJkIgB9E4wRGJcQZ+U&bt_ts=1489678259203',
  4),
 ('http://on.wsj.com/2c9F2gA', 4),
 ('https://www.engadget.com/2017/04/07/ibm-watson-tech-support-round-the-clock/?utm_source=dlvr.it&utm_medium=twitter',
  4),
 ('https://www.engadget.com/2017/04/07/ibm-watson-tech-support-round-the-clock/?sr_source=Twitter',
  4),
 ('http://on.wsj.com/2pYoIFW', 4),
 ('http://ibm.biz/ibmwsjp-17-think', 4),
 ('http://www.cnbc.com/2017/05/09/no-joke-id-like-to-see-my-firm-go-head-to-head-with-ibm-on-a-i-palihapitiya.html',
  4),
 ('https://www.engadget.com/2016/09/03/ibm-watson-smart-earphone-partnership/',
  3)]
CPU times: user 14.7 s, sys: 304 ms, total: 15 s
Wall time: 15 s

Manually collect external news articles

After examining

  • most common valid links
  • most common links to selected news sources manually collect external news articles.

Note:

  • single news article may have multiple links (shortened by different services; picture/video materials; trivial parameters)

In [ ]:
"""
Register
    ibm_news_file
in Initialization section.
"""

Check ibm_news basic statistics


In [2]:
"""
Load in csv file
"""
if 1 == 1:
    ibm_news_df = pd.read_csv(filepath_or_buffer=ibm_news_file, sep='\t')

In [3]:
with pd.option_context('display.max_colwidth', 100, 'expand_frame_repr', False):
    display(ibm_news_df[['NEWS_DATE', 'NEWS_NAME', 'NEWS_DOC']])


NEWS_DATE NEWS_NAME NEWS_DOC
0 2017-04-07 ibm_watson_tech_support_round_the_clock If your company uses IBM's helpdesk services, don't be surprised if you find yourself talking to...
1 2017-04-25 ibm_watson_cognitive_photo_booth Since its introduction to the world in 2009, IBM's Watson supercomputer has been crushing humans...
2 2017-05-03 147_teams_will_compete_for_5_million_in_the_ibm_watson_xprize The XPrize program is no stranger to moon shots. From capturing carbon to cleaning water -- even...
3 2017-05-11 ibm_watson_voice_commands_to_star_trek_bridge_crew Ubisoft's Star Trek: Bridge Crew won't just put you in a VR starship when it finally launches. I...
4 2017-02-16 ibm_watson_opens_200_million_iot_headquarters_in_munich IBM Watson Group opened a $200 million Internet of Things (IoT) headquarters today in Munich, Ge...
5 2017-03-10 10_ways_you_may_have_already_used_ibm_watson Watson captured the public imagination about artificial intelligence after defeating two world c...
6 2017-03-19 playfab_taps_ibms_watson_ai_for_deeper_insights_into_gamer_behavior IBM and PlayFab are teaming up to deliver better insights about gamers based on analysis from IB...
7 2017-03-27 intel_just_painted_a_target_on_ibm_watsons_back Intel announced late last week that it has formed a new AI group to consolidate a number of its ...
8 2017-04-04 ibm_watson_ai_will_help_spot_great_shots_at_the_masters_golf_tournament It isn’t easy to capture the best shots in a golf tournament that is being televised. And that’s...
9 2017-05-09 ibm_watson_to_help_pebble_beach_create_a_virtual_concierge_for_guests Watson, where did I hit my golf ball?::::::::IBM and the Pebble Beach Company have partnered to ...
10 2017-05-11 ibm_watson_enables_voice_commands_in_ubisofts_star_trek_bridge_crew_virtual_reality_game IBM Watson‘s artificial intelligence platform will enable voice commands in Ubisoft‘s Star Trek:...
11 2017-03-06 ibm_and_salesforce_shake_hands_on_artificial_intelligence IBM is teaming up with Salesforce to make it easier for Salesforce customers to use data from IB...
12 2017-05-08 ibms_watson_is_a_joke_says_social_capital_ceo_palihapitiya IBM isn't at the forefront of artificial intelligence, Social Capital CEO and founder Chamath Pa...
13 2017-05-09 no_joke_id_like_to_see_my_firm_go_head_to_head_with_ibm_on_a_i_palihapitiya Venture capitalist Chamath Palihapitiya backed away on Tuesday from his comment that IBM's Watso...
14 2017-05-17 ibm_powerful_supercomputer_watson_quantum_computer IBM said it has successfully tested its two most powerful quantum computers ever with both holdi...
15 2017-03-06 ibm_salesforce_agree_to_partner_on_artificial_intelligence International Business Machines Corp. IBM 0.07% and Salesforce.com Inc. CRM 0.46% agreed to ming...
16 2017-03-08 hospital_stumbles_in_bid_to_teach_a_computer_to_treat_cancer In 2012, the University of Texas MD Anderson Cancer Center launched an ambitious project with In...
17 2017-04-18 ibm_profit_falls_13_despite_gains_from_cloud_services_watson International Business Machines Corp. IBM 0.07% on Tuesday reported a 13% drop in quarterly earn...
18 2017-04-24 ibm_tests_watson_technology_to_keep_eye_on_traders NEW YORK— International Business Machines Corp. IBM 0.07% is piloting its Jeopardy-winning Watso...
19 2017-05-08 staples_to_launch_ai_powered_office_assistant Staples Inc.’s chief technology officer wants the company’s iconic red “easy” button to act as a...

In [4]:
"""
Print any news_doc by paragraphs
"""
test_lst = ibm_news_df.iloc[10]['NEWS_DOC'].split('::::::::')
for ind, item in enumerate(test_lst):
    print('({})'.format(ind+1))
    print(item)


(1)
IBM Watson‘s artificial intelligence platform will enable voice commands in Ubisoft‘s Star Trek: Bridge Crew virtual reality game.
(2)
IBM and French video game developer Ubisoft have partnered to include Watson’s interactive speech and cognitive capabilities in a VR game for the first time when Star Trek: Bridge Crew launches on May 30 on the Oculus Rift with Touch, HTC Vive, and PlayStation VR (PSVR).
(3)
It’s another one of those wonderful confluences of technology and games that we highlighted at our GamesBeat Summit event.
(4)
With IBM Watson, Star Trek: Bridge Crew will provide players the opportunity to use their voice and natural-language commands to interact with their virtual Starfleet crew members. This feature is part of a strategic partnership with Ubisoft. I recently tried out the game and found it to be a lot of fun to play with human strangers. I’m curious if Watson will answer in various actors’ voices, like Mr. Spock.
(5)
“We have been eager to find the right way to use interactive speech further the immersive and interactive experiences that virtual reality offers,” said David Votypka, senior creative director at Red Storm Entertainment, a Ubisoft Studio, in a statement. “Watson gives Captains in Star Trek: Bridge Crew the ability to issue commands to non-player crew members in the same way they do with a human crew; by using their voice. IBM provides an easy to integrate solution that is cloud based, so it’s light on code and performance while letting us remain fast on feature turnaround.”
(6)
IBM’s new “VR Speech Sandbox,” the software used to build the Star Trek: Bridge Crew feature, is now available for all developers to adapt for their own VR applications and services. The Sandbox combines IBM’s Watson Unity software development kit with two services, Watson Speech to Text and Watson Conversation. Developers now have the opportunity to build new and innovative user interfaces, leveraging the power of voice interaction in virtual reality.
(7)
In-game speech experiences, built with IBM Watson for Star Trek: Bridge Crew will be available this summer in beta testing for cross-platform play. The Watson and Star Trek: Bridge Crew experience will allow players to give direct, interactive speech commands to virtual Starfleet shipmates. By infusing this new cognitive technology into the game, players will be able to seamlessly complete missions online, with both AI characters and human partners, without breaking immersion.
(8)
“For the first time, Watson will power the technology that makes it possible for gamers and fans of Star Trek to interact with the crew,” said Willie Tejada, chief developer advocate at IBM, in a statement. “We are only just seeing the impact of virtual and augmented reality and IBM is committed to providing developers with the tools they need to innovate and be competitive in this AI and Cognitive era.”

Updated Objective: focus on "social_capital_ceo_palihapitiya_watson_joke" news and tweets

New Objective:

  • Only focus on the "social_capital_ceo_palihapitiya_watson_joke" news and tweets.
  • generate a illustrative figure, which should be placed in the Introduction section of the paper, to demonstrate the interaction/cycle between news and tweets.

In [2]:
%%time
"""
Find out all tweets related to the 'social_capital_ceo_palihapitiya_watson_joke' news

News URL 1: https://www.cnbc.com/2017/05/08/ibms-watson-is-a-joke-says-social-capital-ceo-palihapitiya.html
News URL 2: https://www.cnbc.com/2017/05/09/no-joke-id-like-to-see-my-firm-go-head-to-head-with-ibm-on-a-i-palihapitiya.html

Register
    palihapitiya_watson_joke_tweets_file
in Initialization section
"""
if 0 == 1:
    target_news_keywords_lst = ['social capital', 'chamath', 'palihapitiya']
   
    target_tweets_dict_lst = []
    
    with open(ibm_unique_tweets_file, 'r') as f:
        for line in f:
            tweet_json = json.loads(line)
            
            tweet_text = tweet_json['text'].replace('\n', ' ').replace('\r', ' ')
            tweet_user_screen_name = tweet_json['user']['screen_name']
            tweet_created_at = utilities.parse_tweet_post_time(tweet_json['created_at'])
            
            if any(kw.lower() in tweet_text.lower() for kw in target_news_keywords_lst):
                target_tweet_dict = {'tweet_created_at': tweet_created_at,
                                     'tweet_user_screen_name': tweet_user_screen_name,
                                     'tweet_text': tweet_text}
                target_tweets_dict_lst.append(target_tweet_dict)
    
    target_tweets_df = pd.DataFrame(target_tweets_dict_lst)
    
    target_tweets_df.to_csv(path_or_buf=palihapitiya_watson_joke_tweets_file,  sep='\t', index=True, quoting=csv.QUOTE_MINIMAL)


CPU times: user 13.9 s, sys: 332 ms, total: 14.2 s
Wall time: 14.2 s

In [2]:
"""
Read in data
"""
if 1 == 1:
    target_tweets_df = pd.read_csv(filepath_or_buffer=palihapitiya_watson_joke_tweets_file,
                                   sep='\t',
                                   index_col=0,
                                   parse_dates=['tweet_created_at'],
                                   quoting=csv.QUOTE_MINIMAL)

In [3]:
with pd.option_context('display.max_rows', 260, 'display.max_colwidth', 150, 'expand_frame_repr', False):
    display(target_tweets_df)


tweet_created_at tweet_text tweet_user_screen_name
0 2017-05-08 19:23:48 Chamath Palihapitiya says $IBM Watson "is a joke" on CNBC ForexLive
1 2017-05-08 19:25:06 . @chamath just said IBM's Watson is a joke. 😂😂😂😂 macburgh
2 2017-05-08 19:26:56 Chamath Palihapitiya tells Kelly Evans on @CNBCClosingBell that #IBM's Watson is a joke #sohn2017 $ibm DonnaBurton
3 2017-05-08 19:30:49 RT CNBCClosingBell: Chamath Palihapitiya: IBM's Watson is a joke. $IBM #Sohn2017 EmpComLLC
4 2017-05-08 19:36:46 @chamath Good CNBC interview. One thing. The name Watson is from IBM's first CEO, not from Sherlock Holmes. dashofinsight
5 2017-05-08 19:31:16 + "Watson is a pretty amazing invention." - #Buffett on @SquawkCNBC + "Watson is a joke." - @chamath just now $IBM Courtenay_Brown
6 2017-05-08 19:43:39 Chamath Palihapitiya says $IBM Watson "is a joke" on CNBC via ForexLive TradingintheZen
7 2017-05-08 19:50:07 @socialcapital Hey Chamath! Ur a DUMBSHIT, eh? IBM's Watson is named after Tom Watson IBM's founder. You made a FOOL of urself nationally! nickmaier03
8 2017-05-08 20:29:29 Ouch. Palihapitiya: IBM's Watson is a joke https://t.co/GFP1Dgl9Pb NickDunnCNBC
9 2017-05-08 20:44:15 megtirrell: .chamath: IBM Watson is a joke https://t.co/ONOcfb7orS TradeWithSuper
10 2017-05-08 19:24:31 @chamath @benchmark @socialcapital Loved everything you said but Watson named after the original CEO of IBM bev_mc
11 2017-05-08 19:28:05 Chamath Palihapitiya: IBM's Watson is a joke. $IBM #Sohn2017 CNBCClosingBell
12 2017-05-08 20:39:52 🔥chamath: IBM is not innovating cnbc: what about watson? chamath: laughter cnbc: ?? chamath: watson is... a joke. 🔥 https://t.co/EcgmEMiT21 eringriffith
13 2017-05-08 19:22:49 $IBM Palihapitiya: Watson is a joke lilnickysmith
14 2017-05-08 19:25:39 @chamath @CNBC Watson is named IBM CEO Thomas Watson, not Sherlock Holmes. Get a clue. StanTheMan0000
15 2017-05-08 20:38:41 Palihapitiya: IBM's Watson is a joke https://t.co/ZuPty0SRGl https://t.co/EnimiD11hu CNBCTradersFan
16 2017-05-08 19:23:41 "(IBM's) Watson is a joke." -@chamath on CNBC. 😂 hoon
17 2017-05-08 19:47:43 #socialcapital Hey Chamath! Ur a dumbshit, eh? IBM's Watson is named after Tom Watson IBM's founder. You made a FOOL of urself nationally!! nickmaier03
18 2017-05-08 19:26:59 .@chamath on @CNBC: 'We love the convertible bonds' of $TSLA; compares @elonmusk to Thomas Edison. On $IBM? 'Watson… https://t.co/PBwZsXEPuy CNBCJosh
19 2017-05-08 19:28:04 @chamath IBM's Watson much smarter thn Alexa AWS y/y is a ski slope dwn whle Azure grws triple Have u red amzn's balance sheet? Its amusing JessieLivermore
20 2017-05-08 20:43:55 .@chamath: IBM Watson is a joke https://t.co/hjLeV8U8PC megtirrell
21 2017-05-08 19:32:20 RT CNBC "RT CNBCClosingBell: Chamath Palihapitiya: IBM's Watson is a joke. $IBM #Sohn2017" 1111Tony
22 2017-05-08 20:19:42 Say What? Chamath Palihapitiya says IBM's Watson is a joke. Finally someone said it! https://t.co/Y0NKUWIWrp #IBM #Watson ckotsakis
23 2017-05-08 20:45:54 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/bs3OUwrJpS CNBC
24 2017-05-08 20:47:33 RT CNBC "Palihapitiya: IBM's Watson is a joke #Sohn2017 https://t.co/VzsxqZuWLh" 1111Tony
25 2017-05-08 20:49:59 Palihapitiya: IBMs Watson is a joke $IBM https://t.co/S6DviHMrfm https://t.co/ggAmBU6gTj https://t.co/4ayoT0MOV3 wlstcom
26 2017-05-08 20:55:18 #CNBC "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya" https://t.co/V6EYoqPJjX nakhon224
27 2017-05-08 21:20:01 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC https://t.co/FCCnzg2GHC pauldawalibi
28 2017-05-08 21:27:45 interesting comment from Social Capital CEO about #IBMWatson. 😀 https://t.co/w9RsrFTzK5 fanichet
29 2017-05-08 21:54:15 ⭐️ #Business • IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya: Social Capital CEO Chamath…… https://t.co/8RyGJQGPmr Tlemcen_City
30 2017-05-08 21:22:14 Social Capital CEO Palihapitiya put IBM's on blast "Watson 'is a joke!" #ifyoucantsaysomethingnice #AI cc @B0RN_AI https://t.co/Poar34q7wI nicholi57
31 2017-05-08 21:49:55 What's this mean for #DigitalHealth? @chamath to @nataliawwojcik "IBM's Watson 'is a joke'" not at forefront of #AI… https://t.co/Wv8gDw9nbS Paul_Sonnier
32 2017-05-08 21:52:10 Interesting perspective: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/ct7xxvrUpz cmatsyk
33 2017-05-08 20:50:59 IBM's Watson 'is a joke,' says Palihapitiya $IBM #Sohn2017 https://t.co/L7UiYVip8U NataliaWWojcik
34 2017-05-08 20:47:29 New post: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/PtmBPbBxQH KronkStock101
35 2017-05-08 21:18:51 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC. Eddie https://t.co/8bJtZAeQsw DellanEddie
36 2017-05-08 21:01:05 CNBC Top News: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya #CNBC #TopNews https://t.co/2CDj4Ad8cR _Reality_Check_
37 2017-05-08 21:33:58 Good... they are realizing... Tesla is the way.... "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya" https://t.co/9HIM0Qpuzo patricioAI
38 2017-05-08 21:15:14 IBM’s Watson ‘is a joke,’ says Social Capital CEO Palihapitiya https://t.co/nKa5gJ7Yv2 https://t.co/aZCUmjAunt ByteFunding
39 2017-05-08 22:02:46 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - https://t.co/LM6B4f74Px SteveMillerPA
40 2017-05-08 20:47:34 RT CNBC "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/jjmK1Rb8tn" 1111Tony
41 2017-05-08 20:53:03 $IBM $ORCL $TSLA $AMZN: IBM’s Watson ‘is a joke,’ says Social Capital CEO Palihapitiya: https://t.co/Ah16EGUlwz ProTradersNews
42 2017-05-08 21:01:35 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya #Facebook #android #app go to https://t.co/NrXa2OIzfS andrebuklaw
43 2017-05-08 21:15:45 Yikes!!! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/N9qWCzm7iB LindaPullano
44 2017-05-08 21:15:59 @chamath Thought IBM Watson was named after first IBM CEO Thomas Watson, "not after a Sherlock Holmes character." https://t.co/ZFFwLnSWq4 TedatACA
45 2017-05-08 21:20:18 Give credit for awesome marketing though- IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC #AI https://t.co/NFYQZqdAnn josephfdonahue
46 2017-05-08 21:39:10 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya <Wow! Disagree. It has challenges, not a joke! #AI https://t.co/G9didTdeFG tcrawford
47 2017-05-08 21:53:09 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC. 😂🕵🏽@watsonanalytics what say you? https://t.co/7KarG4bL29 ProcessISInc
48 2017-05-08 21:10:17 @chamath NC on your opinion of IBM Watson, but it's named after Thomas Watson, @IBM founder, not Sherlock's Watson. splodie
49 2017-05-08 21:36:00 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6aB2QptWMA via @CNBC #AI https://t.co/e9qeyBJfuI BizBuzzAmerica
50 2017-05-08 21:47:39 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya: IBM's Watson 'is a joke,' says Social Capital… https://t.co/us1W2J0KWZ [fav] overleo
51 2017-05-08 21:03:55 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/SRhEGJhch6 via @josephjett https://t.co/N4RGzZXYvX KatNikulainen
52 2017-05-08 21:58:06 FYI @chamath Thomas J. Watson Sr. was Chairman and CEO of IBM 1914-1956. No known connection to Sherlock Holmes. #ibm #watson tomzazueta
53 2017-05-08 22:02:27 @NataliaWWojcik Palihapitiya is so clueless he does not know Watson is named after IBM's founder. A good reporter m… https://t.co/cH8ju0K4w6 dcg1114
54 2017-05-08 21:21:11 Palihapitiya: IBM's Watson is a joke! #digitalhealth https://t.co/F59OAh1VLr JohnNosta
55 2017-05-08 22:05:06 Wow, bringing the heat! - IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC https://t.co/fALFiurSCs TGorup
56 2017-05-08 22:27:37 IBMs Watson is a joke, says Social Capital CEO Palihapitiya #Technology #JeffBezos $AMZN https://t.co/c5TTH1kPxk https://t.co/nUdDEFXvNQ wlstcom
57 2017-05-08 22:48:54 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya.. https://t.co/Yaaza8aJdG NewsBossIndia
58 2017-05-08 23:20:22 😂 now i know why many of those who invested in #Watson are smiling 😂 https://t.co/z9WTVqfOk1 @NataliaWWojcik @chamath .@IBM Ravi_Bansal5
59 2017-05-08 22:27:55 Boom!!! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/BABebGH1CS EricManlunas
60 2017-05-08 22:27:35 $AMZN IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/TA9SHFGxDz finzine
61 2017-05-08 22:48:59 Palihapitiya: IBM's Watson is a joke.. https://t.co/v7DxlDl4x2 NewsBossIndia
62 2017-05-08 23:14:52 ouch. good thing AIs don’t have feelings 😅 IBM’s Watson ‘is a joke,’ says Social Capital CEO Palihapitiya https://t.co/swGr2PzNOk c4chaos
63 2017-05-08 23:29:52 Thoughts? IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/lFnlyagnyB krisjonescom
64 2017-05-08 23:23:34 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya. https://t.co/HVuZGLfSFj AndrewOHazard
65 2017-05-08 22:27:51 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC $IBM https://t.co/SuIhPBSEKh Lizardjb3
66 2017-05-09 00:09:01 @chamath while I agree with your views on $TSLA, $IBM, $ORCL, minor correction, Watson named after IBM CEO and not Sherlock character🙏 kalpeshkapadia
67 2017-05-09 00:36:55 He is a joke... IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/BPgZcex4y6 https://t.co/BPgZcex4y6 Mojie007
68 2017-05-09 01:11:08 IBM's Watson 'is a joke,' says @socialcapital CEO @chamath https://t.co/oFuLTsDpHF by @nataliawwojcik @CNBC SiliconFunny
69 2017-05-09 00:06:39 #IBM's #Watson 'is a joke,' says Social Capital #CEO #ChamathPalihapitiya https://t.co/sl5pq20i15 DigitalMirko
70 2017-05-09 00:14:28 .@chamath @Google @amazon @IBM I think that's by far the harshest @IBMWatson burn that I've heard so far... DB_Sweeney
71 2017-05-09 00:16:14 Hacker News - IBM's Watson 'is a Joke,' Says Social Capital CEO Palihapitiya https://t.co/yADnecU1nl SecNewsBot
72 2017-05-08 23:54:19 IBM's Watson 'is a Joke,' Says Social Capital CEO Palihapitiya https://t.co/k5db0e8akm ryf_feed
73 2017-05-09 01:09:06 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya KentBrockman #news @8chnewsplus https://t.co/rgHNBNflwB 8chnewsplus
74 2017-05-09 00:20:00 Palihapitiya: IBM's Watson is a joke https://t.co/nlRBkES3l5 via @CNBC JohndMeyer
75 2017-05-09 00:33:34 New post: IBM’s Watson ‘is a joke,’ says Social Capital CEO Palihapitiya https://t.co/eGqhzhUZb3 #Business # nanitoday
76 2017-05-09 01:29:18 Healthcare thinks highly of IBM Watson but a big VC disagree https://t.co/4OTWImn8Kk @chamath @GinniRometty @IBMWatson #hcldr #healthcare ZibdyHealth
77 2017-05-09 01:30:00 Hedge fund manager @chamath calls @elonmusk 'our generation's Thomas Edison' and IBM watson a joke! https://t.co/EZ54loI76H vipulrawal
78 2017-05-09 01:19:25 Palihapitiya: IBM's Watson is a joke https://t.co/i4WDjPkTVi @dgreller @rdockmiller @chrispatrickmke vscarpenter
79 2017-05-09 01:10:08 @chamath shows his ignorance about @IBMWatson with his comments in the video. Has stake in @amazon Hmmmmm? https://t.co/T3gPKiSh8E joreag
80 2017-05-09 01:28:55 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/WI3KoBv3Sy < actually, @chamath is a joke evankirstel
81 2017-05-09 00:42:31 New post: "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya" https://t.co/usJZOVVVnV marketstocknews
82 2017-05-09 01:34:54 An interesting commentary.....IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/aFn2enohZI throwinganet
83 2017-05-09 02:03:19 Hmm >> IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/eK9vu4tBUI #ai #ibm johnkoetsier
84 2017-05-09 02:05:13 Chamath is very good at employing shock value, headline grabbing comments at conferences. Wonder if he's short IBM?🤔 https://t.co/6hPWqm178l HannahOmid
85 2017-05-09 01:53:36 RT @AnthonyWanger: No Punches Pulled: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/h92BB3ng7V #AI #machinele… b4028465
86 2017-05-09 02:24:39 RT @bijans: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/JeDqr6coIU b4028465
87 2017-05-09 02:31:43 #IBM's #Watson 'is a joke,' says @SocialCapital CEO #SherlockHolmes @chamath https://t.co/15vfLqpWWN via @cnbc #ai #cognitive #skeptical CraigMilroy
88 2017-05-09 03:28:38 @chamath #IBN @IBMWatson pdanielcabral
89 2017-05-09 01:42:09 evankirstel: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/QY6H55oyCI < actually, chamath is a joke AfricaAutomate
90 2017-05-09 02:01:25 Palihapitiya: IBMs Watson is a joke $ibm $crm https://t.co/S6DviHMrfm https://t.co/mas5mtylUf https://t.co/617iRACtHL wlstcom
91 2017-05-09 02:23:23 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/EUnhrGfTPW Just saw a commercial about @IBMWatson Impressive? NicholasPotts_
92 2017-05-09 02:37:04 I wonder what Fred Jelinek would have to say on this. IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/4h0fDv8Xeb alacunha
93 2017-05-09 02:26:15 Palihapitiya: #IBM's #Watson is a #joke -- #AI https://t.co/w4ycRyvLkz drexdeford
94 2017-05-09 03:23:12 @chamath Sir. I dont like what you said about @IBMWatson. Anyhoo..Im obsessed and think they are @ the forefront of… https://t.co/7m3HG2MXNe theajayieffect
95 2017-05-09 02:01:20 .@chamath sums up $ibm Watson perception problem. $crm merger w @Benioff as CEO instantly changes perception? https://t.co/We9LrtsNmU echotoall
96 2017-05-09 03:36:03 Looking at AI? IBM's Watson 'is a Joke,' Says Social Capital CEO Palihapitiya https://t.co/uSajoOnuXx https://t.co/vw0AiTLKh8 peytonmcnully
97 2017-05-09 02:57:13 hahaha: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/9LRATxinlN ThoughtKast
98 2017-05-09 01:52:45 No Punches Pulled: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/Y5NOVEH23Q #AI #machinelearning #investing AnthonyWanger
99 2017-05-09 04:53:29 - IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/pmHZT6y8ju #Business in #Colorado $IBM #Tech SchwartzNow
100 2017-05-09 05:32:12 He bite the hand. Get out all remote Indy workers: @IBM 's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/0Q1whRufgN 6AEEB6A0
101 2017-05-09 03:59:11 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/Eh3lFPquqU via @cnbctech CNBC
102 2017-05-09 04:19:26 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/sjUBoTRayj great to see a Lankan making highlights #LKA yasasw
103 2017-05-09 04:01:48 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/JV5VzdwgSS via cnbctech Behzadon
104 2017-05-09 05:19:29 RT @eringriffith: 🔥chamath: IBM is not innovating cnbc: what about watson? chamath: laughter cnbc: ?? chamath: watson is... a joke. 🔥 htt b4028465
105 2017-05-09 05:33:20 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/bKw8A6u0ln #fintech @nataliawwojcik… https://t.co/WQuquHoiDT SpirosMargaris
106 2017-05-09 05:32:13 Scathing here ... Chamath Palihapitiya says IBM Watson 'is a joke' https://t.co/VLuiehAf5a ArjunKharpal
107 2017-05-09 04:35:46 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC https://t.co/DA8HEYsViY via thanks @trengriffin walpolet
108 2017-05-09 04:07:06 RT CNBC "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/ozXr7DL5eT via cnbctech" 1111Tony
109 2017-05-09 04:30:10 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/7W9gfetRt6 #News via @IBNMoney_com #USA JohnReedz
110 2017-05-09 04:35:11 Social Capital’s Chamath Palihapitiya isn’t a fan of IBM’s #Watson. Strong comments. https://t.co/Q56YI9puOx #AI tuomaseerola
111 2017-05-09 05:18:08 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya. IBM's Watson computing system. Palihapitiya:... https://t.co/vvc4FE05TR synergy_london
112 2017-05-09 05:00:58 Palihapitiya IBM's Watson is a joke: https://t.co/jb6SntqIeG via @YouTube TKarachchi
113 2017-05-09 05:07:34 @IBM's #Watson 'is a joke,' says @chamath ,Social Capital CEO Palihapitiya https://t.co/nMP94HFQWv nitinmathur
114 2017-05-09 05:49:46 Then let Palihapitiya make another Oracle,IBM or a Microsoft. Looks like he needs more pie from Tesla & Amazon. https://t.co/k5IcN7SCfG georgevargh
115 2017-05-09 05:49:03 Is AI a complete joke? Haave we been oversold on it's potential? https://t.co/DsLwDJKWrY Palihapitiya: IBM's Watson is a joke BothSquared
116 2017-05-09 08:04:13 #AI: IBM's Watson 'is a joke,' says Social Capital CEO Palihapi... #ArtificialIntelligence https://t.co/X09wwdnTT1 https://t.co/Fl38ZDnJgM marcpicaud
117 2017-05-09 07:57:12 Don't hold back! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/FpGAAhMVcK #AI drlynnphd
118 2017-05-09 09:02:07 IBM's Watson 'is a joke,' says Social Capital CEO @chamath Palihapitiya https://t.co/5ATpbHpfvk ediggs
119 2017-05-09 09:21:22 #IBMWatson is a #joke - @SocialCapital #CEO @Chamath https://t.co/vqO91RXELS #Sohn2017 #AI #SohnConference… https://t.co/jU6EpZGPYD rajeevgm
120 2017-05-09 10:22:25 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - https://t.co/Tj3t703G5E via https://t.co/En4W8w4QHZ vanja180700
121 2017-05-09 10:37:56 'Watson is a joke," @chamath "IBM is excellent using marketing to convince people w less knowledge to pay" https://t.co/ZBUFykdQIQ gudjon
122 2017-05-09 09:49:27 No laughing matter. IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/ZgshqIYjBE gatgman
123 2017-05-09 10:52:05 Ouch! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/lNUUpJrV2W mikelacare
124 2017-05-09 11:12:32 @IBM's #Watson 'is a joke,' says @chamath https://t.co/M0ed69HHWG veevenk
125 2017-05-09 12:11:03 Wow! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/SO2pPVveEO https://t.co/SO2pPVveEO markaeveritt
126 2017-05-09 11:46:50 IBM's Watson 'is a joke,' Social Capital Palihapitiya https://t.co/e4OLAu4kmn betting on $AMZN is a better choice for #AI #automation blogsofstuff
127 2017-05-09 11:33:55 @chamath calls @IBMWatson a joke. #AI unraveling? https://t.co/czVDmfVHC1 ABHISHEKXSINGH
128 2017-05-09 12:32:54 @chamath quit embarrassing yourself with your phony claims re IBM Watson. BobboGo78
129 2017-05-09 12:31:14 @chamath @andrewrsorkin @MelissaLeeCNBC $IBM is a bloated, no-growth, bureaucratic company trying to hide this all with the facade of Watson OracleofWallSt
130 2017-05-09 13:04:25 .@chamath just killing Oracle and IBM yesterday. Refreshing. https://t.co/2CtjqR5vYi samwdii
131 2017-05-09 12:22:57 #Innovate: Palihapitiya: IBM's Watson is a joke https://t.co/Dck3tOpJou, see more https://t.co/FrPQlfbyvj innowatcher
132 2017-05-09 13:00:32 @sallyshin @RiskReversal @chamath Soooooo with all that said, How is @chamath figuring #IBMWatson is a Joke?!? Maybe I'm confused..?? HoodSavior
133 2017-05-09 13:00:33 RT: @HoodSavior-@sallyshin @RiskReversal @chamath Soooooo with all that said, How is @chamath figuring #IBMWatson is a Joke?!? Maybe I'm c MartinaJnkrs
134 2017-05-09 12:13:24 @andrewmaxr This guy kind of sounds stupid. #notthatwatson IBM's Watson 'is a joke,':Social Capital CEO Palihapitiya https://t.co/LzdB6YFF4b JeffWilson913
135 2017-05-09 12:56:15 Shots fired 🔫🔫. "@IBMWatson is a joke" -@chamath https://t.co/eZptBnRKuO idealexit
136 2017-05-09 12:24:17 @chamath don't think Echo can do this. Alexa is a joke IBM 's Watson is so far ahead https://t.co/r1cAMsXRyA JessieLivermore
137 2017-05-09 12:54:00 Watson and 911 I guess >> IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/W1c9pICnYA https://t.co/PBogztdr75 adamhonig
138 2017-05-09 12:25:04 IBM responds to @chamath's comments referencing Watson as "a joke". https://t.co/Gs0p1Xkg7g https://t.co/hUHgrADJ7q sallyshin
139 2017-05-09 12:29:31 @chamath @SquawkCNBC so so so glad to hear re: @IBM. Watson team told us they cud not do what I wanted re: emotion. DeniseKShull
140 2017-05-09 12:42:34 "@Chamath Palihapitiya: @IBMWatson is a joke https://t.co/t9FaMI7L0q Ouch! invinciblesaad
141 2017-05-09 12:41:43 " @Chamath Palihapitiya: @IBMWatson is a joke https://t.co/t9FaMI7L0q Ouch! invinciblesaad
142 2017-05-09 13:19:48 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - IBM IS THE REAL JOKE, NOT JUST WATSON!!! BlackBlows1
143 2017-05-09 13:30:48 Ouch IBM! @chamath says it like he sees it. "Watson is a joke" https://t.co/EqgLaDLNtv SuB8u
144 2017-05-09 13:54:10 oooooh geek fight! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya [and IBM responds] https://t.co/DmtKVo4olB rampurple
145 2017-05-09 14:18:05 I wouldn't call this a joke @chamath IBM's Watson supercomputer is bringing AI-fueled cancer care to Americans https://t.co/MbZWjpfAUg clairejobe
146 2017-05-09 13:41:14 .@chamath calls Watson a joke, says data is key to AI. Yet IBM has more healthcare data than $GOOG, $FB, $AMZN combined. jwan584
147 2017-05-09 14:06:54 Chamath Palihapitiya slams IBM for its #AI #Watson as a "joke designed to convince people who have asymmetrically…https://t.co/wmSWGgDk4B hicham_aoubid
148 2017-05-09 14:13:27 #ArtificialIntelligence #AI No joke, I'd like to see my firm go head-to-head with IBM on A.I.: Palihapitiya https://t.co/JGIQiiPgDp b4028465
149 2017-05-09 14:27:25 Fav clip of the day 🔥 Palihapitiya: IBM's Watson is a joke https://t.co/WvnGv9WRyl via @cnbc jrichlive
150 2017-05-09 13:53:05 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya FYI @gregorydgirard https://t.co/tx4OUn15GN davehochman
151 2017-05-09 14:00:14 #DataAnalytics : IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiy. https://t.co/I8B0gK1Prt skirchacker
152 2017-05-09 14:26:56 @Chamath Palihapitiya will never build a company like Thomas J. Watson, the first CEO of IBM, because… https://t.co/ytHdsdIA6e PatFrank15
153 2017-05-09 14:53:58 @Chamath play the clip. "Game changer" @IBMWatson @IBMSecurity @IBMFacts Not a joke! https://t.co/RUiXHEdksP PatFrank15
154 2017-05-09 15:27:16 Interesting perspective. @IBM Watson 'is a joke,' says Social Capital CEO | @cnbc https://t.co/obpeEjDbXG MDecoder1
155 2017-05-09 14:40:26 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya. https://t.co/aWKiADblyd Wow, that was hard to hear. Dayachong
156 2017-05-09 14:50:39 WoW: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/IyhZpAWu5j sgr0ver
157 2017-05-09 15:15:07 IBM's Watson 'is a joke,'says Social Capital CEO Palihapitiya https://t.co/420asAPiJE #artificialinteligence #AI #Watson #Google #Amazon #F8 hichintan
158 2017-05-09 15:31:37 #IBM #'s Watson 'is a joke,' says Social Capital CEO Palihapitiya. Read more: https://t.co/4ZBrftWNCu $IBM _it_services
159 2017-05-09 15:26:01 @chamath is right ... Watson is a joke. $IBM biggercapital
160 2017-05-09 15:01:45 What has @chamath discovered? @IBMWatson discovers how our bodies work @IBMFacts https://t.co/hAEDOACGBw PatFrank15
161 2017-05-09 15:27:20 *Yea. It is- IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/amTzOpylkf Daemon_Blak
162 2017-05-09 15:57:24 Bunch of IBM corporate accounts pushing back against @chamath’s “Watson is a joke” line yesterday. Oh, thirst... BlairReeves
163 2017-05-09 15:41:30 @IBMWatson doing leadership work that even critics can't ignore, @chamath https://t.co/OZX6sLh0lj ebarbini
164 2017-05-09 16:39:27 No joke, I'd like to see my firm go head-to-head with IBM on A.I., says venture capitalist Palihapitiya https://t.co/3McjhUJ76r #ai gotbot
165 2017-05-09 17:17:59 "IBM Watson is a joke" says VC Social Capital's CEO https://t.co/1UAgtl0dtq nickmcquire
166 2017-05-09 17:06:15 IBM's Watson is a joke - @chamath https://t.co/44M54aZXXG mekalav
167 2017-05-09 16:35:18 "IBM’s Watson ’is a joke,’ says Social Capital CEO Palihapitiya - CNBC" https://t.co/PAY8RqGVqL millennialinvst
168 2017-05-09 16:37:11 I love @chamath Cutting through the massive @IBM marketing machine mumbo jumbo #AI https://t.co/ZzNUZ850jM phelanrfp
169 2017-05-09 18:26:31 Social Capital CEO Palihapitiya https://t.co/HyYcMHtsgr totally underestimates IBM's Watson's new CEO @Davidwkenny. lmholliday
170 2017-05-09 18:15:14 IBM's Watson 'is a Joke' Says Social Capital CEO Palihapitiya https://t.co/nFJ2C5oV4k developerhcnews
171 2017-05-09 17:38:21 Amen to that. Palihapitiya: IBM's Watson is a joke https://t.co/pgSvHZkVSD ainsleyoc
172 2017-05-09 18:25:21 Hacker News - IBM's Watson 'is a Joke' Says Social Capital CEO Palihapitiya https://t.co/yADnecU1nl SecNewsBot
173 2017-05-09 18:43:59 IBM's #Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/DODLIyr8F7 $IBM snathan360
174 2017-05-09 18:49:56 @CNBCClosingBell @chamath Everyone is entitled to their opinion but I disagree. #IBM #Watson JekiaFord
175 2017-05-09 18:23:02 #IBM's #Watson is a joke, and #Oracle won't be 'winning' for long says @chamath on an fire raining @CNBC interview… https://t.co/H74atYVeO7 cameronmcnz
176 2017-05-09 18:48:21 @thinkmariya @chamath @IBMWatson Didn't realize finding 5 new genes linked to ALS in a span of months vs years was… https://t.co/vWOqsfWIs0 _chelseaa_s
177 2017-05-09 17:46:36 According to @chamath: "@IBMWatson is a joke." Curious about your thoughts. https://t.co/KAfEvQcdXW #AI #ML thinkmariya
178 2017-05-09 19:07:07 @CNBCJosh @chamath @CNBC @elonmusk Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife
179 2017-05-09 19:45:31 @chamath - @IBMWatson was named after #IBM's first CEO, industrialist Thomas J. Watson-get ALL the facts straight - #nojoke #FactoftheDay CbassStorage
180 2017-05-09 19:03:18 @cameronmcnz @chamath @CNBC Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife
181 2017-05-09 19:01:08 @megtirrell @chamath Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife
182 2017-05-09 19:03:07 @thtranx @chamath Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife
183 2017-05-09 19:11:44 @AlexSarife @chamath @CNBC @IBMWatson @IBMFacts @IBMNews Well said. cameronmcnz
184 2017-05-09 19:18:35 Joshua R. McIntyre: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya #business #AI https://t.co/XGYDzu1JZ8  #Money … Tocacyy
185 2017-05-09 19:28:45 @thinkmariya @chamath @IBMWatson He has some good points, but loses credibility after claiming that Watson was name… https://t.co/NsLnZqwfHg ledell
186 2017-05-09 19:01:11 "Watson was named after IBM's first CEO, industrialist Thomas J. Watson" @chamath not after a literary character #NoJoke @IBMFacts ASCarman
187 2017-05-09 18:57:27 @IBMWatson is no joke! @chamath Watson was named after Thomas J. Watson, not the Sherlock Holmes character. jgnoonan
188 2017-05-09 19:18:14 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/x8JooMYPz9 @ngenest @jhamel PatlePresDesPP
189 2017-05-09 20:29:32 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya Wow #imbecilealert https://t.co/jCDvV1DR45 codeslubber
190 2017-05-09 21:13:56 wow - uncharacteristically dim-witted: @chamath asserts @IBMWatson is a [multi billion dollar] joke https://t.co/von3OtieGd #lol #fail hankejh
191 2017-05-09 21:34:31 YahooFinance: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/61DGb3H5j2 https://t.co/0CBKQtrEB9 serge_poznanski
192 2017-05-09 21:34:15 #SMARTPipsHub Finance: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/yCJtqSVdqc… https://t.co/4zcBnBfosE SMARTPipsHub
193 2017-05-09 22:44:56 @ledell @chamath @IBMWatson (2/2) ...to also being associated with more popular Sherlock figure. Multiple associations can strengthen brand. thinkmariya
194 2017-05-09 21:34:35 YahooFinance: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/ZUFGucL5kI … https://t.co/jhh3Gg1efE bdnews24
195 2017-05-09 21:43:45 Odd that @socialcapital's @chamath badmouths @IBMWatsonHealth, an #AI fighting cancer. Bad Blood? https://t.co/3u7zCccwEK #oncology hyounpark
196 2017-05-09 21:37:22 #IBM's #Watson 'is a joke,' says Social Capital CEO #Palihapitiya - https://t.co/l4KwZphaoC jtte1
197 2017-05-09 22:15:01 IBM's Watson 'is a joke,' says Social Capital CEO https://t.co/ZbnqTqaAAA @NataliaWWojcik (he doesn't pull any pun… https://t.co/AVROAK7Re2 Frank_Strong
198 2017-05-09 22:43:33 @ledell @chamath @IBMWatson Good catch, but also common misconception that IBM doesn't often correct publically b/c there can be advantage thinkmariya
199 2017-05-09 23:03:49 @thinkmariya @chamath @IBMWatson His argument is not convincing & he should have said sth more thoughtful to make h… https://t.co/7LcZnVKeA9 ledell
200 2017-05-10 00:14:40 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/jbjCCOoEbK Via @headlineswiki.com PollsHost
201 2017-05-09 23:01:21 @thinkmariya @chamath @IBMWatson Good point, I'm sure Watson benefits from co-association of the name. ledell
202 2017-05-10 00:40:12 @IBMWatson: @chamath would you like to play a game of chess? https://t.co/18kdifXkZv MichaelGokturk
203 2017-05-09 23:06:38 @chamath Watson is named after the founder of our company Thomas J Watson, maybe you've heard of him? https://t.co/bFvL0hpl1t @@IBMFacts dcross1317
204 2017-05-10 01:07:32 @IBMFacts @CNBCJosh @chamath @CNBC @elonmusk What a joke https://t.co/6zum6JLWdd with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig
205 2017-05-10 01:10:04 @RScapitalINC @GinniRometty @jimcramer Last afternoon @chamath called @IBMWatson a joke! Lack of leadership clearly seen at IBM Abhi_Mogre
206 2017-05-10 01:20:49 @hankejh @chamath @IBMWatson What a joke https://t.co/6zum6JLWdd … with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig
207 2017-05-10 01:14:34 @megtirrell @chamath What a joke https://t.co/6zum6JLWdd with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig
208 2017-05-10 00:55:04 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/F88AW20vd2 #datascience @thomaswdinsmore ThomasSpeidel
209 2017-05-10 00:50:35 IBM's Watson 'is a joke,' says Social Capital CEO @Chamath https://t.co/o4a48w7xVd akme_c
210 2017-05-10 01:15:12 @Abhi_Mogre @RScapitalINC @GinniRometty @jimcramer @chamath @IBMWatson https://t.co/6zum6JLWdd AndreMKonig
211 2017-05-10 04:28:11 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/O9dwfaFpRn I may not agree with it...but Interesting comments! joslinvk
212 2017-05-10 08:33:52 #IBM's Watson 'is a joke,' says #SocialCapital #CEO Palihapitiya... https://t.co/eT3h2JMx1s https://t.co/ReKEuIjerS Funnylizer
213 2017-05-10 08:28:03 Wow @chamath savaged IBM and Oracle in 3 minutes of zany genius https://t.co/sLvCpxm5f5 Huk06
214 2017-05-10 09:45:02 #IBMWatson's a joke, & Oracle won't be winning for long says a fire-breathing @chamath. @cameronmcnz's article here… https://t.co/Ffn8YIn186 TSS_dotcom
215 2017-05-10 09:49:25 Is IBMWatson a joke as per @chamath https://t.co/L5ANMTCX8Y or a way to pay IBM while you lay off staff?… https://t.co/3VKAMI1pJ1 mHealthInsight
216 2017-05-10 11:53:37 "Palihapitiya: IBM's Watson is a joke" @chamath #ai https://t.co/xJQpkPTv8B https://t.co/CnAf1gsXl9 roundtrip
217 2017-05-10 12:33:49 @chamath: #IBM's #Watson is a joke https://t.co/b6hhzx1gdz #ArtificialIntelligence #AI #Robotics #MachineLearning Mehdi_Na
218 2017-05-10 12:34:54 😱 Q fuerte: "IBM's Watson is a joke"..."I put them and Oracle in the same bucket" dice el CEO de Social Capital CEO https://t.co/burMF3saxf vicentexe
219 2017-05-10 12:35:56 😱 Q fuerte: "IBM's Watson is a joke"..."I put them and Oracle in the same bucket" dice el CEO de Social Capital https://t.co/burMF3saxf vicentexe
220 2017-05-10 15:17:34 Another amazing discovery by @IBMWatson! #NoJoke @chamath #IBM #Watson #ALS https://t.co/w8Ey73afZw MattRMorrison
221 2017-05-10 15:31:18 lost in @chamath overblown @IBMWatson #AI criticism were a couple good points on where AI is going. being too loud can backfire & did moosechris
222 2017-05-10 15:33:33 .@chamath also needs to admit @IBMWatson is legitimizing #AI by educating consumers. Everyone else is benefiting from that. like PC in 80's moosechris
223 2017-05-10 18:16:31 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/sjC1JqgwPX lol who the hell are social capital.... #jokers PetrostarsUK
224 2017-05-10 19:16:38 Sad to hear the #joke comment on @IBMWatson by @chamath from @socialcapital and then having to back track https://t.co/dTFHN1wc6M atg_abhishek
225 2017-05-10 21:16:23 Ruthless-yet crisply articulated #data #AI #Enterprise #B2C @google @amazon @ibm @oracle Social Capital CEO @chamath https://t.co/IJ98qIHdnj valb00
226 2017-05-10 21:38:45 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/OZ01ACK8tm who knew? rogerschank
227 2017-05-11 01:18:58 Social Capital founder pretty bearish on IBM: "IBM Watson is a joke"... Thoughts? @chamath #CNBC #IBMWatson #AI https://t.co/y5YBidBuVl mjia
228 2017-05-11 03:25:46 No joke, I'd like to see my firm (@socialcapital) go head-to-head with #IBM on #AI says @chamath https://t.co/ARFiFQROHu via @cnbc CraigMilroy
229 2017-05-11 15:00:18 Palihapitiya: IBM's Watson is a joke. https://t.co/7ZZKVkSGJu ahmaurya
230 2017-05-11 17:06:59 #ShameOnChamath See what Watson is really doing #IBM #Watson https://t.co/FAQZ9fk0rz BLUEPedro44
231 2017-05-11 22:01:03 Contrarian of the day: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/4gDL5CbcEG https://t.co/1nXMvayb1b m0therAI
232 2017-05-12 12:50:12 Totally agree w/ @chamath; @IBM #WatsonisaJoke. When u need J.Koons sculpture in ur lobby (IBM NYC), ur tech can't… https://t.co/1FnykKkjzp aqsamurai
233 2017-05-12 13:02:33 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/8uuFV73Y3F < he doesn't even know what it's named after 🙄 blm849
234 2017-05-12 16:14:36 IBM's Watson 'is a joke,' says @chamath https://t.co/McO7dJSa81 darwinl
235 2017-05-12 17:39:54 .@chamath says @IBMWatson is a joke https://t.co/xiGpFEoZco What do you think @TheAdamGabriel? #AI #ArtificialIntelligence InternetOfSpies
236 2017-05-12 19:16:02 Seems our CEO @rogerschank & @chamath have something in common. #ibmwatson https://t.co/cPfYVWMVGL https://t.co/b9otf5PxI4 SchankAcademy
237 2017-05-13 14:36:26 CEO Smack talk: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya... https://t.co/rDNxgEDdmW mookieghana
238 2017-05-14 02:15:29 Quote of the year goes to the Social Capital guy: $IBM 's "Watson is a joke". mydailybeef
239 2017-05-14 14:29:12 @thinkmariya @chamath @IBMWatson I like that comparison. We've watched IBM in this field for I guess +decade now an… https://t.co/EfgzlUIgZA mikkokotila
240 2017-05-14 14:20:44 .@chamath isn't only one who says @IBMWatson is a joke. Douglas Hofstadter calls it & Siri "absolutely vacuous" https://t.co/96WyMflPhb #AI thinkmariya
241 2017-05-14 16:47:21 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/gMTn23uFCN @CNBC @socialcapital @IBMWatsonHealth @IBMHealthcare mHealthIsrael
242 2017-05-14 16:45:24 Noted VC Chamath Palihapitiya says IBM Watson is a joke. Interestingly, IBM feels obliged to respond. https://t.co/dE2PIEKfYK cccalum
243 2017-05-15 00:27:46 RT @dchou1107: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/dHtz0lh28r b4028465
244 2017-05-15 14:35:45 .@chamath calls @IBMWatson “a joke” #VC #IBMwatson https://t.co/BHB814IMo6 erindietsche
245 2017-05-15 16:19:11 Strong words: Chamath Palihapitiya, CEO and founder of Social Capital, shot down IBM and its Watson platform https://t.co/R1f7mp72Am JohnOroMD
246 2017-05-15 19:42:26 VC @chamath @socialcapital and @warriors owner calls #IBMWatson “a joke” by @erindietsche @medcitynews https://t.co/78ZJx1SDl7 #AI StephLBaum
247 2017-05-15 19:43:24 VC @chamath @socialcapital CEO and @warriors owner calls @IBMWatson “a joke” by @erindietsche https://t.co/dUSFd7SsAI #AI medcitynews
248 2017-05-15 23:11:03 IBM’s Watson ‘is a joke’, says Social Capital CEO Palihapitiya https://t.co/Ng9wlyfjwb https://t.co/T44JMo9aA6 breizh2008
249 2017-05-16 09:44:00 Joke or not a joke? IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/hRhWVeUVw0 Digital_Niko
250 2017-05-16 13:26:17 How to slash your credibility; @Chamath IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete
251 2017-05-16 13:23:37 How to slash your credibility; @Palihapitiya IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete
252 2017-05-16 13:21:53 How to slash your credibility; @Palihapitaya IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete
253 2017-05-16 14:01:01 Shots fired -IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/rdfnOwN1v2 ezetusky
254 2017-05-16 16:02:44 Other than his Watson name mistake, I agree w/ @chamath that IBM Watson is more marketing hype than a real solution https://t.co/gwBNEEEe48 SkipFleshman
255 2017-05-16 17:05:06 VC @chamath calls @IBMWatson “a joke” https://t.co/HjI8JW6VAW is Watson "saving lives" or an invention of IBM marketing? lennytafro
256 2017-05-16 22:53:50 IBM isn't at the forefront of AI, "Watson is a joke": @chamath, CEO of @socialcapital says in interview -- https://t.co/YnSFazNwfX DataRobot
257 2017-05-17 14:33:01 No, there're too many useful #apps | #IBMWatson 'is a joke,' says Social Capital CEO Palihapitiya | #AI |… https://t.co/u6khlYwpU9 tweetreinoud

Manually tag each tweet

Manually tag each tweet related to "social_capital_ceo_palihapitiya_watson_joke" news for:

  • tweet_sentiment: being neutral (1), mild (2), or stimulant/sarcastic (3)
  • tweet_news: correspond to first news (1), or second news (2)

In [ ]:
"""
Register
    palihapitiya_watson_joke_tweets_tag_file
in Initialization section
"""

Check data and quick plot


In [2]:
"""
Load data
"""
if 1 == 1:
    '''
    Read in all tweets related to the 'social_capital_ceo_palihapitiya_watson_joke' news
    '''
    target_tweets_df = pd.read_csv(filepath_or_buffer=palihapitiya_watson_joke_tweets_file,
                               sep='\t',
                               index_col=0,
                               parse_dates=['tweet_created_at'],
                               quoting=csv.QUOTE_MINIMAL)
    '''
    Read in manually tagged information for all tweets just loaded 
    '''
    target_tweets_tag_df = pd.read_csv(filepath_or_buffer=palihapitiya_watson_joke_tweets_tag_file,
                                       sep='\t',
                                       index_col=0)
    
    '''
    Combine dfs and set index
    '''
    test_tweets_df = target_tweets_df.join(target_tweets_tag_df)
    test_tweets_df['tweet_index'] = test_tweets_df.index
    test_tweets_df = test_tweets_df.set_index('tweet_created_at')

In [3]:
"""
Check tweets related to second news
"""
if 1 == 1:
    test_df = test_tweets_df[test_tweets_df['tweet_news'] == 2]
    display(test_df)


tweet_text tweet_user_screen_name tweet_news tweet_sentiment tweet_index
tweet_created_at
2017-05-09 03:36:03 Looking at AI? IBM's Watson 'is a Joke,' Says ... peytonmcnully 2 1 96
2017-05-09 14:13:27 #ArtificialIntelligence #AI No joke, I'd like ... b4028465 2 1 148
2017-05-09 16:39:27 No joke, I'd like to see my firm go head-to-he... gotbot 2 1 164
2017-05-10 00:40:12 @IBMWatson: @chamath would you like to play a ... MichaelGokturk 2 2 202
2017-05-10 19:16:38 Sad to hear the #joke comment on @IBMWatson by... atg_abhishek 2 2 224
2017-05-11 03:25:46 No joke, I'd like to see my firm (@socialcapit... CraigMilroy 2 1 228
2017-05-14 16:45:24 Noted VC Chamath Palihapitiya says IBM Watson ... cccalum 2 2 242

In [4]:
"""
For tweets related to first news
Build tmp dfs for tweets in mild sentiment and harsh sentiment separately
"""
if 1 == 1:
    mild_cond = (test_tweets_df['tweet_news'] == 1) & (test_tweets_df['tweet_sentiment'] == 2)
    harsh_cond = (test_tweets_df['tweet_news'] == 1) & (test_tweets_df['tweet_sentiment'] == 3)
    
    mild_tweets_df = test_tweets_df[mild_cond]
    harsh_tweets_df = test_tweets_df[harsh_cond]

In [5]:
"""
Check tweets in mild sentiment 
"""
print(mild_tweets_df['tweet_index'].count())
with pd.option_context('display.max_rows', 100, 'display.max_colwidth', 150, 'expand_frame_repr', False):
    display(mild_tweets_df)


37
tweet_text tweet_user_screen_name tweet_news tweet_sentiment tweet_index
tweet_created_at
2017-05-08 19:25:06 . @chamath just said IBM's Watson is a joke. 😂😂😂😂 macburgh 1 2 1
2017-05-08 19:23:41 "(IBM's) Watson is a joke." -@chamath on CNBC. 😂 hoon 1 2 16
2017-05-08 21:27:45 interesting comment from Social Capital CEO about #IBMWatson. 😀 https://t.co/w9RsrFTzK5 fanichet 1 2 28
2017-05-08 21:52:10 Interesting perspective: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/ct7xxvrUpz cmatsyk 1 2 32
2017-05-08 21:33:58 Good... they are realizing... Tesla is the way.... "IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya" https://t.co/9HIM0Qpuzo patricioAI 1 2 37
2017-05-08 21:20:18 Give credit for awesome marketing though- IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC #AI https://t.co/NFYQZqdAnn josephfdonahue 1 2 45
2017-05-08 21:53:09 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC. 😂🕵🏽@watsonanalytics what say you? https://t.co/7KarG4bL29 ProcessISInc 1 2 47
2017-05-08 23:20:22 😂 now i know why many of those who invested in #Watson are smiling 😂 https://t.co/z9WTVqfOk1 @NataliaWWojcik @chamath .@IBM Ravi_Bansal5 1 2 58
2017-05-08 23:29:52 Thoughts? IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/lFnlyagnyB krisjonescom 1 2 63
2017-05-09 01:34:54 An interesting commentary.....IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/aFn2enohZI throwinganet 1 2 82
2017-05-09 02:03:19 Hmm >> IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/eK9vu4tBUI #ai #ibm johnkoetsier 1 2 83
2017-05-09 02:05:13 Chamath is very good at employing shock value, headline grabbing comments at conferences. Wonder if he's short IBM?🤔 https://t.co/6hPWqm178l HannahOmid 1 2 84
2017-05-09 02:23:23 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/EUnhrGfTPW Just saw a commercial about @IBMWatson Impressive? NicholasPotts_ 1 2 91
2017-05-09 02:37:04 I wonder what Fred Jelinek would have to say on this. IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/4h0fDv8Xeb alacunha 1 2 92
2017-05-09 02:01:20 .@chamath sums up $ibm Watson perception problem. $crm merger w @Benioff as CEO instantly changes perception? https://t.co/We9LrtsNmU echotoall 1 2 95
2017-05-09 02:57:13 hahaha: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/9LRATxinlN ThoughtKast 1 2 97
2017-05-09 05:32:12 He bite the hand. Get out all remote Indy workers: @IBM 's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/0Q1whRufgN 6AEEB6A0 1 2 100
2017-05-09 04:19:26 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/sjUBoTRayj great to see a Lankan making highlights #LKA yasasw 1 2 102
2017-05-09 07:57:12 Don't hold back! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/FpGAAhMVcK #AI drlynnphd 1 2 117
2017-05-09 11:46:50 IBM's Watson 'is a joke,' Social Capital Palihapitiya https://t.co/e4OLAu4kmn betting on $AMZN is a better choice for #AI #automation blogsofstuff 1 2 126
2017-05-09 15:27:16 Interesting perspective. @IBM Watson 'is a joke,' says Social Capital CEO | @cnbc https://t.co/obpeEjDbXG MDecoder1 1 2 154
2017-05-09 15:26:01 @chamath is right ... Watson is a joke. $IBM biggercapital 1 2 159
2017-05-09 16:37:11 I love @chamath Cutting through the massive @IBM marketing machine mumbo jumbo #AI https://t.co/ZzNUZ850jM phelanrfp 1 2 168
2017-05-09 17:38:21 Amen to that. Palihapitiya: IBM's Watson is a joke https://t.co/pgSvHZkVSD ainsleyoc 1 2 171
2017-05-09 18:49:56 @CNBCClosingBell @chamath Everyone is entitled to their opinion but I disagree. #IBM #Watson JekiaFord 1 2 174
2017-05-09 17:46:36 According to @chamath: "@IBMWatson is a joke." Curious about your thoughts. https://t.co/KAfEvQcdXW #AI #ML thinkmariya 1 2 177
2017-05-09 19:11:44 @AlexSarife @chamath @CNBC @IBMWatson @IBMFacts @IBMNews Well said. cameronmcnz 1 2 183
2017-05-09 19:28:45 @thinkmariya @chamath @IBMWatson He has some good points, but loses credibility after claiming that Watson was name… https://t.co/NsLnZqwfHg ledell 1 2 185
2017-05-10 01:10:04 @RScapitalINC @GinniRometty @jimcramer Last afternoon @chamath called @IBMWatson a joke! Lack of leadership clearly seen at IBM Abhi_Mogre 1 2 205
2017-05-10 04:28:11 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/O9dwfaFpRn I may not agree with it...but Interesting comments! joslinvk 1 2 211
2017-05-10 15:33:33 .@chamath also needs to admit @IBMWatson is legitimizing #AI by educating consumers. Everyone else is benefiting from that. like PC in 80's moosechris 1 2 222
2017-05-10 21:38:45 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/OZ01ACK8tm who knew? rogerschank 1 2 226
2017-05-11 01:18:58 Social Capital founder pretty bearish on IBM: "IBM Watson is a joke"... Thoughts? @chamath #CNBC #IBMWatson #AI https://t.co/y5YBidBuVl mjia 1 2 227
2017-05-12 19:16:02 Seems our CEO @rogerschank & @chamath have something in common. #ibmwatson https://t.co/cPfYVWMVGL https://t.co/b9otf5PxI4 SchankAcademy 1 2 236
2017-05-14 14:29:12 @thinkmariya @chamath @IBMWatson I like that comparison. We've watched IBM in this field for I guess +decade now an… https://t.co/EfgzlUIgZA mikkokotila 1 2 239
2017-05-14 14:20:44 .@chamath isn't only one who says @IBMWatson is a joke. Douglas Hofstadter calls it & Siri "absolutely vacuous" https://t.co/96WyMflPhb #AI thinkmariya 1 2 240
2017-05-16 16:02:44 Other than his Watson name mistake, I agree w/ @chamath that IBM Watson is more marketing hype than a real solution https://t.co/gwBNEEEe48 SkipFleshman 1 2 254

In [6]:
"""
Check tweets in harsh sentiment 
"""
print(harsh_tweets_df['tweet_index'].count())
with pd.option_context('display.max_rows', 100, 'display.max_colwidth', 150, 'expand_frame_repr', False):
    display(harsh_tweets_df)


100
tweet_text tweet_user_screen_name tweet_news tweet_sentiment tweet_index
tweet_created_at
2017-05-08 19:36:46 @chamath Good CNBC interview. One thing. The name Watson is from IBM's first CEO, not from Sherlock Holmes. dashofinsight 1 3 4
2017-05-08 19:31:16 + "Watson is a pretty amazing invention." - #Buffett on @SquawkCNBC + "Watson is a joke." - @chamath just now $IBM Courtenay_Brown 1 3 5
2017-05-08 19:50:07 @socialcapital Hey Chamath! Ur a DUMBSHIT, eh? IBM's Watson is named after Tom Watson IBM's founder. You made a FOOL of urself nationally! nickmaier03 1 3 7
2017-05-08 20:29:29 Ouch. Palihapitiya: IBM's Watson is a joke https://t.co/GFP1Dgl9Pb NickDunnCNBC 1 3 8
2017-05-08 19:24:31 @chamath @benchmark @socialcapital Loved everything you said but Watson named after the original CEO of IBM bev_mc 1 3 10
2017-05-08 20:39:52 🔥chamath: IBM is not innovating cnbc: what about watson? chamath: laughter cnbc: ?? chamath: watson is... a joke. 🔥 https://t.co/EcgmEMiT21 eringriffith 1 3 12
2017-05-08 19:25:39 @chamath @CNBC Watson is named IBM CEO Thomas Watson, not Sherlock Holmes. Get a clue. StanTheMan0000 1 3 14
2017-05-08 19:47:43 #socialcapital Hey Chamath! Ur a dumbshit, eh? IBM's Watson is named after Tom Watson IBM's founder. You made a FOOL of urself nationally!! nickmaier03 1 3 17
2017-05-08 19:26:59 .@chamath on @CNBC: 'We love the convertible bonds' of $TSLA; compares @elonmusk to Thomas Edison. On $IBM? 'Watson… https://t.co/PBwZsXEPuy CNBCJosh 1 3 18
2017-05-08 19:28:04 @chamath IBM's Watson much smarter thn Alexa AWS y/y is a ski slope dwn whle Azure grws triple Have u red amzn's balance sheet? Its amusing JessieLivermore 1 3 19
2017-05-08 20:19:42 Say What? Chamath Palihapitiya says IBM's Watson is a joke. Finally someone said it! https://t.co/Y0NKUWIWrp #IBM #Watson ckotsakis 1 3 22
2017-05-08 21:22:14 Social Capital CEO Palihapitiya put IBM's on blast "Watson 'is a joke!" #ifyoucantsaysomethingnice #AI cc @B0RN_AI https://t.co/Poar34q7wI nicholi57 1 3 30
2017-05-08 21:15:45 Yikes!!! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/N9qWCzm7iB LindaPullano 1 3 43
2017-05-08 21:15:59 @chamath Thought IBM Watson was named after first IBM CEO Thomas Watson, "not after a Sherlock Holmes character." https://t.co/ZFFwLnSWq4 TedatACA 1 3 44
2017-05-08 21:39:10 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya <Wow! Disagree. It has challenges, not a joke! #AI https://t.co/G9didTdeFG tcrawford 1 3 46
2017-05-08 21:10:17 @chamath NC on your opinion of IBM Watson, but it's named after Thomas Watson, @IBM founder, not Sherlock's Watson. splodie 1 3 48
2017-05-08 21:58:06 FYI @chamath Thomas J. Watson Sr. was Chairman and CEO of IBM 1914-1956. No known connection to Sherlock Holmes. #ibm #watson tomzazueta 1 3 52
2017-05-08 22:02:27 @NataliaWWojcik Palihapitiya is so clueless he does not know Watson is named after IBM's founder. A good reporter m… https://t.co/cH8ju0K4w6 dcg1114 1 3 53
2017-05-08 22:05:06 Wow, bringing the heat! - IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - CNBC https://t.co/fALFiurSCs TGorup 1 3 55
2017-05-08 22:27:55 Boom!!! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/BABebGH1CS EricManlunas 1 3 59
2017-05-08 23:14:52 ouch. good thing AIs don’t have feelings 😅 IBM’s Watson ‘is a joke,’ says Social Capital CEO Palihapitiya https://t.co/swGr2PzNOk c4chaos 1 3 62
2017-05-09 00:09:01 @chamath while I agree with your views on $TSLA, $IBM, $ORCL, minor correction, Watson named after IBM CEO and not Sherlock character🙏 kalpeshkapadia 1 3 66
2017-05-09 00:36:55 He is a joke... IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/BPgZcex4y6 https://t.co/BPgZcex4y6 Mojie007 1 3 67
2017-05-09 00:14:28 .@chamath @Google @amazon @IBM I think that's by far the harshest @IBMWatson burn that I've heard so far... DB_Sweeney 1 3 70
2017-05-09 01:30:00 Hedge fund manager @chamath calls @elonmusk 'our generation's Thomas Edison' and IBM watson a joke! https://t.co/EZ54loI76H vipulrawal 1 3 77
2017-05-09 01:10:08 @chamath shows his ignorance about @IBMWatson with his comments in the video. Has stake in @amazon Hmmmmm? https://t.co/T3gPKiSh8E joreag 1 3 79
2017-05-09 01:28:55 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/WI3KoBv3Sy < actually, @chamath is a joke evankirstel 1 3 80
2017-05-09 02:31:43 #IBM's #Watson 'is a joke,' says @SocialCapital CEO #SherlockHolmes @chamath https://t.co/15vfLqpWWN via @cnbc #ai #cognitive #skeptical CraigMilroy 1 3 87
2017-05-09 01:42:09 evankirstel: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/QY6H55oyCI < actually, chamath is a joke AfricaAutomate 1 3 89
2017-05-09 03:23:12 @chamath Sir. I dont like what you said about @IBMWatson. Anyhoo..Im obsessed and think they are @ the forefront of… https://t.co/7m3HG2MXNe theajayieffect 1 3 94
2017-05-09 05:19:29 RT @eringriffith: 🔥chamath: IBM is not innovating cnbc: what about watson? chamath: laughter cnbc: ?? chamath: watson is... a joke. 🔥 htt b4028465 1 3 104
2017-05-09 05:32:13 Scathing here ... Chamath Palihapitiya says IBM Watson 'is a joke' https://t.co/VLuiehAf5a ArjunKharpal 1 3 106
2017-05-09 05:49:46 Then let Palihapitiya make another Oracle,IBM or a Microsoft. Looks like he needs more pie from Tesla & Amazon. https://t.co/k5IcN7SCfG georgevargh 1 3 114
2017-05-09 10:37:56 'Watson is a joke," @chamath "IBM is excellent using marketing to convince people w less knowledge to pay" https://t.co/ZBUFykdQIQ gudjon 1 3 121
2017-05-09 10:52:05 Ouch! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/lNUUpJrV2W mikelacare 1 3 123
2017-05-09 12:11:03 Wow! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/SO2pPVveEO https://t.co/SO2pPVveEO markaeveritt 1 3 125
2017-05-09 12:32:54 @chamath quit embarrassing yourself with your phony claims re IBM Watson. BobboGo78 1 3 128
2017-05-09 12:31:14 @chamath @andrewrsorkin @MelissaLeeCNBC $IBM is a bloated, no-growth, bureaucratic company trying to hide this all with the facade of Watson OracleofWallSt 1 3 129
2017-05-09 13:04:25 .@chamath just killing Oracle and IBM yesterday. Refreshing. https://t.co/2CtjqR5vYi samwdii 1 3 130
2017-05-09 13:00:32 @sallyshin @RiskReversal @chamath Soooooo with all that said, How is @chamath figuring #IBMWatson is a Joke?!? Maybe I'm confused..?? HoodSavior 1 3 132
2017-05-09 13:00:33 RT: @HoodSavior-@sallyshin @RiskReversal @chamath Soooooo with all that said, How is @chamath figuring #IBMWatson is a Joke?!? Maybe I'm c MartinaJnkrs 1 3 133
2017-05-09 12:13:24 @andrewmaxr This guy kind of sounds stupid. #notthatwatson IBM's Watson 'is a joke,':Social Capital CEO Palihapitiya https://t.co/LzdB6YFF4b JeffWilson913 1 3 134
2017-05-09 12:56:15 Shots fired 🔫🔫. "@IBMWatson is a joke" -@chamath https://t.co/eZptBnRKuO idealexit 1 3 135
2017-05-09 12:24:17 @chamath don't think Echo can do this. Alexa is a joke IBM 's Watson is so far ahead https://t.co/r1cAMsXRyA JessieLivermore 1 3 136
2017-05-09 12:54:00 Watson and 911 I guess >> IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/W1c9pICnYA https://t.co/PBogztdr75 adamhonig 1 3 137
2017-05-09 12:29:31 @chamath @SquawkCNBC so so so glad to hear re: @IBM. Watson team told us they cud not do what I wanted re: emotion. DeniseKShull 1 3 139
2017-05-09 12:42:34 "@Chamath Palihapitiya: @IBMWatson is a joke https://t.co/t9FaMI7L0q Ouch! invinciblesaad 1 3 140
2017-05-09 12:41:43 " @Chamath Palihapitiya: @IBMWatson is a joke https://t.co/t9FaMI7L0q Ouch! invinciblesaad 1 3 141
2017-05-09 13:19:48 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya - IBM IS THE REAL JOKE, NOT JUST WATSON!!! BlackBlows1 1 3 142
2017-05-09 13:30:48 Ouch IBM! @chamath says it like he sees it. "Watson is a joke" https://t.co/EqgLaDLNtv SuB8u 1 3 143
2017-05-09 13:54:10 oooooh geek fight! IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya [and IBM responds] https://t.co/DmtKVo4olB rampurple 1 3 144
2017-05-09 14:18:05 I wouldn't call this a joke @chamath IBM's Watson supercomputer is bringing AI-fueled cancer care to Americans https://t.co/MbZWjpfAUg clairejobe 1 3 145
2017-05-09 13:41:14 .@chamath calls Watson a joke, says data is key to AI. Yet IBM has more healthcare data than $GOOG, $FB, $AMZN combined. jwan584 1 3 146
2017-05-09 14:06:54 Chamath Palihapitiya slams IBM for its #AI #Watson as a "joke designed to convince people who have asymmetrically…https://t.co/wmSWGgDk4B hicham_aoubid 1 3 147
2017-05-09 14:27:25 Fav clip of the day 🔥 Palihapitiya: IBM's Watson is a joke https://t.co/WvnGv9WRyl via @cnbc jrichlive 1 3 149
2017-05-09 14:26:56 @Chamath Palihapitiya will never build a company like Thomas J. Watson, the first CEO of IBM, because… https://t.co/ytHdsdIA6e PatFrank15 1 3 152
2017-05-09 14:53:58 @Chamath play the clip. "Game changer" @IBMWatson @IBMSecurity @IBMFacts Not a joke! https://t.co/RUiXHEdksP PatFrank15 1 3 153
2017-05-09 14:40:26 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya. https://t.co/aWKiADblyd Wow, that was hard to hear. Dayachong 1 3 155
2017-05-09 14:50:39 WoW: IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/IyhZpAWu5j sgr0ver 1 3 156
2017-05-09 15:01:45 What has @chamath discovered? @IBMWatson discovers how our bodies work @IBMFacts https://t.co/hAEDOACGBw PatFrank15 1 3 160
2017-05-09 15:57:24 Bunch of IBM corporate accounts pushing back against @chamath’s “Watson is a joke” line yesterday. Oh, thirst... BlairReeves 1 3 162
2017-05-09 15:41:30 @IBMWatson doing leadership work that even critics can't ignore, @chamath https://t.co/OZX6sLh0lj ebarbini 1 3 163
2017-05-09 18:26:31 Social Capital CEO Palihapitiya https://t.co/HyYcMHtsgr totally underestimates IBM's Watson's new CEO @Davidwkenny. lmholliday 1 3 169
2017-05-09 18:23:02 #IBM's #Watson is a joke, and #Oracle won't be 'winning' for long says @chamath on an fire raining @CNBC interview… https://t.co/H74atYVeO7 cameronmcnz 1 3 175
2017-05-09 18:48:21 @thinkmariya @chamath @IBMWatson Didn't realize finding 5 new genes linked to ALS in a span of months vs years was… https://t.co/vWOqsfWIs0 _chelseaa_s 1 3 176
2017-05-09 19:07:07 @CNBCJosh @chamath @CNBC @elonmusk Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife 1 3 178
2017-05-09 19:45:31 @chamath - @IBMWatson was named after #IBM's first CEO, industrialist Thomas J. Watson-get ALL the facts straight - #nojoke #FactoftheDay CbassStorage 1 3 179
2017-05-09 19:03:18 @cameronmcnz @chamath @CNBC Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife 1 3 180
2017-05-09 19:01:08 @megtirrell @chamath Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife 1 3 181
2017-05-09 19:03:07 @thtranx @chamath Kind of hard to consider this a joke... @IBMWatson @IBMFacts @IBMNews #NoJoke https://t.co/wVPBD7QsSx AlexSarife 1 3 182
2017-05-09 19:01:11 "Watson was named after IBM's first CEO, industrialist Thomas J. Watson" @chamath not after a literary character #NoJoke @IBMFacts ASCarman 1 3 186
2017-05-09 18:57:27 @IBMWatson is no joke! @chamath Watson was named after Thomas J. Watson, not the Sherlock Holmes character. jgnoonan 1 3 187
2017-05-09 21:13:56 wow - uncharacteristically dim-witted: @chamath asserts @IBMWatson is a [multi billion dollar] joke https://t.co/von3OtieGd #lol #fail hankejh 1 3 190
2017-05-09 22:44:56 @ledell @chamath @IBMWatson (2/2) ...to also being associated with more popular Sherlock figure. Multiple associations can strengthen brand. thinkmariya 1 3 193
2017-05-09 21:43:45 Odd that @socialcapital's @chamath badmouths @IBMWatsonHealth, an #AI fighting cancer. Bad Blood? https://t.co/3u7zCccwEK #oncology hyounpark 1 3 195
2017-05-09 22:43:33 @ledell @chamath @IBMWatson Good catch, but also common misconception that IBM doesn't often correct publically b/c there can be advantage thinkmariya 1 3 198
2017-05-09 23:03:49 @thinkmariya @chamath @IBMWatson His argument is not convincing & he should have said sth more thoughtful to make h… https://t.co/7LcZnVKeA9 ledell 1 3 199
2017-05-09 23:01:21 @thinkmariya @chamath @IBMWatson Good point, I'm sure Watson benefits from co-association of the name. ledell 1 3 201
2017-05-09 23:06:38 @chamath Watson is named after the founder of our company Thomas J Watson, maybe you've heard of him? https://t.co/bFvL0hpl1t @@IBMFacts dcross1317 1 3 203
2017-05-10 01:07:32 @IBMFacts @CNBCJosh @chamath @CNBC @elonmusk What a joke https://t.co/6zum6JLWdd with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig 1 3 204
2017-05-10 01:20:49 @hankejh @chamath @IBMWatson What a joke https://t.co/6zum6JLWdd … with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig 1 3 206
2017-05-10 01:14:34 @megtirrell @chamath What a joke https://t.co/6zum6JLWdd with #cognitiveLOVE from @opentopic to @ibmwatson AndreMKonig 1 3 207
2017-05-10 01:15:12 @Abhi_Mogre @RScapitalINC @GinniRometty @jimcramer @chamath @IBMWatson https://t.co/6zum6JLWdd AndreMKonig 1 3 210
2017-05-10 08:28:03 Wow @chamath savaged IBM and Oracle in 3 minutes of zany genius https://t.co/sLvCpxm5f5 Huk06 1 3 213
2017-05-10 09:45:02 #IBMWatson's a joke, & Oracle won't be winning for long says a fire-breathing @chamath. @cameronmcnz's article here… https://t.co/Ffn8YIn186 TSS_dotcom 1 3 214
2017-05-10 12:34:54 😱 Q fuerte: "IBM's Watson is a joke"..."I put them and Oracle in the same bucket" dice el CEO de Social Capital CEO https://t.co/burMF3saxf vicentexe 1 3 218
2017-05-10 12:35:56 😱 Q fuerte: "IBM's Watson is a joke"..."I put them and Oracle in the same bucket" dice el CEO de Social Capital https://t.co/burMF3saxf vicentexe 1 3 219
2017-05-10 15:17:34 Another amazing discovery by @IBMWatson! #NoJoke @chamath #IBM #Watson #ALS https://t.co/w8Ey73afZw MattRMorrison 1 3 220
2017-05-10 15:31:18 lost in @chamath overblown @IBMWatson #AI criticism were a couple good points on where AI is going. being too loud can backfire & did moosechris 1 3 221
2017-05-10 18:16:31 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/sjC1JqgwPX lol who the hell are social capital.... #jokers PetrostarsUK 1 3 223
2017-05-10 21:16:23 Ruthless-yet crisply articulated #data #AI #Enterprise #B2C @google @amazon @ibm @oracle Social Capital CEO @chamath https://t.co/IJ98qIHdnj valb00 1 3 225
2017-05-11 17:06:59 #ShameOnChamath See what Watson is really doing #IBM #Watson https://t.co/FAQZ9fk0rz BLUEPedro44 1 3 230
2017-05-12 12:50:12 Totally agree w/ @chamath; @IBM #WatsonisaJoke. When u need J.Koons sculpture in ur lobby (IBM NYC), ur tech can't… https://t.co/1FnykKkjzp aqsamurai 1 3 232
2017-05-12 13:02:33 IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/8uuFV73Y3F < he doesn't even know what it's named after 🙄 blm849 1 3 233
2017-05-14 02:15:29 Quote of the year goes to the Social Capital guy: $IBM 's "Watson is a joke". mydailybeef 1 3 238
2017-05-16 13:26:17 How to slash your credibility; @Chamath IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete 1 3 250
2017-05-16 13:23:37 How to slash your credibility; @Palihapitiya IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete 1 3 251
2017-05-16 13:21:53 How to slash your credibility; @Palihapitaya IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/6a1gqlLWUZ LieneKorsiete 1 3 252
2017-05-16 14:01:01 Shots fired -IBM's Watson 'is a joke,' says Social Capital CEO Palihapitiya https://t.co/rdfnOwN1v2 ezetusky 1 3 253
2017-05-17 14:33:01 No, there're too many useful #apps | #IBMWatson 'is a joke,' says Social Capital CEO Palihapitiya | #AI |… https://t.co/u6khlYwpU9 tweetreinoud 1 3 257

In [7]:
"""
Bin mild/harsh tweets by 4H period and count numbers
"""
if 1 == 1:
    mild_tweets_bin_count = mild_tweets_df['tweet_index'].resample('4H', convention='start').count().rename('mild_tweets_count')
    harsh_tweets_bin_count = harsh_tweets_df['tweet_index'].resample('4H', convention='start').count().rename('harsh_tweets_count')
    
    tweets_count = pd.concat([mild_tweets_bin_count, harsh_tweets_bin_count], axis=1)[:24]

In [8]:
with pd.option_context('display.max_rows', 100, 'display.max_colwidth', 150, 'expand_frame_repr', False):
    display(tweets_count)


mild_tweets_count harsh_tweets_count
tweet_created_at
2017-05-08 16:00:00 2.0 8
2017-05-08 20:00:00 7.0 13
2017-05-09 00:00:00 7.0 9
2017-05-09 04:00:00 3.0 3
2017-05-09 08:00:00 1.0 2
2017-05-09 12:00:00 2.0 27
2017-05-09 16:00:00 6.0 10
2017-05-09 20:00:00 0.0 7
2017-05-10 00:00:00 1.0 4
2017-05-10 04:00:00 1.0 0
2017-05-10 08:00:00 0.0 2
2017-05-10 12:00:00 1.0 4
2017-05-10 16:00:00 0.0 1
2017-05-10 20:00:00 1.0 1
2017-05-11 00:00:00 1.0 0
2017-05-11 04:00:00 0.0 0
2017-05-11 08:00:00 0.0 0
2017-05-11 12:00:00 0.0 0
2017-05-11 16:00:00 0.0 1
2017-05-11 20:00:00 0.0 0
2017-05-12 00:00:00 0.0 0
2017-05-12 04:00:00 0.0 0
2017-05-12 08:00:00 0.0 0
2017-05-12 12:00:00 0.0 2

In [9]:
if 1 == 1:
    tweets_count.plot(kind="bar", figsize=(12,6), title='# of mild/harsh tweets', stacked=True)


Plot use R ggplot2


In [2]:
"""
Prepare df data
"""
if 1 == 1:
    '''
    Read in all tweets related to the 'social_capital_ceo_palihapitiya_watson_joke' news
    '''
    target_tweets_df = pd.read_csv(filepath_or_buffer=palihapitiya_watson_joke_tweets_file,
                               sep='\t',
                               index_col=0,
                               parse_dates=['tweet_created_at'],
                               quoting=csv.QUOTE_MINIMAL)
    '''
    Read in manually tagged information for all tweets just loaded 
    '''
    target_tweets_tag_df = pd.read_csv(filepath_or_buffer=palihapitiya_watson_joke_tweets_tag_file,
                                       sep='\t',
                                       index_col=0)
    
    '''
    Join dfs and set index
    '''
    test_tweets_df = target_tweets_df.join(target_tweets_tag_df)
    test_tweets_df['tweet_index'] = test_tweets_df.index
    test_tweets_df = test_tweets_df.set_index('tweet_created_at')
    
    '''
    Bin mild/harsh tweets by 4H period and count numbers
    '''
    mild_tweets_df = test_tweets_df[(test_tweets_df['tweet_news'] == 1) & (test_tweets_df['tweet_sentiment'] == 2)]
    harsh_tweets_df = test_tweets_df[(test_tweets_df['tweet_news'] == 1) & (test_tweets_df['tweet_sentiment'] == 3)]
    second_news_mild_tweets_df = test_tweets_df[(test_tweets_df['tweet_news'] == 2) & (test_tweets_df['tweet_sentiment'] == 2)]
    
    mild_tweets_bin_count = mild_tweets_df['tweet_index'].resample('4H', label='start', loffset='2H 1S').count().rename('mild_tweets_count')
    harsh_tweets_bin_count = harsh_tweets_df['tweet_index'].resample('4H', label='start', loffset='2H 1S').count().rename('harsh_tweets_count')
    second_news_mild_tweets_bin_count = second_news_mild_tweets_df['tweet_index'].resample('4H', label='start', loffset='2H 1S').count().rename('second_news_mild_tweets_count')
    
    tweets_count = pd.concat([mild_tweets_bin_count, harsh_tweets_bin_count, second_news_mild_tweets_bin_count], axis=1)
    
    '''
    Misc operations
    '''
    tweets_count = tweets_count.fillna(0)
    
    tweets_count['mild_tweets_count'] = tweets_count['mild_tweets_count'].astype(int)
    
    tweets_count['harsh_mild_diff'] = tweets_count['harsh_tweets_count'] - tweets_count['mild_tweets_count']
    
    tweets_count['mild_tweets_count_neg'] = - tweets_count['mild_tweets_count']
    
    tweets_count['second_news_mild_tweets_count'] = tweets_count['second_news_mild_tweets_count'].astype(int)
    
    tweets_count['second_news_mild_tweets_count_neg'] = - tweets_count['second_news_mild_tweets_count']
    
    tweets_count.reset_index(drop=False, inplace=True)
    
    tweets_r_df = tweets_count

In [3]:
tweets_r_df


Out[3]:
tweet_created_at mild_tweets_count harsh_tweets_count second_news_mild_tweets_count harsh_mild_diff mild_tweets_count_neg second_news_mild_tweets_count_neg
0 2017-05-08 18:00:01 2 8 0 6 -2 0
1 2017-05-08 22:00:01 7 13 0 6 -7 0
2 2017-05-09 02:00:01 7 9 0 2 -7 0
3 2017-05-09 06:00:01 3 3 0 0 -3 0
4 2017-05-09 10:00:01 1 2 0 1 -1 0
5 2017-05-09 14:00:01 2 27 0 25 -2 0
6 2017-05-09 18:00:01 6 10 0 4 -6 0
7 2017-05-09 22:00:01 0 7 0 7 0 0
8 2017-05-10 02:00:01 1 4 1 3 -1 -1
9 2017-05-10 06:00:01 1 0 0 -1 -1 0
10 2017-05-10 10:00:01 0 2 0 2 0 0
11 2017-05-10 14:00:01 1 4 0 3 -1 0
12 2017-05-10 18:00:01 0 1 1 1 0 -1
13 2017-05-10 22:00:01 1 1 0 0 -1 0
14 2017-05-11 02:00:01 1 0 0 -1 -1 0
15 2017-05-11 06:00:01 0 0 0 0 0 0
16 2017-05-11 10:00:01 0 0 0 0 0 0
17 2017-05-11 14:00:01 0 0 0 0 0 0
18 2017-05-11 18:00:01 0 1 0 1 0 0
19 2017-05-11 22:00:01 0 0 0 0 0 0
20 2017-05-12 02:00:01 0 0 0 0 0 0
21 2017-05-12 06:00:01 0 0 0 0 0 0
22 2017-05-12 10:00:01 0 0 0 0 0 0
23 2017-05-12 14:00:01 0 2 0 2 0 0
24 2017-05-12 18:00:01 1 0 0 -1 -1 0
25 2017-05-12 22:00:01 0 0 0 0 0 0
26 2017-05-13 02:00:01 0 0 0 0 0 0
27 2017-05-13 06:00:01 0 0 0 0 0 0
28 2017-05-13 10:00:01 0 0 0 0 0 0
29 2017-05-13 14:00:01 0 0 0 0 0 0
30 2017-05-13 18:00:01 0 0 0 0 0 0
31 2017-05-13 22:00:01 0 0 0 0 0 0
32 2017-05-14 02:00:01 0 1 0 1 0 0
33 2017-05-14 06:00:01 0 0 0 0 0 0
34 2017-05-14 10:00:01 0 0 0 0 0 0
35 2017-05-14 14:00:01 2 0 0 -2 -2 0
36 2017-05-14 18:00:01 0 0 1 0 0 -1
37 2017-05-14 22:00:01 0 0 0 0 0 0
38 2017-05-15 02:00:01 0 0 0 0 0 0
39 2017-05-15 06:00:01 0 0 0 0 0 0
40 2017-05-15 10:00:01 0 0 0 0 0 0
41 2017-05-15 14:00:01 0 0 0 0 0 0
42 2017-05-15 18:00:01 0 0 0 0 0 0
43 2017-05-15 22:00:01 0 0 0 0 0 0
44 2017-05-16 02:00:01 0 0 0 0 0 0
45 2017-05-16 06:00:01 0 0 0 0 0 0
46 2017-05-16 10:00:01 0 0 0 0 0 0
47 2017-05-16 14:00:01 0 4 0 4 0 0
48 2017-05-16 18:00:01 1 0 0 -1 -1 0
49 2017-05-16 22:00:01 0 0 0 0 0 0
50 2017-05-17 02:00:01 0 0 0 0 0 0
51 2017-05-17 06:00:01 0 0 0 0 0 0
52 2017-05-17 10:00:01 0 0 0 0 0 0
53 2017-05-17 14:00:01 0 1 0 1 0 0

In [4]:
%%R -i tweets_r_df

# 
# Prepare data
# 

# cast data types
tweets_r_df$tweet_created_at <- as.POSIXct(strptime(tweets_r_df$tweet_created_at, format="%Y-%m-%d %H:%M:%S"))

#
# Plot and tweak histogram
#

# initialize new plot
# cols <- c('Harsh'='red', 'Mild'='blue', 'diff_line'='black')
plt <- ggplot(data=tweets_r_df, aes(x=tweet_created_at)) + 
    # layers of ref lines for publishing times of first and second news
    geom_vline(xintercept=as.POSIXct(strptime('2017-05-08 16:45:00', format="%Y-%m-%d %H:%M:%S")), linetype='dashed', color='grey80') +
    geom_vline(xintercept=as.POSIXct(strptime('2017-05-09 09:55:00', format="%Y-%m-%d %H:%M:%S")), linetype='dashed', color='grey80') +
    
    # layer of geom_bar for harsh tweets
    geom_bar(aes(y=harsh_tweets_count, fill='Harsh'), stat='identity', alpha=0.65) + 
    
    # layer of geom_rect for highlighting largest bar
    geom_rect(aes(xmin=as.POSIXct(strptime('2017-05-09 12:15:00', format="%Y-%m-%d %H:%M:%S")),
                  xmax=as.POSIXct(strptime('2017-05-09 15:45:00', format="%Y-%m-%d %H:%M:%S")),
                  ymin=0, ymax=27), fill=NA, color="red", size=0.7, alpha=1) + 
    
    # layer of geom_bar for mild tweets
    geom_bar(aes(y=mild_tweets_count_neg, fill='Mild'), stat='identity', alpha=0.65) + 

    # layer of geom_line for diff between harsh tweets and mild tweets
    geom_line(aes(x=(tweet_created_at), y=harsh_mild_diff), stat='identity', linetype='solid') + 

    # layer of geom_bar for a few tweets related to second news in mild sentiment
    geom_bar(aes(y=second_news_mild_tweets_count_neg), stat='identity', alpha=0.65, fill='green') + 

    # x-axis and y-axis
    scale_x_datetime(name = 'Time',
                     date_labels = "%b %d %I%p",
                     date_breaks = "4 hour",
                     expand = c(0, 0),
                     limits = c(as.POSIXct(strptime('2017-05-08 12:00:00', format="%Y-%m-%d %H:%M:%S")), 
                                as.POSIXct(strptime('2017-05-10 19:00:00', format="%Y-%m-%d %H:%M:%S")))) + 
    
    scale_y_continuous(name = 'Number of users', 
                       breaks = c(-10, -5, 0, 5, 10, 15, 20, 25),
                       labels = c('10', '5', '0', '5', '10', '15', '20', '25'),
                       limits = c(-15, 30)) + 

    # legend
    scale_fill_manual(name = "Sentiment Intensity",
                      values = c('Harsh'='red', 'Mild'='blue')) + 

    # theme
    theme(panel.background = element_blank(),
          axis.line = element_line(color='black'),
          panel.grid.major.y = element_line(color='grey80'),
          panel.grid.major.x = element_blank(),
          panel.grid.minor = element_blank(),
          axis.text.x = element_text(angle=90),
          legend.position = 'top')

#
# Output figure
#
ggsave('./fig/ibm_joke_or_not.png', plt, height=5, width=5, dpi=200)