• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Facebook Analytics Cognitive Data Analysis : Jupyter Notebook & IBM Watson

By Abhishek Ghosh November 15, 2017 6:40 am Updated on April 25, 2018

Facebook Analytics Cognitive Data Analysis : Jupyter Notebook & IBM Watson

Advertisement

For this guide we have to use IBM Bluemix. In our previous guides we talked about how to use Jupyter Notebook, IBM Data Science Experience software, How To Run Docker, Containers On IBM Bluemix, Jupyter Notebook on IBM Bluemix in old way, Python libraries for Data Science, a WordPress Plugin showing usage of Watson Tone Analyser, cognitive data analysis etc. These things are modern and often needed by the small developers. As Example usage, we can pull csv data from Facebook Analytics to Jupyter Notebook for cognitive data analysis with IBM Watson & Jupyter Notebook. The basics of this guide was published on official IBM’s website.

 

Facebook Analytics Cognitive Data Analysis : Jupyter Notebook & IBM Watson

 

The basic is that – we need to export the CSV file from Facebook Analytics and add to DSX Object Storage. The generated code will make the file accessible as a pandas DataFrame. The data is enriched with Watson Natural Language Understanding, Watson Tone Analyzer, Watson Visual Recognition and can be explored with PixieDust to create graphics to highlight them.

In Data Science Experience, there will be DSX-Spark and DSX-ObjectStore services. We can create the notebook in IBM Data Science Experience using the URL of the notebook that is in Github git repo by clicking Menu on the left to select My Projects and then Default Project > Add notebooks (upper right) to create a notebook > Select the From URL tab > Enter Notebook URL:

Advertisement

---

Vim
1
https://github.com/IBM/pixiedust-facebook-analysis/blob/master/notebooks/pixiedust_facebook_analysis.ipynb

Then click the Create Notebook button. We will create few IBM Cloud services by clicking the Deploy to Bluemix button – Visual Recognition, Natural Language Understanding and Tone Analyzer.

Find the notebook cell “Add Service Credentials From IBM Cloud for Watson Services”. Replace with Service Credentials from IBM Bluemix dashboard, one example what we are talking about :

Vim
1
2
3
4
5
# @hidden_cell
# Watson visual recognition
VISUAL_RECOGNITION_API_KEY = '<add_vr_API_key_value>'
#
...

Facebook Analytics Cognitive Data Analysis - Jupyter Notebook & IBM Watson

Now click Find and Add Data and its Files tab (icon is 10/01) from where there you can click browse and add Facebook Analytics .csv file already downloaded on your computer.

Find the notebook cell “Load data from Object Storage”. Click to get cursor after # Insert pandas DataFrame line. Make sure that this cell is selected before inserting code. Using the file that you added above, click to use the Insert to code drop-down menu. Select Insert Pandas DataFrame from the drop-down menu.

You need to fix the name of generated method with credentials and then calls the generated method to set a variable with a name like df_data_1. Use the same file drop-down to insert credentials to make sure it is enriched file. There is a cell to enter the file credentials. Use the CSV file’s drop-down menu to select Insert Credentials.

Now run the Notebook.

You can read instructions on this GitHub repo as additional support :

Vim
1
https://github.com/AbhishekGhosh/pixiedust-facebook-analysis

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Facebook Analytics Cognitive Data Analysis : Jupyter Notebook & IBM Watson

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • IBM Watson Studio : Drag and Drop Machine Learning Model Development

    IBM Watson Studio is a toolkit both for the newbie and data scientists with data science tools such as RStudio, Spark, Jupyter Notebooks, drag & drop tools.

  • How To Install and Run iPython/Jupyter Notebook on IBM Bluemix

    This is Old Way of Using Tools Around Big Data and Data Science. Here are Steps on How To Install, Run iPython/Jupyter Notebook on Bluemix.

  • Example of Using IBM Watson For Text Analysis with Google Docs

    This Example of Using IBM Watson For Text Analysis with Google Docs Demands Not Much Knowledge of Coding and This Can Be Used to Analyze Common Text Articles.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy