Discover hidden Facebook usage insights  

Harness the power of cognitive data analysis in a Jupyter Notebook with PixieDust

Last updated | By Mark Sturdevant, Anna Quincy, Tyler Andersen

Description

Combine the power of a Jupyter Notebook, PixieDust, and IBM Watson™ cognitive services to glean useful marketing insight from a vast body of unstructured Facebook data. To help improve brand perception, product performance, customer satisfaction, and audience engagement, take data from a Facebook Analytics export, enrich it with Watson Visual Recognition, Natural Language Understanding, and Tone Analyzer, and create interactive charts to outline your findings. Credit goes to Anna Quincy and Tyler Andersen for providing the initial notebook design.

Overview

We start with data exported from Facebook Analytics and enrich that data with Watson APIs. We will use the enriched data to answer questions like:
  • What sentiment is most prevalent in the posts with the highest engagement performance?
  • What are the relationships between social tone of article text, the main article entity, and engagement performance?
These types of insights are beneficial for marketing analysts interested in understanding and improving brand perception, product performance, customer satisfaction, and audience engagement. It is important to note that this journey is meant to be used as a guided experiment, rather than an application with one set output. The standard Facebook Analytics export features text from posts, articles, and thumbnails, along with standard Facebook performance metrics, such as likes, shares, and impressions. This unstructured content is then enriched with Watson APIs to extract keywords, entities, sentiment, and tone. After data is enriched with Watson APIs, there are several ways to analyze it. The Data Science Experience provides a robust yet flexible method of exploring the Facebook content. This journey provides mock Facebook data, a notebook, and comes with several pre-built visualizations to get you started with uncovering hidden insights. When you complete this journey, you will understand how to:
  • Read external data into a Jupyter Notebook via DSX Object Storage and pandas DataFrame.
  • Enrich unstructured data using a Jupyter Notebook and Watson Visual Recognition, Natural Language Understanding, and Tone Analyzer.
  • Use PixieDust to explore data and visualize insights.

Flow

  1. A CSV file exported from Facebook Analytics is added to DSX Object Storage.
  2. Generated code makes the file accessible as a pandas DataFrame.
  3. The data is enriched with Watson Natural Language Understanding.
  4. The data is enriched with Watson Tone Analyzer.
  5. The data is enriched with Watson Visual Recognition.
  6. The enriched data can be explored with PixieDust to uncover hidden insights and create graphics to highlight them.

Related Blogs

IBM Day – Blockchain over Kubernetes and Kubernetes Upstream – Recap of RTP Kubernetes Meetup

Co-Author:
 Tong Li, @email4tong The Research Triangle Park (RTP), NC Kubernetes Meetup is a well-organized event and its members regularly meet every month. It has over 750 registered members. The meetup speakers are SMEs from various companies like Red Hat, IBM, Lenovo, Google and many local startups like CloudPerceptions. The last Kubernetes meetup for 2017...

Continue reading IBM Day – Blockchain over Kubernetes and Kubernetes Upstream – Recap of RTP Kubernetes Meetup

Newsletters: The Curious Developer’s Best Friend

The great thing about software development is that there is always something new to learn! The terrible thing about software development is that there is always something new to learn! Luckily, there are tons of wonderful people sharing their knowledge every week in helpful and entertaining newsletters … and unfortunately, it can be really easy...

Continue reading Newsletters: The Curious Developer’s Best Friend

Related Links