• 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

This Article Has Been Shared 407 Times!

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

  • Automated Deployment of Apache Hadoop & Big Data Softwares

    Installation On Servers Can Be Made Easy With Automated Deployment of Apache Hadoop & Big Data Softwares With Ansible, Chef Like Tools.

  • How To Install Apache Solr 6.x on Ubuntu 16.04

    Here is How To Install Apache Solr 6.x on Ubuntu 16.04. Apache Solr Search Platform Can Be Integrated With WordPress, CMS & Other Softwares.

  • What is Fog Computing, Fog Networking, Fogging

    Fog computing is a System-Wide Architecture Which is Useful For Deploying Seamlessly Resources and Services For Computing, Data Storage.

  • What Data Warehousing Solutions Available in the Cloud

    Our current topic under discussion is what data warehousing solutions available in the cloud and we will try to remain on-topic and brief.

  • What is IBM Data Science Experience (DSx)?

    What is IBM Data Science Experience (DSx)?It is a platform for data science for working with RStudio,Spark,Python on Cloud,Server or Desktop.

Additionally, 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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Facebook Analytics Cognitive Data Analysis : Jupyter Notebook & IBM Watson," in The Customize Windows, November 15, 2017, January 28, 2023, https://thecustomizewindows.com/2017/11/facebook-analytics-cognitive-data-analysis-jupyter-notebook-ibm-watson/.

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT