What can Google Cloud AI-ML APIs tell us about news media websites?

A presentation at ServerlessDays Helsinki 2019 in April 2019 in Helsinki, Finland by Bruno Amaro Almeida

Slide 1

Slide 1

What can Google Cloud AI/ML APIs tell us about news media websites? 25.04.2019 Bruno Amaro Almeida Photo by Roman Kraft on Unsplash

Slide 2

Slide 2

FUTURE. CO-CREATED. Nordic Roots, Global Mindset PEOPLE NATIONALITIES 550+ 38 8 30% OFFICES Tampere Helsinki Oslo Stockholm YoY GROWTH Family of Companies eCommerce & Growth Hacking Berlin London Artificial Intelligence & Machine Learning Stuttgart Munich

Slide 3

Slide 3

$ whoami Principal Architect & Technology Advisor @ Futurice ! native, based in ” Cloud, DevOps, Security, Data Engineering & AI

coffee, music, travel & indoor climbing

Reach out on: @bruno_amaro BERLIN · HELSINKI · LONDON · MUNICH · OSLO · STOCKHOLM · TAMPERE @brunoamaroalmeida

Slide 4

Slide 4

AI & Analytics Capabilities Data Engineering (ingest, prepare, transform, analyze) AI/ML Platform (build, train, deploy) AI/ML API’s (pre-trained models, serverless, out of the box)

Slide 5

Slide 5

AWS vs GCP vs Azure: Data Engineering Ingest • ETL AWS Kinesis • Google Pub/Sub • Azure Event Hubs • • • AWS Glue / EMR Google Dataflow / DataProc Azure DataFactory / DataBricks • Data Warehouse Raw Storage • • AWS S3 Google Cloud Storage Azure Data Lake Storage • • • Machine Learning AWS Redshift Google Cloud BigQuery Azure SQL Data Warehouse AWS SageMarker • • Analytics / BI Google Cloud Datalab • AWS QuickSight • • Google Cloud Data Studio Azure ML Studio / Workbench • Power BI

Slide 6

Slide 6

AWS vs GCP vs Azure: AI/ML API’s AI/ML Service APIs AI/ML Service APIs AI/ML Service APIs • AWS Lex • Google Dialogflow • Azure Bot Service • AWS Rekognition • Google Vision API • Azure Vision • AWS Translate • Google Text-to-Speech API (ASR) • AWS Polly (TTS) • Google Speech-to-Text API • AWS Transcribe (ASR) • Google Natural Language API (NPL) • Azure Speech • Translator Speech API, Bing Speech API • In preview: Speaker Recognition API, Custom Speech Service • AWS Textract (OCR) • Google Translation API • Azure Knowledge • AWS Comprehend (NPL) • Google Video Intelligence API • AWS Forecast (Time-series forecast) • Google Inference API (Time-series forecast) • Azure Search • Bing News/Web/Image/Video/Custom Search • Google Job Discovery • Google Cloud Genomics (Store and process genomes and related experiments ) Source: AWS Source: Google Cloud • Azure Language • Language Understanding (LUIS), Bing Spell Check, Text Analytics, Translator Text API Source: Azure

Slide 7

Slide 7

Google Cloud ● ● Strong focus on Innovation and providing services you can’t reasonably build by yourself A lot of services designed to be global ( internet scale) by default AI/ML Service APIs • Google Dialogflow • Google Vision API • Google Text-to-Speech API (ASR) • Google Speech-to-Text API ● Some services released as OpenSource (e.g. Kubernetes -> GKS), others fully commercialized (e.g. Dremel -> BigQuery) • Google Natural Language API (NPL) • Google Translation API • Google Video Intelligence API • Google Inference API (Time-series forecast) • Google Job Discovery ● Very Interesting AI/ML offering and capabilities • Google Cloud Genomics (Store and process genomes and related experiments ) Source: Google Cloud

Slide 8

Slide 8

News Media Websites (Fake vs Credible)

Slide 9

Slide 9

Website Metadata Extraction Methods xvfb-run (…) wkhtmltoimage (…) lynx —dump image-scraper Pressure on Theresa May to resign will ‘increase dramatically’ following extension, warns David Davis + Review set for June 21 after Macron opposes long delay + EU already talking about possibility of further extension + Britain’s EU ambassador formally accepts extension [51]ReconstructionHow Emmanuel Macron raged against Britain’s chaotic [52]Janet DaleyAny Brexit solution with Theresa May in post is impossible [53]How long does the PM have left after being forced to accept a six month (…)

Slide 10

Slide 10

Enrich website metadata with AI/ML API Google Vision API: • Text • Labels • Safe Search • Web Entities Tusk recommends EU insist on year-long Brexit extension after MPs + PM arrives in France to meet Macron after talks with Merkel + Four Cabinet ministers rebel against vote to extend Brexit + Tusk: ‘Little reason’ to believe Brexit can be delivered by [51]ExclusiveLiam Fox tells Tory MPs that customs union will be ‘worst of [52]Daniel KawczynskiERG members are putting Brexit in jeopardy, I had no [53]Is Macron seeking his Charles de Gaulle moment over Brexit? (…) Google Natural Language API: • Analyze Sentiment • Text Classify

Slide 11

Slide 11

Enrich website metadata with AI/ML API

Slide 12

Slide 12

Scale, Aggregate, Profit vs BERLIN · HELSINKI · LONDON · MUNICH · OSLO · STOCKHOLM · TAMPERE Photo by Elijah O’Donnell on Unsplash

Slide 13

Slide 13

Interesting findings

Slide 14

Slide 14

Interesting findings

Slide 15

Slide 15

Interesting findings

Slide 16

Slide 16

Thank you! Kiitos! Danke! Tack! Bruno Almeida PRINCIPAL ARCHITECT & TECHNOLOGY ADVISOR Cloud, Security, DevOps, Data Engineering & AI Reach out on: @bruno_amaro @brunoamaroalmeida BERLIN · HELSINKI · LONDON · MUNICH · OSLO · STOCKHOLM · TAMPERE