Decide what the system should learn or generate
Distinguish generation, prediction and pattern discovery, and choose inputs for each.
Decide what the system should learn or generate
Work through the decision
A service desk wants to forecast tomorrow's ticket count, group unfamiliar complaints and draft replies. Would one generative model be a good starting point for all three?
Check your reasoning
Use historical counts and known outcomes to evaluate a predictive model. Explore clusters on untagged tickets to discover patterns. Evaluate a generative model for drafting and have reviewers check correctness. Choose a foundation model that accepts the input modality and fits cost, privacy and context constraints.
Compare the choices
- Generate a draft
- A foundation model can produce new text, code or media from a prompt. Evaluate usefulness, accuracy and review cost on representative inputs.
- Learn from labeled examples
- Supervised learning uses input-output pairs to predict a class or value. Evaluate on held-out examples with known outcomes.
- Discover unlabeled patterns
- Unsupervised learning discovers structure such as clusters without requiring an answer label per record.
- Learn from cumulative reward
- Reinforcement learning uses feedback about sequences of decisions, with a policy optimized for cumulative reward.
Follow one case through the lifecycle
Ingest ticket events with Pub/Sub, store raw attachments in Cloud Storage and use BigQuery to prepare labeled examples. Train or select a suitable model on the managed platform, deploy a version and monitor changes in ticket mix and measured quality. A summarizer still needs factual review even when the routing classifier is accurate.
Practice the guide skills
- Name the input and required output for drafting, predicting, and classifying. Compare prompt wording, learned prompt parameters and a model that accepts several modalities. Watch 24:46
- Match labeled outcomes to supervised learning, unlabeled group discovery to unsupervised learning and sequential rewards to reinforcement learning. Watch 38:24
- Trace ingestion, preparation, training, deployment and monitoring. Match event intake to Pub/Sub, analytical preparation to BigQuery and model lifecycle work to Agent Platform. Watch 1:18:46
- Compare modality, context, privacy, reliability, latency, customization and cost using the same business examples before selecting a model. Watch 2:00:16
- Sort requests for a summary, code draft, product image and numeric forecast by the kind of output needed and how it can be checked. Watch 26:56
- Determine whether a case requires a typed transaction, a recorded call or both. Preserve their join key and access boundary. Watch 52:24
- Check which inputs are missing, stale, inconsistent, hard to obtain or expensive to refresh. Estimate their effect on the business decision. Watch 57:00
- Separate typed order totals from free-text descriptions and audio recordings. Choose a preparation step for each. Watch 53:20
- Identify which examples carry verified targets and which have only observations. Choose an appropriate learning or evaluation use. Watch 55:10
Official objectives for this lesson
Related lesson · Choose how to build a Google Cloud AI solution
Decide what the system should learn or generate quiz
Answer 3 questions. Check each answer for an explanation.