$30 off During Our Annual Pro Sale. View details »

Cloud-powered AI with GCP

Cloud-powered AI with GCP

My talk at "AI in the Cloud" at Islamabad

Sheharyar Naseer

July 18, 2019
Tweet

More Decks by Sheharyar Naseer

Other Decks in Technology

Transcript

  1. Cloud Powered AI
 with Google Cloud Pla3orm

  2. @sheharyarn ! " # Sheharyar Naseer

  3. AI is cool... • ...but how do I get sta0ed?

    • as a So4ware Developer • as a Sta0up founder • Which algorithms & frameworks? • Find data? Train models? • I just want intelligent automation
  4. ML as a Service

  5. Google Cloud Pla3orm • Data Management • Compute Services •

    Networking • Internet of Things • AI & Machine Learning
  6. Pre-trained Models with Cloud AI Building Blocks to accomplish common

    tasks Vision Video Translation Natural Language DialogFlow Text-to-Speech Speech-to-Text AutoML Recommendations Cloud Inference SIGHT LANGUAGE CONVERSATION STRUCTURED DATA
  7. Vision API • Detect Objects and Landmarks • OCR: Printed

    & HandwriSen • Detect Faces and Facial aSributes • Product Search & Logo Detection • Explicit Content Detection • Image Labelling
  8. Vision: Face Detection // Create client const vision = require('@google-cloud/vision');

    const client = new vision.ImageAnnotatorClient(); // Detect Faces const image = './my-image.jpg'; const [result] = await client.faceDetection(image); const faces = result.faceAnnotations;
  9. Vision: Label Detection // Detect Labels const [result] = await

    client.labelDetection(image); const labels = result.labelAnnotations; Labels Scores Street 0.873 Snapshot 0.852 Town 0.848 Night 0.804 Alley 0.713
  10. Natural Language API • Syntax Detection • Entity Extraction •

    Sentiment Analysis • Content ClassiVcation • Multilingual Suppo0
  11. Language: Syntax // Create client const language = require('@google-cloud/language'); const

    client = new language.LanguageServiceClient(); // Detect Syntax const document = {content: text, type: 'PLAIN_TEXT'}; const [result] = await client.analyzeSyntax({document});
  12. Language: Syntax

  13. Language: Sentiment // Analyze Sentiment const document = {content: text,

    type: 'PLAIN_TEXT'}; const [result] = await client.analyzeSentiment({document}); Sentence Score Sentiment Inception is one of the best movies of all time +0.9 Extremely Positive I think everyone should watch it +0.1 Neutral The food was really bad at that restaurant -0.9 Extremely Negative Though I enjoyed their drinks +0.7 Very Positive
  14. Language: ClassiNcation // Classify Text const document = {content: text,

    type: 'PLAIN_TEXT'}; const [result] = await client.classifyText({document}); { categories: [ { name: '/Food & Drink/Cooking & Recipes', confidence: 0.85 }, { name: '/Food & Drink/Food/Meat & Seafood', confidence: 0.63 }, ... ] }
  15. Prediction Customization

  16. AutoML • Custom Training Data & Prediction Tasks • Vision:

    Image ClassiVcation • Language: Text ClassiVcation • Google's Data Models • Customize pre-trained API • Access using REST
  17. Roll your own

  18. AI Pla3orm • Build, train & serve your own models

    • AI Pla[orm Notebooks • Integrate with BigQuery, Dataproc & Data]ow • Deep Learning Images • Tenso^low, PyTorch, Keras, etc.
  19. AI Pla3orm

  20. Thank you! Find these slides: to.shyr.io/gcp-cloud-ai ! ! # shyr.io

    ~@shyr.io sheharyarn