Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Analyzing Brand Reputation with Oracle Analytics

Analyzing Brand Reputation with Oracle Analytics

Brand reputation is a must have intangible asset for any organization as customers can share their experience with your service to the world in a single tweet, and impact the business. This session illustrates how to use Oracle Analytics to easily perform brand reputation analysis without machine learning or marketing experience. The requirements of a successful brand reputation analysis, detailing the techniques for gathering, enriching, modeling and visualizing the data will be discussed and followed up with a live demo.

Federico Venturin

February 17, 2023
Tweet

More Decks by Federico Venturin

Other Decks in Technology

Transcript

  1. [email protected] www.rittmanmead.com @rittmanmead 2 •Principal Consultant at Rittman Mead •12

    years experience in BI/Analytics •Based in Trebaseleghe Venice, Italy • https://fventurin.digitalpress.blog • https://speakerdeck.com/barretbse • [email protected] • @barretbse Federico Venturin
  2. [email protected] www.rittmanmead.com @rittmanmead 7 Why Am I Here Today? I

    was raised by my parents to believe that you had a moral obligation to try and help save the world. Anne Lamott
  3. [email protected] www.rittmanmead.com @rittmanmead 9 Brand Reputation is the perception of

    the brand and how the particular brand of the company is viewed by customers, stakeholders, and the market as a whole. It is the culmination of ideas and emotions that a customer associated with the brand with the customer service experienced during the purchase of goods and services, whilst using them, and after-sales services provided by the company. — Marketing91 Brand Reputation
  4. [email protected] www.rittmanmead.com @rittmanmead 17 •Oracle Analytics does not allow to

    collect data from Metacritic and Twitter out-of-the-box How to Collect the Data?
  5. [email protected] www.rittmanmead.com @rittmanmead 20 •Apply for a Twitter developer account

    •Set up your Twitter API project and an application •Use Search Tweets v2 Collecting Data from Twitter
  6. [email protected] www.rittmanmead.com @rittmanmead 21 •Apply for a Twitter developer account

    •Set up your Twitter API project and an application •Use Search Tweets v2 Collecting Data from Twitter
  7. [email protected] www.rittmanmead.com @rittmanmead 27 •Extend ML and data curation capabilities

    of Oracle Analytics •The Custom Script feature is disabled by default •Doc ID 2675894.1 explains how to enable it Custom Script Feature
  8. [email protected] www.rittmanmead.com @rittmanmead 28 • Python/R scripts must be embedded

    in XML format • Data transformation logic must be implemented in the obi_execute_script function • Check out my article for more details! Anatomy of a Custom Script
  9. [email protected] www.rittmanmead.com @rittmanmead 29 •Click on the Create button and

    select the Script option •Uploaded scripts are displayed in the Machine Learning > Scripts tab Uploading a Custom Script
  10. [email protected] www.rittmanmead.com @rittmanmead 32 •Create an Auth Token for the

    OCI user who will own the Function •Create a Container Registry to be the eventual repository for your functions •Create an Object Storage bucket to serve as the temporary processing / staging area for your Function to utilize as it handles the input data from OAC •Ensure you have the proper OCI IAM policies in place Prerequisites
  11. [email protected] www.rittmanmead.com @rittmanmead 33 •Create an application from Developer Services

    > Applications •Set up the Cloud Shell by following the steps outlined in Getting started tab under the Resources menu •Create a boilerplate function:
 fn init --runtime <runtime-language> <function-name> •Add the oac-compatible free-form tag to the function, and set its value to True Creating the Function
  12. [email protected] www.rittmanmead.com @rittmanmead 34 •Include the funcMode variable in the

    function code ‣ When funcMode in the request is 'describeFunction', the function should return the function de fi nition with status, outputs, parameters, bucket name and so on as a JSON object ‣ When funcMode in the request is 'executeFunction', the actual function logic should be executed and the response should be sent back to OAC with the output Creating the Function
  13. [email protected] www.rittmanmead.com @rittmanmead 35 •Create a OCI Resource connection to

    your OCI Tenancy •Expand the Page Menu, then select Register Mode/Function > OCI Functions to register the function •Invoke registered functions in data fl ows using the Add Custom Script step Registering the Function on OAC
  14. [email protected] www.rittmanmead.com @rittmanmead 37 •Use a custom script to the

    detect the language of each review and fi lter out non- English ones Filtering Out Non-English Reviews
  15. [email protected] www.rittmanmead.com @rittmanmead 38 •Add a calculated column to determine

    the sentiment (Positive, Negative or Mixed) for each review using the rating information Analyzing the Sentiment
  16. [email protected] www.rittmanmead.com @rittmanmead 39 •Use the Analyze Sentiment step to

    detect the sentiment (Positive, Negative or Neutral) for each tweet Analyzing the Sentiment
  17. [email protected] www.rittmanmead.com @rittmanmead 40 •Use a custom script to break

    text down into distinct words and count their occurences Tokenizing Reviews and Tweets
  18. [email protected] www.rittmanmead.com @rittmanmead 48 • As an alternative, you can

    use
 the Text Tokenization database
 analytics function ‣ The source data must be available
 in an Oracle Database ‣ Straightforward implementation ‣ Returns only top N tokens ‣ Does not handle mentions
 and hashtags in tweets Tokenizing Reviews and Tweets
  19. [email protected] www.rittmanmead.com @rittmanmead 67 •Interact with people and data sources

    ‣ Open a user pro fi le on Metacritic:
 https://metacritic.com/user/${valuesForColumn:username} ‣ Open a user pro fi le on Twitter:
 https://twitter.com/intent/user?user_id=${valuesForColumn:author_id} ‣ Open a tweet on Twitter:
 https://twitter.com/twitter/status/${valuesForColumn:id} Leverage Data Actions
  20. [email protected] www.rittmanmead.com @rittmanmead 68 •Automate the data gathering process •Update

    the stop list with the commonly used words in the context of the brand (e.g. efootball, game, konami) •Extend the search query by including popular hashtags •Include competitors data (e.g. EA SPORTS FIFA) in the analysis •Monitor all relevant data sources What's Next?
  21. [email protected] www.rittmanmead.com @rittmanmead 70 #EOF email 
 [email protected] web 


    https://fventurin.digitalpress.blog twitter 
 @barretbse presentations 
 https://speakerdeck.com/barretbse