13_Pretrained ML API's Flashcards

1
Q

Pre-trained ML models (Ready to go)

Accessed through REST APIs, no machine learning knowledge is required

  • Sight
    • Vision AI: Image recognition/analysis
    • Video AI: Video analysis, labels, shot changes, explicit content
  • Language
    • Translation AI: Dynamically detect and translate between languages.
    • Natural Language AI: Text analysis, extract information, understand sentiment
      • 3 Modes: Sentiment Analysis, Entities, Syntax
  • Conversation
    • Dialogflow: Build virtual agents and other conversational experiences
    • Cloud Text-to-Speech: Convert text to audio, multiple languages/voices, natural sounding synthesis
    • Cloud Speech-to-Text: Convert audio to text, multi-lingual support, understand sentence structure
  • Structured Data
    • AutoML Tables: Automatically build and deploy state-of-the-art machine learning models on structured data.
    • Recommendation AI: Deliver highly personalized product recommendations at scale.
    • Cloud Inference API: Quickly run large-scale correlations over typed time-series datasets.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

AutoML

  • Suite of ML products
  • Facilitates training of custom ML models
    • Pre-trained APIs but for custom models
      • Example: Identify specific geographical features
    • Supply your own data to train on
  • Serving models through the AutoML API
  • Currently available for:
    • Vision
    • Video
    • Translation
    • Natural Language
    • Structured Data - AutoML tables
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Evaluating Models on AutoML Vision

While iterating on your model, if the model’s quality levels are not up to expectations, you can go back to earlier steps to improve quality:

  • AutoML Vision allows you to sort the images by how “confused” the model is, by the true label and its predicted label. Look through these images and make sure they’re labeled correctly.
  • Consider adding more images to any labels with low quality.
  • You may need to add different types of images (e.g. wider angle, higher or lower resolution, different points of view).
  • Consider removing labels altogether if you don’t have enough training images.
  • Remember that machines can’t read your label name; it’s just a random string of letters to them. If you have one label that says “door” and another that says “door_with_knob” the machine has no way of figuring out the nuance other than the images you provide it.
  • Augment your data with more examples of true positives and negatives. Especially important examples are the ones that are close to the decision boundary (i.e. likely to produce confusion, but still correctly labeled).
  • Specify your own TRAIN, TEST, VALIDATION split. The tool randomly assigns images, but near-duplicates may end up in TRAIN and VALIDATION which could lead to overfitting and then poor performance on the TEST set.
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly